Skip to content

Commit

Permalink
feat: add env_logger to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Apr 9, 2024
1 parent f345794 commit a9b15e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions stac-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ gdal = ["stac/gdal"]
[dependencies]
clap = { version = "4", features = ["derive"] }
console = "0.15"
env_logger = "0.11"
indicatif = "0.17"
reqwest = "0.12"
serde = "1"
Expand Down
1 change: 1 addition & 0 deletions stac-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use stac_cli::Args;

#[tokio::main]
async fn main() {
env_logger::init();
let args = Args::parse();
match args.command.execute().await {
Ok(()) => return,
Expand Down

0 comments on commit a9b15e9

Please sign in to comment.