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

Add function making a key-value CLI string for a given StdParams and its value #79

Closed
ahsimb opened this issue Oct 11, 2024 · 0 comments · Fixed by #80
Closed

Add function making a key-value CLI string for a given StdParams and its value #79

ahsimb opened this issue Oct 11, 2024 · 0 comments · Fixed by #80
Assignees
Labels
feature Product feature

Comments

@ahsimb
Copy link
Collaborator

ahsimb commented Oct 11, 2024

The output should depend on the value type. Below are a few examples:

StdParams.db_user, "Matias" -> '--db-user "Matias"'
StdParams.use_ssl_cert_validation, True -> '--use-ssl-cert-validation'
StdParams.use_ssl_cert_validation, False -> '--no-use-ssl-cert-validation'

@ahsimb ahsimb added the feature Product feature label Oct 11, 2024
@ahsimb ahsimb self-assigned this Oct 11, 2024
ahsimb added a commit that referenced this issue Oct 11, 2024
ahsimb added a commit that referenced this issue Oct 14, 2024
* Add documentation build folder to .gitignore

* #79 Improvements in std_options.py

* #79 Added kwargs_to_cli_args and used it in testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant