0.1.6 • Published 2 years ago

passwrd v0.1.6

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

passwrd

npm Downloads License

Usage

$ npm install -g passwrd
$ passwrd COMMAND
running command...
$ passwrd (-v|--version|version)
passwrd/0.1.6 win32-x64 node-v16.13.0
$ passwrd --help [COMMAND]
USAGE
  $ passwrd COMMAND
...

Commands

passwrd auth:2fa:add

This will add 2 Factor Authentication to your account

USAGE
  $ passwrd auth:2fa:add

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ passwrd auth:2fa:add

  ? Type username ...
  ? Type password ...

  SUCCESS Logged in!

See code: src/commands/auth/2fa/add.ts

passwrd auth:2fa:rem

Remove 2fa for your account! Beware, this will make your account much less secure!

USAGE
  $ passwrd auth:2fa:rem

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ passwrd auth:2fa:rem

  ? Type username ...
  ? Type password ...
  ? Enter security code ...

  SUCCESS Done!

See code: src/commands/auth/2fa/rem.ts

passwrd auth:login

Logs you in, you will automatically logged out after 15 mins

USAGE
  $ passwrd auth:login

OPTIONS
  -h, --help               show CLI help
  -u, --username=username  This is the username to log in with

EXAMPLE
  $ passwrd auth:login

  ? Type username ...
  ? Type password ...

  SUCCESS Logged in!

See code: src/commands/auth/login.ts

passwrd auth:logout

This command logs you out

USAGE
  $ passwrd auth:logout

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ passwrd auth:logout

  INFO You are now logged out!

See code: src/commands/auth/logout.ts

passwrd auth:register

Create an account with this command

USAGE
  $ passwrd auth:register

OPTIONS
  -h, --help               show CLI help
  -u, --username=username  This is the username to log in with

EXAMPLE
  $ passwrd auth:register

  ? Type username ...
  ? Type password ...

  SUCCESS Done!

See code: src/commands/auth/register.ts

passwrd autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ passwrd autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ passwrd autocomplete
  $ passwrd autocomplete bash
  $ passwrd autocomplete zsh
  $ passwrd autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

passwrd commands

list all the commands

USAGE
  $ passwrd commands

OPTIONS
  -h, --help              show CLI help
  -j, --json              display unfiltered api data in json format
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --hidden                show hidden commands
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

See code: @oclif/plugin-commands

passwrd cre:add

Add credentials so you don't have to remember them!

USAGE
  $ passwrd cre:add

OPTIONS
  -h, --help               show CLI help
  -u, --username=username  what username that should be added
  -w, --website=website    What website you want to add

EXAMPLE
  $ passwrd cre:add

  ? What website  to store ...
  ? What username to store ...
  ? What password to store ...

  SUCCESS Website has been created!

See code: src/commands/cre/add.ts

passwrd cre:list

Gets you all the credentials!

USAGE
  $ passwrd cre:list

OPTIONS
  -h, --help  show CLI help
  --all       This shows the passwords

EXAMPLE
  $ passwrd cre:get

  [Table full of data]

See code: src/commands/cre/list.ts

passwrd cre:rem

Delete one/many saved credentials

USAGE
  $ passwrd cre:rem

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ passwrd cre:del

  ? Which websites do you want to delete ...

  SUCCESS Deleted websites

See code: src/commands/cre/rem.ts

passwrd help [COMMAND]

display help for passwrd

USAGE
  $ passwrd help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

passwrd ping

This will check the status of the server.

USAGE
  $ passwrd ping

See code: src/commands/ping.ts

passwrd whoami

This will show who is logged in

USAGE
  $ passwrd whoami

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ passwrd whoami

  [Logged in user]

See code: src/commands/whoami.ts