mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-07 03:35:35 +00:00

+ 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
20 lines
535 B
Python
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
|
|
"""
|