The CLI previously always started full app initialization (config load, listener setup, receiver construction, and debug output) even when invoked with `-h`, `--help`, `-v`, or `--version`. That made basic introspection noisy and buried the requested output in startup logs. Add early argument checks in `main()` so help/version requests are handled immediately and the process exits without starting the app. Introduce a small `print_help()` helper for consistent usage output. This improves terminal UX and makes debugging/invocation checks much clearer by keeping `-h` and `-v` output focused and predictable. |
||
|---|---|---|
| .. | ||
| config | ||
| mpd | ||
| playback | ||
| receivers | ||
| song | ||
| tools | ||
| __init__.py | ||
| cache.py | ||
| cli.py | ||
| player.py | ||
| py.typed | ||
| song_receiver.py | ||