Description:
Currently, there is no way for users to quickly see the available command-line options and usage instructions without launching the TUI. Adding a standard --help flag would improve usability and make the tool more familiar to users of command-line applications.
Current Behavior:
The application does not have a --help or -h flag to display usage information.
Desired Behavior:
When a user runs gitx --help or gitx -h, the application should print a helpful message outlining the available commands and options, and then exit gracefully without launching the main TUI.
Example of Desired Output:
$ gitx --help
gitx - A Git TUI Helper
Usage: gitx [options]
Options:
-v, --version Show version information
-h, --help Show this help message
Run 'gitx' inside a Git repository to start the TUI.
PR Acceptance Criteria:
Description:
Currently, there is no way for users to quickly see the available command-line options and usage instructions without launching the TUI. Adding a standard --help flag would improve usability and make the tool more familiar to users of command-line applications.
Current Behavior:
The application does not have a --help or -h flag to display usage information.
Desired Behavior:
When a user runs gitx --help or gitx -h, the application should print a helpful message outlining the available commands and options, and then exit gracefully without launching the main TUI.
Example of Desired Output:
PR Acceptance Criteria: