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 to use click groups and commands #73

Open
3 tasks
thekaveman opened this issue Dec 20, 2024 · 0 comments
Open
3 tasks

Refactor CLI to use click groups and commands #73

thekaveman opened this issue Dec 20, 2024 · 0 comments
Labels
chore Admin tasks, refactoring, etc. cli New command line interface feature implementation or refactor

Comments

@thekaveman
Copy link
Member

thekaveman commented Dec 20, 2024

See the click documentation.

This would help cut down on code/duplication and simplify testing.

Somewhat related to #51.

Acceptance criteria

  • No more usage of argparse and manual argument construction
  • All commands defined as @click.command (or @click.group as necessary)
  • No loss of CLI functionality -- all existing commands/arguments/etc. should still work the exact same
@thekaveman thekaveman added the cli New command line interface feature implementation or refactor label Dec 20, 2024
@thekaveman thekaveman moved this from Todo to Stretch in Digital Services Dec 20, 2024
@thekaveman thekaveman added the chore Admin tasks, refactoring, etc. label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Admin tasks, refactoring, etc. cli New command line interface feature implementation or refactor
Projects
Status: Stretch
Development

No branches or pull requests

1 participant