File tree 3 files changed +51
-11
lines changed
3 files changed +51
-11
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ func GetCommands() *core.Commands {
17
17
}
18
18
19
19
type setting struct {
20
- Key string
21
- Value string
22
- Origin string
20
+ Key string `json:"key"`
21
+ Value string `json:"value"`
22
+ Origin string `json:"origin"`
23
23
}
24
24
25
25
func infosRoot () * core.Command {
Original file line number Diff line number Diff line change
1
+ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
+ 🟩🟩🟩 STDOUT️ 🟩🟩🟩️
3
+ KEY VALUE ORIGIN
4
+ config_path /Users/sieben/.config/scw/config.yaml default
5
+ default_region fr-par default
6
+ default_zone fr-par-1 default
7
+ default_organization_id 11111111-1111-1111-1111-111111111111 -
8
+ access_key SCWXXXXXXXXXXXXXXXXX -
9
+ secret_key 11111111-xxxx-xxxx-xxxx-xxxxxxxxxxxx -
10
+ profile - -
11
+ 🟩🟩🟩 JSON STDOUT 🟩🟩🟩
12
+ [
13
+ {
14
+ "key": "config_path",
15
+ "value": "/Users/sieben/.config/scw/config.yaml",
16
+ "origin": "default"
17
+ },
18
+ {
19
+ "key": "default_region",
20
+ "value": "fr-par",
21
+ "origin": "default"
22
+ },
23
+ {
24
+ "key": "default_zone",
25
+ "value": "fr-par-1",
26
+ "origin": "default"
27
+ },
28
+ {
29
+ "key": "default_organization_id",
30
+ "value": "11111111-1111-1111-1111-111111111111",
31
+ "origin": ""
32
+ },
33
+ {
34
+ "key": "access_key",
35
+ "value": "SCWXXXXXXXXXXXXXXXXX",
36
+ "origin": ""
37
+ },
38
+ {
39
+ "key": "secret_key",
40
+ "value": "11111111-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
41
+ "origin": ""
42
+ },
43
+ {
44
+ "key": "profile",
45
+ "value": "",
46
+ "origin": ""
47
+ }
48
+ ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments