bndw/pick

Add command to change the master password

leonklingele opened this issue · 6 comments

A command to change the safe's master password would be nice.

bndw commented

👍 Any ideas on a command name for that one?

Yeah, I thought about that too. No idea.
Maybe $ pick safe password?

bndw commented

Adding a safe command, with children commands is an interesting idea.

This would potentially abstract less-used commands, keeping the top level CLI more streamlined. I could imagine sticking the backup and export commands in there, too.

$ pick --help
Available Commands:
  add         Add a credential
  cat         Cat a credential
  cp          Copy a credential to the clipboard
  ls          List all credentials
  rm          Remove a credential
  safe        Safe things....
  version     Print the version number of pick
...
$ pick safe --help
The safe command is used to perform operations on the safe

Available Commands:
  backup      Backup the safe
  export      Export decrypted credentials in JSON format
  password      Change the master password of the safe

I'm not sure this is a good idea, but it's a thought.

I like the idea. Should I implement it?

bndw commented

Sure!

Merged to develop 🐳