You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.7 KiB

5 vuotta sitten
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. -c, --clipboard copy generated password to clipboard rather than displaying it.
  25. Need pbcopy (OSX), xsel or xclip (Linux) or clip (Windows).
  26. -v, --version lesspass version number
  27. ## Examples
  28. ### no symbols
  29. lesspass site login masterpassword --no-symbols
  30. ### no symbols shortcut
  31. lesspass site login masterpassword -lud
  32. ### only digits and length of 8
  33. lesspass site login masterpassword -d -L8
  34. ### master password in env variable
  35. LESSPASS_MASTER_PASSWORD="masterpassword" lesspass site login
  36. ## License
  37. This project is licensed under the terms of the GNU GPLv3.