-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add CLI #479
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. One request: can you either exclude this from coveralls calculations, or add a test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, one more request: rather than a real tempfile can you use https://docs.python.org/3/library/tempfile.html ? Then even if the test is interrupted the file gets cleaned up. You can use it within a with statement.
I actually started using the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense!
Add a CLI using
typer
. The dependencies will not be installed by default but are included as extrascli
. So to run the CLInuztf
has to be installed viapoetry install -E cli
.The command is
nuztf
and documentation is provided in the help messagenuztf --help
and the README.