mirror of
https://github.com/Emersont1/itchio.git
synced 2026-03-11 08:54:39 +00:00
Fix pylint errors
Add missing docstring to the two CLI tools. Limit the length of strings.
This commit is contained in:
parent
31957f40f0
commit
f2d70466dc
2 changed files with 12 additions and 2 deletions
|
|
@ -3,6 +3,8 @@ import itchiodl
|
|||
|
||||
|
||||
def main():
|
||||
"""CLI tool to at all games in a bundle to your library."""
|
||||
|
||||
user = input("Username: ")
|
||||
password = getpass("Password: ")
|
||||
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ import itchiodl
|
|||
|
||||
|
||||
def main():
|
||||
"""CLI tool to download all games in your library."""
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
prog="itch-download", description="Download / archive your itch.io library."
|
||||
)
|
||||
|
|
@ -17,7 +19,10 @@ def main():
|
|||
parser.add_argument(
|
||||
"-p",
|
||||
"--platform",
|
||||
help="Platform to download for (default: all), will accept values like 'windows', 'linux', 'osx' and android",
|
||||
help=(
|
||||
"Platform to download for (default: all), will accept values like 'windows', 'linux', "
|
||||
"'osx' and android"
|
||||
),
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
|
|
@ -26,7 +31,10 @@ def main():
|
|||
default=False,
|
||||
const=True,
|
||||
nargs="?",
|
||||
help="Download Folders are named based on the full text version of the title instead of the trimmed URL title",
|
||||
help=(
|
||||
"Download Folders are named based on the full text version of the title instead of "
|
||||
"the trimmed URL title"
|
||||
),
|
||||
)
|
||||
|
||||
parser.add_argument(
|
||||
|
|
|
|||
Loading…
Reference in a new issue