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

cli: ability to specify a config profile as a flag #19318

Closed
russorat opened this issue Aug 12, 2020 · 1 comment · Fixed by #19334
Closed

cli: ability to specify a config profile as a flag #19318

russorat opened this issue Aug 12, 2020 · 1 comment · Fixed by #19334

Comments

@russorat
Copy link
Contributor

when working across instances, sometimes you would like to pull from one and write to another. it would be great if you could do something like:

influx query "from" --config dev | influx write --config prod

or

influx export stack $STACK_ID | influx apply --active-config us-west

@jsteenb2
Copy link
Contributor

I'm largely in favor of --active-config with a -c short. The --active-config makes it very clear. And it disambiguates with the places where we have existing --config flags (influx config [cmd] commands)

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 a pull request may close this issue.

2 participants