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.Source§impl Parser for MergeQueueCommand
impl Parser for MergeQueueCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for MergeQueueCommand
impl RefUnwindSafe for MergeQueueCommand
impl Send for MergeQueueCommand
impl Sync for MergeQueueCommand
impl Unpin for MergeQueueCommand
impl UnsafeUnpin for MergeQueueCommand
impl UnwindSafe for MergeQueueCommand
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