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

Cannot pass configs from commandline #138

Open
claudiu-cristea opened this issue Jun 16, 2020 · 1 comment
Open

Cannot pass configs from commandline #138

claudiu-cristea opened this issue Jun 16, 2020 · 1 comment

Comments

@claudiu-cristea
Copy link
Contributor

claudiu-cristea commented Jun 16, 2020

Suppose this dynamic command in runner.yml:

some:
  config: 1
commands:
  some:command:
    - echo "Value is ${some.config}"

Theoretically, it should be possible to set a config on runtime, in this way:

./vendor/bin/run some:command -Dsome.config=2

Which you expect to echo: Value is 2

But it doesn't work!

@geek-merlin
Copy link

Yes i also noted this is documented somewhere (forgot where) but does not work.

Re-thinking it, i prefer the explicit way of having command args and options update defined places in config, so proposing WONTFIX.

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

2 participants