Guillaume Vincent b687913f04 | 8 lat temu | |
---|---|---|
.gitignore | 8 lat temu | |
.travis.yml | 8 lat temu | |
ISSUE_TEMPLATE | 8 lat temu | |
cli.js | 8 lat temu | |
license | 8 lat temu | |
package.json | 8 lat temu | |
readme.md | 8 lat temu | |
test.js | 8 lat temu |
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