Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CLI Structure Using Command Pattern for Better Organization #571

Open
eDeveloperOZ opened this issue Dec 10, 2024 · 0 comments
Open

Comments

@eDeveloperOZ
Copy link

Description:
Currently, the CLI argument parsing is scattered across different files with each implementing its own parser logic. This makes the codebase harder to maintain, test, and extend.

We should refactor the CLI structure to use the Command Pattern, This would:

Benefits:

  • Provide a single consistent way to handle CLI commands
  • Make adding new commands easier without modifying existing code
  • Improve testability by isolating command logic
  • Reduce code duplication
  • Make the codebase more maintainable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant