📝 make CLI docs consistent

This commit is contained in:
oskvr37
2025-02-09 00:14:44 +01:00
parent 9de7e3224b
commit 5a07a8aefb
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ from tiddl.config import HOME_PATH
"--no-cache", "-nc", is_flag=True, help="Omit Tidal API requests caching."
)
def cli(ctx: Context, verbose: bool, quiet: bool, no_cache: bool):
"""TIDDL - Download Tidal tracks \u266b"""
"""TIDDL - Tidal Downloader \u266b"""
ctx.obj = ContextObj(omit_cache=no_cache)
# latest logs
+1 -1
View File
@@ -14,7 +14,7 @@ logger = logging.getLogger(__name__)
@click.group("auth")
def AuthGroup():
"""Manage Tidal token"""
"""Manage Tidal token."""
@AuthGroup.command("login")
+1 -1
View File
@@ -11,7 +11,7 @@ from tiddl.config import CONFIG_PATH
help="Open the configuration file with the default editor",
)
def ConfigCommand(open: bool):
"""Print path to the configuration file"""
"""Print path to the configuration file."""
click.echo(str(CONFIG_PATH))
+1 -1
View File
@@ -16,7 +16,7 @@ ResourceTypeList: list[ResourceTypeLiteral] = ["track", "video", "album", "artis
)
@passContext
def FavGroup(ctx: Context, resource_types: list[ResourceTypeLiteral]):
"""Get your Tidal favorites"""
"""Get your Tidal favorites."""
api = ctx.obj.getApi()
+1 -1
View File
@@ -12,7 +12,7 @@ from tiddl.utils import TidalResource
@click.argument("filename", type=click.File(mode="r"))
@passContext
def FileGroup(ctx: Context, filename: TextIOWrapper):
"""Parse txt or JSON file with urls"""
"""Parse txt or JSON file with urls."""
_, extension = splitext(filename.name)
+1 -1
View File
@@ -10,7 +10,7 @@ from ..ctx import Context, passContext
@click.argument("query")
@passContext
def SearchGroup(ctx: Context, query: str):
"""Search on Tidal"""
"""Search on Tidal."""
# TODO: give user interactive choice what to select