npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@kennys_wang/pm-cli

v1.1.1-alpha.0

Published

密码管理命令行工具

Downloads

3

Readme

@kennys_wang/pm-cli

密码管理命令行工具

Install

yarn global add @kennys_wang/pm-cli
npm install @kennys_wang/pm-cli -g

Usage

$ pm [<options> ...]

Options

1. none options

展示所有账号列表,会根据面板名称分表格展示。此时显示的密码是星号,如果需要查看真实密码,请使用--show命令。

$ pm
@New Board (1)
┌────┬───────────┬──────────┬───────────┬─────────────┐
│ ID │ Account   │ Password │ Board     │ Remark      │
├────┼───────────┼──────────┼───────────┼─────────────┤
│ 1  │ [email protected] │ ******   │ New Board │ test remark │
└────┴───────────┴──────────┴───────────┴─────────────┘

@My Board (2)
┌────┬───────────┬──────────┬──────────┬────────┐
│ ID │ Account   │ Password │ Board    │ Remark │
├────┼───────────┼──────────┼──────────┼────────┤
│ 2  │ [email protected] │ ******   │ My Board │        │
│ 3  │ [email protected] │ ******   │ My Board │        │
└────┴───────────┴──────────┴──────────┴────────┘

2. --create or -c

创建一个新的账号密码并加密存储;可以使用@borad-name区分账号放置的面板。如不设置面板则放置到默认的My Board下。

$ pm --create [email protected] 123456 # 放置到默认面板中
$ pm --create @custom-borad [email protected] 123456 # 放置到自定义面板中

3. --delete or -d

根据给定id删除账号信息。

$ pm --delete 1

4. --copy or -y

根据给定id复制密码到粘贴板,:复制到粘贴板的密码是已经被解密的密码。

$ pm --copy 1

5. --show or -s

根据给定id在命令行显示密码,:复制到粘贴板的密码是已经被解密的密码。

$ pm --show 1

6. --remark or -k

根据给定id为账号设置备注。

$ pm --remark 1 this is my qq account

7. --help or -h

显示帮助信息。

$ pm --help

8. --find or -f

根据账号信息或者备注信息的关键字搜索账号。此时展示的密码是星号,如果需要查看真实密码,请使用--show

$ pm --find qq.com

9. --move or -m

将给定id的账号移动到目标面板中。

$ pm --move @1 xiaoming # 将id为1的账号移动到xiaoming面板中,这里的面板是否已经存在都无所谓

10. archive or -a

展示已经被删除的所有账号

$ pm --archive

11. --edit or -e

根据给定id修改密码。

$ pm --edit @1 654321

12. --restore or -r

根据给定id恢复已经被删除的账号。可以是多个id

$ pm --restore 4 5

13. --version or -v

展示当前@kennys_wang/pm-cli的版本信息

$ pm --version

14. --clean or -n

彻底清除已经被删除的账号。:此操作无法撤回。

$ pm --clean