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

Turn the "--models" CLI option into an argument #1323

Merged
merged 2 commits into from
Nov 8, 2022

Conversation

kopackiw
Copy link
Contributor

@kopackiw kopackiw commented Nov 7, 2022

This PR removes the --model flag in the CLI in favour of an optional model argument.
Tested locally on custom inputs & examples from the documentation - no regression found.

Closes #1272

@kopackiw kopackiw requested a review from hannobraun as a code owner November 7, 2022 22:52
@@ -1,9 +1,9 @@
# The default path that models are loaded from. If the `--model` argument is a
# The default path that models are loaded from. If the `model` argument is a
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question to consider: should we uppercase any names of CLI arguments used in the documentation (as it is formatted now in help)?

Screenshot 2022-11-07 at 23 54 35

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! Yes, I think we should.

(Still going to merge this as-is though. This is not critical and can always be done in a follow-up PR.)

Copy link
Owner

@hannobraun hannobraun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @kopackiw, this is great!

@@ -1,9 +1,9 @@
# The default path that models are loaded from. If the `--model` argument is a
# The default path that models are loaded from. If the `model` argument is a
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! Yes, I think we should.

(Still going to merge this as-is though. This is not critical and can always be done in a follow-up PR.)

@hannobraun hannobraun merged commit 2c8cc2a into hannobraun:main Nov 8, 2022
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 this pull request may close these issues.

Remove -m/--model
2 participants