Skip to content

Use args for CLI parameters #244

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Use args for CLI parameters #244

wants to merge 4 commits into from

Conversation

philipp94831
Copy link
Member

No description provided.

@philipp94831 philipp94831 self-assigned this Jul 22, 2024
@@ -27,7 +27,10 @@ streams:
# role: output

commandLine: {}
# MY_CLI_PARAM: "foo-bar"
# --my-cli-param: "foo-bar"
commandLineList: []
Copy link
Member Author

Choose a reason for hiding this comment

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

I added this in order to also pass parameters that are not just key-value pairs (e.g. flags like --large-messages). However, the map config is more suitable if one needs to merge multiple value files because maps do get merged and params can be overriden while lists are fully replaced. Should we rename the configs maybe? args.map and args.list?

@philipp94831 philipp94831 deleted the branch master March 12, 2025 08:28
@philipp94831 philipp94831 reopened this Mar 12, 2025
@philipp94831 philipp94831 changed the base branch from v3 to master March 12, 2025 08:32
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.

1 participant