pub struct MergeQueueCommand {
pub paths: Vec<PathBuf>,
pub check: bool,
pub yes: bool,
pub socket: Option<PathBuf>,
}Expand description
Enqueues eligible worktrees’ PRs into the GitHub merge queue — the daemon’s
two-phase merge-queue op driven from the CLI (#1401).
Only worktrees that pass every eligibility gate (clean, committed, pushed, with
an open non-draft, conflict-free, CI-green PR) are enqueued; the rest are
reported as skipped-with-reason. Like close, the daemon re-validates on
execute, so the CLI adds no authority — enqueue authenticates through the
user’s own gh.
Fields§
§paths: Vec<PathBuf>Worktree folder(s) to consider. Each is canonicalized client-side, as the daemon runs in a different cwd and matches targets by canonical path.
check: boolPrint the eligibility report and exit; never enqueue.
yes: boolSkip the interactive confirmation before enqueuing.
socket: Option<PathBuf>Control-socket path. Defaults to the per-user runtime location.
Implementations§
Trait Implementations§
Source§impl Args for MergeQueueCommand
impl Args for MergeQueueCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for MergeQueueCommand
impl CommandFactory for MergeQueueCommand
Source§impl FromArgMatches for MergeQueueCommand
impl FromArgMatches for MergeQueueCommand
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.