swingmusic/app/print_help.py
geoffrey45 9bfc1ceed2 add --config flag to modify config path
+ use getters instead of constants in settings classes
+ refactor previous references
+ move get_xdg_config_dir() from settings.py to app.utils.xdg_utils.py
2023-04-17 02:21:42 +03:00

20 lines
535 B
Python

from app.settings import ALLARGS
args = ALLARGS
HELP_MESSAGE = f"""
Usage: swingmusic [options]
Options:
{args.build}: Build the application (in development)
{args.host}: Set the host
{args.port}: Set the port
{args.config}: Set the config path
{', '.join(args.show_feat)}: Do not extract featured artists from the song title
{', '.join(args.show_prod)}: Do not hide producers in the song title
{', '.join(args.help)}: Show this help message
{', '.join(args.version)}: Show the app version
"""