You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,10 +46,19 @@ projects:
46
46
url: https://api.gridscale.io
47
47
```
48
48
49
+
You can specify a custom location for the config file by using the `--config` flag, which
50
+
allows you to keep multiple configs per project or environment. For example:
51
+
52
+
```shelld
53
+
gscloud --config production.yml info
54
+
gscloud --config staging.yml info
55
+
```
56
+
49
57
Following environment variables can also be used instead of config file:
50
58
- `GRIDSCALE_UUID`- corresponds to `userId`
51
59
- `GRIDSCALE_TOKEN`- corresponds to `token`
52
60
- `GRIDSCALE_URL`- corresponds to `url`
61
+
53
62
**Note**: If the config file and the environment variables are used at the same time, the config file will be ignored and the environment variables will be used.
0 commit comments