File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ pub(crate) struct ListSubcommand {
27
27
cmd : Subcommands ,
28
28
29
29
/// Output results as JSON.
30
- #[ arg( long, global = true , env = "FH_JSON_OUTPUT " ) ]
30
+ #[ arg( long, global = true , env = "FH_OUTPUT_JSON " ) ]
31
31
json : bool ,
32
32
33
33
#[ arg( from_global) ]
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ pub(crate) struct Cli {
13
13
global = true ,
14
14
long,
15
15
default_value = "https://api.flakehub.com" ,
16
+ env = "FH_API_ADDR" ,
16
17
hide = true
17
18
) ]
18
19
pub api_addr : url:: Url ,
@@ -24,6 +25,7 @@ pub(crate) struct Cli {
24
25
global = true ,
25
26
long,
26
27
default_value = "https://cache.flakehub.com" ,
28
+ env = "FH_CACHE_ADDR" ,
27
29
hide = true
28
30
) ]
29
31
pub cache_addr : url:: Url ,
@@ -35,6 +37,7 @@ pub(crate) struct Cli {
35
37
global = true ,
36
38
long,
37
39
default_value = "https://flakehub.com" ,
40
+ env = "FH_FRONTEND_ADDR" ,
38
41
hide = true
39
42
) ]
40
43
pub frontend_addr : url:: Url ,
You can’t perform that action at this time.
0 commit comments