pub enum Command {
Show 15 variants
Start {
cli: Option<String>,
branches: Option<Vec<String>>,
from_all_specs: bool,
specs: Option<Vec<String>>,
specs_format: Option<SpecsFormat>,
dry_run: bool,
preset: Option<String>,
supervisor: bool,
no_supervisor: bool,
force: bool,
no_rebase: bool,
},
Add {
branch: Option<String>,
cli: Option<String>,
from_spec: Option<String>,
},
Remove {
branch: String,
keep_worktree: bool,
force: bool,
},
Pause,
Stop {
force: bool,
},
Purge {
force: bool,
stale: bool,
},
Status {
json: bool,
},
ListClis,
AddCli {
name: String,
command: String,
display_name: Option<String>,
},
RemoveCli {
name: String,
},
Init,
Dashboard,
Replay {
branch: Option<String>,
list: bool,
color: bool,
session: Option<String>,
},
Approvals {
session: Option<String>,
limit: Option<usize>,
json: bool,
},
Mcp {
repo: Option<PathBuf>,
log_file: Option<PathBuf>,
},
}Expand description
Available subcommands.
Variants§
Start
Launch a new session or reattach to an existing one
Fields
specs: Option<Vec<String>>Narrow the session to named specs, or open the multi-select picker when given without values.
--specs add-auth,fix-session runs only those specs. Bare --specs
opens a multi-select picker; an interactive terminal is required
(otherwise the command exits with an actionable error pointing at
--specs NAME[,NAME...] and --from-all-specs).
Mutually exclusive with --from-all-specs.
specs_format: Option<SpecsFormat>Override the spec format used for --from-all-specs / --specs scanning.
Accepted values: openspec, markdown, speckit. Overrides both
the [specs] type setting in .git-paw/config.toml and the
auto-detection of .specify/ at the repo root.
no_rebase: boolSkip rebasing existing agent branches onto the default branch before opening their worktrees.
By default, git paw start rebases every existing agent branch
onto the repository’s default branch (whatever origin/HEAD
tracks, typically main) before opening or reopening its
worktree, so agents always start from current main. Pass
--no-rebase to skip the rebase step entirely and reproduce the
pre-v0.6 behaviour. Newly created branches (no prior commits) are
not rebased regardless of this flag.
Add
Attach a new worktree + agent pane to a running session
Fields
Remove
Detach a single agent from a running session
Fields
Pause
Pause the session (detaches client, stops broker, leaves CLIs running)
Stop
Stop the session (kills tmux, keeps worktrees and state)
Purge
Remove everything (tmux session, worktrees, and state)
Fields
Status
Show session state for the current repo
ListClis
List detected and custom AI CLIs
AddCli
Register a custom AI CLI
Fields
RemoveCli
Unregister a custom AI CLI
Init
Initialize .git-paw/ directory and configuration
Dashboard
Internal: run the broker and dashboard in pane 0
Replay
View captured session logs
Fields
Approvals
Report manually-approved command patterns for a session
Fields
Mcp
Run a read-only Model Context Protocol (MCP) server over stdio
Trait Implementations§
Source§impl FromArgMatches for Command
impl FromArgMatches for Command
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 Command
impl Subcommand for Command
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 Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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