Skip to content

Commit

Permalink
Merge pull request #201 from mindvalley/feat/default-canary
Browse files Browse the repository at this point in the history
PXP-675: [CLI] Make canary flag enabled by default
  • Loading branch information
onimsha authored Mar 6, 2024
2 parents 8a626d8 + 8c76ea6 commit 9edaec6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub struct ClapApp {
pub report: bool,

/// Use the Canary channel API
#[arg(long, global = true)]
#[arg(long, global = true, default_value_t = true)]
canary: bool,
}

Expand Down Expand Up @@ -115,6 +115,7 @@ impl ClapApp {
} else {
ApiChannel::Stable
};

debug!("API channel: {:?}", channel);

let command = match &self.command_group {
Expand Down

0 comments on commit 9edaec6

Please sign in to comment.