GetStream / stream-cli

Configure & manage Stream applications from the command line. 🚀
https://yarnpkg.com/en/package/getstream-cli
BSD 3-Clause "New" or "Revised" License
85 stars 19 forks source link

Ability to supporrt multiple environments / configs #62

Closed sukrit007 closed 2 years ago

sukrit007 commented 3 years ago

In our use case, we have multiple environments, and to switch environments, we need to rename file ~/.config/getstream-cli/config.json , and copy over file for the new environment.

Is there a simpler way that this can be achieved? (Possibly a CLI option to pass config location or may be setting up different profiles like AWS CLI) ?

gz#10827

Dan-Homerick-on24 commented 3 years ago

Came here to request this as well. I can certainly write a little shell script to swap config files, but would much rather be able to specify my config file location as an option.

peterdeme commented 2 years ago

This is now supported in v1.0.0 ✅