Guillaume Vincent b687913f04 | há 8 anos | |
---|---|---|
.gitignore | há 8 anos | |
.travis.yml | há 8 anos | |
ISSUE_TEMPLATE | há 8 anos | |
cli.js | há 8 anos | |
license | há 8 anos | |
package.json | há 8 anos | |
readme.md | há 8 anos | |
test.js | há 8 anos |
build LessPass passwords directly in command line with nodejs
$ npm install --global lesspass-cli
$ lesspass --help
build LessPass passwords directly in command line
Usage
$ lesspass <site> <login> <masterPassword>
Options
--lowercase, -l true or false (default true)
--uppercase, -u true or false (default true)
--symbols, -s true or false (default true)
--numbers, -n true or false (default true)
--length, -L int (default 12)
--counter, -c int (default 1)
Examples
$ lesspass lesspass.com contact@lesspass.com 'my Master Password' --length=14 -s=false
onAV7eqIM1arOZ
How can I generate a password if I have a quote ('
) in my master password ?
Escape the quote like this :
lesspass lesspass.com contact@lesspass.com 'my parents'\'' house is great'
Replace '
by '\''
MIT © Guillaume Vincent