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

Implement scaffolding for CLI #3

Closed
drewoldag opened this issue Aug 7, 2024 · 0 comments · Fixed by #4
Closed

Implement scaffolding for CLI #3

drewoldag opened this issue Aug 7, 2024 · 0 comments · Fixed by #4
Assignees

Comments

@drewoldag
Copy link
Collaborator

We need some basic scaffolding to start hanging the rest of the code on, and we need to make sure things are working nicely out of the box.

Taking strong inspiration from Sorcha's CLI work here: https://github.com/dirac-institute/sorcha/blob/main/src/sorcha_cmdline/main.py

We can have a fibad_cli.main.py file that supports basic arg parsing, and dispatching to the correct fibad action. Then we the actions can handle additional, action-specific arg parsing if needed, and then pass the args through to the fibad execution layer.

This separation means that testing should be easier, we can separate the CLI from the testing if nothing else.

@drewoldag drewoldag self-assigned this Aug 7, 2024
@drewoldag drewoldag linked a pull request Aug 7, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant