pub enum BeadsAction {
Detect,
Status,
List {
all: bool,
},
Show {
issue: String,
},
Watch {
since: Option<u64>,
interval: u64,
},
Push {
dry_run: bool,
all: bool,
verbose: bool,
},
Pull {
quiet: bool,
},
Reconcile {
quiet: bool,
},
}Expand description
The tix capacity subcommands (mission cycle-capacity-planning-01M3C85C, WP05).
A thin adapter: the [capacity] section, its validation, the shared calculation,
the findings and the close evidence all live in crate::capacity. This enum owns
only the spelling of the surface — the scope and the unit are always explicit
(C-003/C-004), and no flag here can change an issue.
Variants§
Detect
Report what bd and its workspace look like (read-only)
Runs only bd version, bd where and bd config get, so it is safe on a
repository that has not opted in — and it names a workspace whose events
journal is off, because a live mirror would then see nothing.
Status
A read-only summary of the beads workspace
The open/closed/blocked/ready figures are computed the way beads derives
them — from the blocks dependencies — so they agree with bd ready
rather than guessing.
List
List beads issues, read-only
Show
Show one beads issue, read-only
Watch
Follow the beads events journal, printing each change as it commits
Reads the journal in pages and re-reads from its own checkpoint, so it
survives a gap between reads. Requires the journal to be enabled wherever
beads writes; detect says whether it is.
Fields
Push
Write local issues into beads through bd import
Incremental by default: only issues whose exported row changed since
the last push are sent, so a repeat run with nothing changed invokes bd
not at all. --all forces every issue through, which is what a discarded
state file or a rebuilt beads workspace needs.
Fields
Pull
Pull beads issues into local files
Reconcile
Pull, then push — the full both-ways pass
Trait Implementations§
Source§impl Clone for BeadsAction
impl Clone for BeadsAction
Source§impl Debug for BeadsAction
impl Debug for BeadsAction
Source§impl FromArgMatches for BeadsAction
impl FromArgMatches for BeadsAction
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 BeadsAction
impl Subcommand for BeadsAction
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 BeadsAction
impl RefUnwindSafe for BeadsAction
impl Send for BeadsAction
impl Sync for BeadsAction
impl Unpin for BeadsAction
impl UnsafeUnpin for BeadsAction
impl UnwindSafe for BeadsAction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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