Commits


adjust usage to print the available commands too


drop the pod and adjust usage()


allow to delete an arbitrary number of items


assume 'find' by default


use // instead of || in a few places


typo


tweak and fix the 'creating a password store' example


plass tee: print the password only if 'got ci' succeeded


drop extra chdirs


update usage strigs


drop the 'regen' command too 'gen' now is happy to override files. since we're using a version control system anyway, there's no point in being picky about changing files. If one overrides a password by mistake, the old one is still available thanks to got.


rework got_* error handling again


remove the 'oneshot' command and augment 'gen' gen now has a -n option for no-op that avoids persisting the password and now prints the generated password by default. This comes in handy in various cases, for example now it's possible to: $ plass gen foobar | clip A foobar2.gpg Created commit c1d55a274bd28103271a7e4d0c4f83266fc14926 Like the 'tee' subcommand, add -q to suppress printing the password if desired.


tweak error handling in got_* while here also add a comment in got so I don't forget why I'm doing an open(-|).


replace the 'write' subcommand with 'tee' tee allows to create pipelines and handy one-liners: $ password-generator | plass tee foo | clip A foo.gpg Created commit xyz to accomodate it, the output from 'got commit' is redirected to stderr so it doesn't interfere with the flow of the data.