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

Improve -t and -y flags #34

Open
JohannesWiesner opened this issue Mar 3, 2023 · 0 comments
Open

Improve -t and -y flags #34

JohannesWiesner opened this issue Mar 3, 2023 · 0 comments

Comments

@JohannesWiesner
Copy link
Owner

JohannesWiesner commented Mar 3, 2023

Currently, when setting the -t flag, the script will always use test.yml as input but it should be possible to hav all these options:

1.) Test mode with environment.yml
2.) Test mode with custom .yml file provided with -y
3.) No test mode with environment.yml
4.) No test mode custom .yml file provided with -y

I think this could be solved with nested getopts.

  • When -t is provided without -y, always fall back to test.yml
  • When -y is provided without -t, always fall back to no running testing mode
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