Selaa lähdekoodia

Add long description back

pull/443/head
pbaity 5 vuotta sitten
committed by Guillaume Vincent
vanhempi
commit
a40837fd4c
2 muutettua tiedostoa jossa 51 lisäystä ja 3 poistoa
  1. +49
    -1
      cli/lesspass/__init__.py
  2. +2
    -2
      cli/setup.py

+ 49
- 1
cli/lesspass/__init__.py Näytä tiedosto

@@ -1,2 +1,50 @@
name = "lesspass"
description = "LessPass is a stateless password manager."
description = "LessPass is a stateless password manager."
long_description = """Name:

LessPass - stateless password generator

Usage:

lesspass SITE [LOGIN] [MASTER_PASSWORD] [OPTIONS]

Arguments:

SITE site used in the password generation (required)
LOGIN login used in the password generation
default to '' if not provided
MASTER_PASSWORD master password used in password generation
default to LESSPASS_MASTER_PASSWORD env variable or prompt

Options:

-l, --lowercase add lowercase in password
-u, --uppercase add uppercase in password
-d, --digits add digits in password
-s, --symbols add symbols in password
-L, --length int (default 16, max 35)
-C, --counter int (default 1)
-p, --prompt interactively prompt SITE and LOGIN (prevent leak to shell history)
--no-lowercase remove lowercase from password
--no-uppercase remove uppercase from password
--no-digits remove digits from password
--no-symbols remove symbols from password
-c, --clipboard copy generated password to clipboard rather than displaying it.
Need pbcopy (OSX), xsel or xclip (Linux) or clip (Windows).
-v, --version lesspass version number

Examples:

# no symbols
lesspass site login masterpassword --no-symbols
# no symbols shortcut
lesspass site login masterpassword -lud
# only digits and length of 8
lesspass site login masterpassword -d -L8
# master password in env variable
LESSPASS_MASTER_PASSWORD="masterpassword" lesspass site login

Copyright:

Copyright © 2018 Guillaume Vincent <contact@lesspass.com>. License GPLv3: GNU GPL version 3 <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law."""

+ 2
- 2
cli/setup.py Näytä tiedosto

@@ -1,7 +1,7 @@
import setuptools

from lesspass.version import __version__
from lesspass import description
from lesspass import long_description


setuptools.setup(
@@ -11,7 +11,7 @@ setuptools.setup(
author='Guillaume Vincent',
author_email='contact@lesspass.com',
description='LessPass stateless password generator',
long_description=description,
long_description=long_description,
install_requires=[],
entry_points="""
[console_scripts]


Ladataan…
Peruuta
Tallenna