-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The current CLI implementation in Application.java is responsible for both parsing command-line arguments and executing commands, without separating these concerns.
I propose refactoring the CLI to use a command pattern:
- Add a
CLICommandinterface and implement separate commands for--help,--version, and main execution logic. - Introduce a dispatcher (e.g.
CLICommandsclass) to select and execute the appropriate command based on input arguments. - Improve error handling by adding a custom
CLIExceptionfor CLI-specific errors.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working