gridscale / gscloud

The official command-line interface for the gridscale API
https://gridscale.io/
MIT License
16 stars 8 forks source link

Add env variable to control account (#138) #142

Closed JanLukasGithub closed 2 years ago

JanLukasGithub commented 2 years ago

If GSCLOUD_ACCOUNT is present, use its value instead of "default" when no --account was given. --account has precedence over GSCLOUD_ACCOUNT, allowing for a configuration with one default account and multiple others in the config that aren't used often

Fixes #138

bkircher commented 2 years ago

Awesome. Thanks!