Parse the arguments, read the passwd file, execute the given command (get
,
add
, ...).
keypr_main(raw_cmd_args = NULL, passphrase = NULL)
Command-line arguments as a string, as recognized by
docopt
. See -h
usage screen.
A passphrase to the encrypted passwd. Only for testing.
An error code: 0 if no errors, > 0 otherwise.
if (FALSE) {
keypr_main(c('--password_length', '12', 'add', 'brin@gmail.com', 'google.com'))
}