Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

README.md 1.8 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # LessPass command-line interface (CLI)
  2. ## Install
  3. python3 -m pip install --user lesspass
  4. ## Usage
  5. lesspass SITE [LOGIN] [MASTER_PASSWORD] [OPTIONS]
  6. Arguments:
  7. SITE site used in the password generation (required)
  8. LOGIN login used in the password generation
  9. default to '' if not provided
  10. MASTER_PASSWORD master password used in password generation
  11. default to LESSPASS_MASTER_PASSWORD env variable or prompt
  12. Options:
  13. -l, --lowercase add lowercase in password
  14. -u, --uppercase add uppercase in password
  15. -d, --digits add digits in password
  16. -s, --symbols add symbols in password
  17. -L, --length int (default 16, max 35)
  18. -C, --counter int (default 1)
  19. -p, --prompt interactively prompt SITE and LOGIN (prevent leak to shell history)
  20. --no-lowercase remove lowercase from password
  21. --no-uppercase remove uppercase from password
  22. --no-digits remove digits from password
  23. --no-symbols remove symbols from password
  24. --exclude remove chars from password
  25. -c, --clipboard copy generated password to clipboard rather than displaying it.
  26. Need pbcopy (OSX), xsel or xclip (Linux) or clip (Windows).
  27. -v, --version lesspass version number
  28. ## Examples
  29. ### no symbols
  30. lesspass site login masterpassword --no-symbols
  31. ### no symbols shortcut
  32. lesspass site login masterpassword -lud
  33. ### only digits and length of 8
  34. lesspass site login masterpassword -d -L8
  35. ### master password in env variable
  36. LESSPASS_MASTER_PASSWORD="masterpassword" lesspass site login
  37. ## License
  38. This project is licensed under the terms of the GNU GPLv3.