您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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-fingerprint hide visual fingerprint of the master password when you type
  21. --no-lowercase remove lowercase from password
  22. --no-uppercase remove uppercase from password
  23. --no-digits remove digits from password
  24. --no-symbols remove symbols from password
  25. --exclude remove chars from password
  26. -c, --clipboard copy generated password to clipboard rather than displaying it.
  27. Need pbcopy (OSX), xsel or xclip (Linux) or clip (Windows).
  28. -v, --version lesspass version number
  29. ## Examples
  30. ### no symbols
  31. lesspass site login masterpassword --no-symbols
  32. ### no symbols shortcut
  33. lesspass site login masterpassword -lud
  34. ### only digits and length of 8
  35. lesspass site login masterpassword -d -L8
  36. ### master password in env variable
  37. LESSPASS_MASTER_PASSWORD="masterpassword" lesspass site login
  38. ## License
  39. This project is licensed under the terms of the GNU GPLv3.