Command

Enum Command 

Source
pub enum Command {
Show 15 variants Init { path: Option<PathBuf>, }, Create { title: String, description: Option<String>, issue_type: String, priority: i32, assignee: Option<String>, parent: Option<String>, labels: Option<String>, }, Show { id: String, comments: bool, events: bool, }, List { status: Option<String>, issue_type: Option<String>, assignee: Option<String>, label: Option<String>, all: bool, limit: Option<usize>, }, Ready { limit: Option<usize>, }, Update { id: String, title: Option<String>, description: Option<String>, status: Option<String>, priority: Option<i32>, assignee: Option<String>, }, Close { id: String, reason: Option<String>, }, Delete { id: String, reason: Option<String>, }, Dep { action: DepAction, }, Label { action: LabelAction, }, Stats, Daemon { action: DaemonAction, }, Compact { level: i32, id: Option<String>, }, Config { key: Option<String>, value: Option<String>, delete: bool, }, Context { action: ContextAction, },
}

Variants§

§

Init

Initialize a new .beads directory.

Fields

§path: Option<PathBuf>

Path to initialize (defaults to current directory).

§

Create

Create a new issue.

Fields

§title: String

Issue title.

§description: Option<String>

Issue description.

§issue_type: String

Issue type (bug, feature, task, epic, chore).

§priority: i32

Priority (0-4, lower is higher).

§assignee: Option<String>

Assignee.

§parent: Option<String>

Parent issue ID (creates child issue).

§labels: Option<String>

Labels (comma-separated).

§

Show

Show issue details.

Fields

§id: String

Issue ID.

§comments: bool

Include comments.

§events: bool

Include events.

§

List

List issues.

Fields

§status: Option<String>

Filter by status.

§issue_type: Option<String>

Filter by type.

§assignee: Option<String>

Filter by assignee.

§label: Option<String>

Filter by label.

§all: bool

Include closed issues.

§limit: Option<usize>

Maximum number of results.

§

Ready

Show ready (unblocked) issues.

Fields

§limit: Option<usize>

Maximum number of results.

§

Update

Update an issue.

Fields

§id: String

Issue ID.

§title: Option<String>

New title.

§description: Option<String>

New description.

§status: Option<String>

New status.

§priority: Option<i32>

New priority.

§assignee: Option<String>

New assignee.

§

Close

Close an issue.

Fields

§id: String

Issue ID.

§reason: Option<String>

Reason for closing.

§

Delete

Delete (tombstone) an issue.

Fields

§id: String

Issue ID.

§reason: Option<String>

Reason for deletion.

§

Dep

Manage dependencies.

Fields

§action: DepAction
§

Label

Manage labels.

Fields

§

Stats

Show statistics.

§

Daemon

Daemon management.

Fields

§

Compact

Compact completed issues.

Fields

§level: i32

Maximum compaction level (1-3).

§id: Option<String>

Compact a specific issue.

§

Config

Configuration management.

Fields

§key: Option<String>

Config key.

§value: Option<String>

Config value (if setting).

§delete: bool

Delete the key.

§

Context

Context store management for agents.

Fields

Trait Implementations§

Source§

impl FromArgMatches for Command

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Subcommand for Command

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more