Skip to content

Commit

Permalink
use environment variable as default for aqora url
Browse files Browse the repository at this point in the history
  • Loading branch information
jpopesculian committed Mar 14, 2024
1 parent 46d8dad commit 27c0edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ axum = "0.7"
base32 = "0.4"
base64 = "0.21"
chrono = { version = "0.4", features = ["serde"] }
clap = { version = "4.4", features = ["derive", "cargo", "color"] }
clap = { version = "4.4", features = ["derive", "cargo", "color", "env"] }
dialoguer = "0.11.0"
dirs = "5.0"
fs4 = { version = "0.7", features = ["tokio"] }
Expand Down
1 change: 1 addition & 0 deletions src/commands/global_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub struct GlobalArgs {
#[arg(
long,
default_value = "https://app.aqora.io",
env = "AQORA_URL",
global = true,
hide = true
)]
Expand Down

0 comments on commit 27c0edf

Please sign in to comment.