pub enum Commands {
Show 27 variants
Init {
bitbucket_url: Option<String>,
force: bool,
},
Config {
action: ConfigAction,
},
Stacks {
action: StackAction,
},
Entry {
action: EntryAction,
},
Repo,
Version,
Doctor,
Diagnose,
Completions {
action: CompletionsAction,
},
Setup {
force: bool,
},
Tui,
Hooks {
action: HooksAction,
},
Viz {
action: VizAction,
},
Cleanup {
execute: bool,
force: bool,
},
Stack {
verbose: bool,
mergeable: bool,
},
Push {
branch: Option<String>,
message: Option<String>,
commit: Option<String>,
since: Option<String>,
commits: Option<String>,
squash: Option<usize>,
squash_since: Option<String>,
auto_branch: bool,
allow_base_branch: bool,
dry_run: bool,
},
Pop {
keep_branch: bool,
},
Land {
entry: Option<usize>,
force: bool,
dry_run: bool,
auto: bool,
wait_for_builds: bool,
strategy: Option<MergeStrategyArg>,
build_timeout: u64,
},
Autoland {
force: bool,
dry_run: bool,
wait_for_builds: bool,
strategy: Option<MergeStrategyArg>,
build_timeout: u64,
},
Sync {
action: Option<SyncAction>,
force: bool,
cleanup: bool,
interactive: bool,
},
Rebase {
action: Option<RebaseAction>,
interactive: bool,
onto: Option<String>,
strategy: Option<RebaseStrategyArg>,
},
Switch {
name: String,
},
Conflicts {
detailed: bool,
auto_only: bool,
manual_only: bool,
files: Vec<String>,
},
Deactivate {
force: bool,
},
Submit {
entry: Option<usize>,
title: Option<String>,
description: Option<String>,
range: Option<String>,
draft: bool,
open: bool,
},
Validate {
name: Option<String>,
fix: Option<String>,
},
CompletionHelper {
action: CompletionHelperAction,
},
}Expand description
Commands available in the CLI
Variants§
Init
Initialize repository for Cascade
Fields
Config
Configuration management
Fields
action: ConfigActionStacks
Stack management
Fields
action: StackActionEntry
Entry management and editing
Fields
action: EntryActionRepo
Show repository overview and all stacks
Version
Show version information
Doctor
Check repository health and configuration
Diagnose
Diagnose git2 TLS/SSH support issues
Completions
Generate shell completions
Fields
action: CompletionsActionSetup
Interactive setup wizard
Tui
Launch interactive TUI for stack management
Hooks
Git hooks management
Fields
action: HooksActionViz
Visualize stacks and dependencies
Cleanup
Clean up orphaned temporary branches
Fields
Stack
Show current stack details
Fields
Push
Push current commit to the top of the stack (shortcut for ‘stack push’)
Fields
Pop
Pop the top commit from the stack (shortcut for ‘stack pop’)
Land
Land (merge) approved stack entries (shortcut for ‘stack land’)
Fields
strategy: Option<MergeStrategyArg>Merge strategy to use
Autoland
Auto-land all ready PRs (shortcut for ‘stack autoland’)
Fields
strategy: Option<MergeStrategyArg>Merge strategy to use
Sync
Sync operations (shortcut for ‘stack sync’)
Fields
action: Option<SyncAction>Rebase
Rebase operations (shortcut for ‘stack rebase’)
Switch
Switch to a different stack (shortcut for ‘stacks switch’)
Conflicts
Analyze conflicts in the repository
Fields
Deactivate
Deactivate the current stack - turn off stack mode (shortcut for ‘stacks deactivate’)
Submit
Submit a stack entry for review (shortcut for ‘stacks submit’)
Fields
Validate
Validate stack integrity and handle branch modifications (shortcut for ‘stacks validate’)
Fields
CompletionHelper
Internal command for shell completion (hidden)
Fields
action: CompletionHelperActionTrait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more