diff options
| author | Fuwn <[email protected]> | 2025-07-07 02:43:30 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-07-07 02:43:30 -0700 |
| commit | fb0337906b7e8a604e2f71f4a8289aa96086ff4d (patch) | |
| tree | 7d5637a22e30d4f2e1c706f7e2cfe8e8fc71baa9 /src | |
| parent | style: Replace Black with YAPF (diff) | |
| download | oguri-fb0337906b7e8a604e2f71f4a8289aa96086ff4d.tar.xz oguri-fb0337906b7e8a604e2f71f4a8289aa96086ff4d.zip | |
feat(cli): Shorten help strings
Diffstat (limited to 'src')
| -rw-r--r-- | src/oguri/cli.py | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/oguri/cli.py b/src/oguri/cli.py index 5a5fbd3..bbb8222 100644 --- a/src/oguri/cli.py +++ b/src/oguri/cli.py @@ -7,26 +7,22 @@ from . import constants @click.group(cls=ClickAliasedGroup) def cli(): - """A command-line tool for AniList""" + """Command-line tool for AniList""" pass @cli.command(aliases=["s"]) @click.argument("day", required=False, default="today") - "--reverse", is_flag=True, help="Reverse the order of the schedule") - "--exact", - is_flag=True, - help="Show exact airing times instead of relative times") [email protected]("--reverse", is_flag=True, help="Reverse schedule order") [email protected]("--exact", is_flag=True, help="Show exact airing times") @click.option("--first", is_flag=True, help="Show only first airing episodes") @click.option( "--sort", "sort_by", type=click.Choice(["time", "episode"], case_sensitive=False), default="time", - help="Sort the schedule by time or episode", + help="Sort schedule by time or episode", ) @click.option( "--country", @@ -34,7 +30,7 @@ def cli(): multiple=True, type=click.Choice(constants.COUNTRIES, case_sensitive=False), default=constants.COUNTRIES, - help="Filter by country of origin. Can be used multiple times (default: JP, KR, CN)", + help="Filter by country of origin. Can be used multiple times.", ) @click.option("--episode", type=int, help="Filter by episode number") @click.option( @@ -77,10 +73,7 @@ def schedule( month, genres, ): - """Shows the airing schedule for a given day - - DAY can be "today", "tomorrow", "yesterday", or an integer representing the number of days from now. - """ + """Show the airing schedule for a given day or selection""" days_offset = 0 |