25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

readme.md 2.0 KiB

8 년 전
8 년 전
8 년 전
8 년 전
8 년 전
8 년 전
8 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. [![Build Status](https://travis-ci.org/lesspass/cli.svg?branch=master)](https://travis-ci.org/lesspass/cli)
  2. > build LessPass passwords directly in command line with nodejs
  3. ## Install
  4. ```
  5. $ npm install --global lesspass-cli
  6. ```
  7. ## Usage
  8. ```
  9. $ lesspass --help
  10. build LessPass passwords directly in command line
  11. Usage
  12. $ lesspass <site> <login> [masterPassword] [options]
  13. Options
  14. -l add lowercase in password
  15. -u add uppercase in password
  16. -d add digits in password
  17. -s add symbols in password
  18. --no-lowercase remove lowercase from password
  19. --no-uppercase remove uppercase from password
  20. --no-digits remove digits from password
  21. --no-symbols remove symbols from password
  22. --length, -L int (default 16)
  23. --counter, -c int (default 1)
  24. --clipboard, -C copy generated password to clipboard rather than displaying it.
  25. Need pbcopy (OSX), xclip (Linux) or clip (Windows).
  26. Examples
  27. # no symbols
  28. $ lesspass lesspass.com contact@lesspass.com password --no-symbols
  29. OlfK63bmUhqrGODR
  30. # no symbols shortcut
  31. $ lesspass lesspass.com contact@lesspass.com password -lud
  32. OlfK63bmUhqrGODR
  33. # only digits and length of 8
  34. $ lesspass lesspass.com contact@lesspass.com -d -L8
  35. master password:
  36. 75837019
  37. ```
  38. ## FAQ
  39. ### How can I generate a password if I have a quote (`'`) in my master password ?
  40. Escape the quote like this :
  41. lesspass lesspass.com contact@lesspass.com 'my parents'\'' house is great'
  42. Replace `'` by `'\''`
  43. ### password prompt
  44. If you omit master password, lesspass-cli will ask you a master password:
  45. lesspass lesspass.com contact@lesspass.com --length=14
  46. master password:
  47. ## License
  48. This project is licensed under the terms of the GNU GPLv3.
  49. ## Issues
  50. report issues on [LessPass project](https://github.com/lesspass/lesspass/issues)