Skip to main content

SpecCommands

Enum SpecCommands 

Source
pub enum SpecCommands {
Show 14 variants Init { title: String, description: Option<String>, ticket: Option<String>, tags: Option<String>, }, Specify { requirements: String, ticket: Option<String>, interactive: bool, template: String, output: Option<String>, }, Plan { spec: Option<String>, tech_stack: Option<String>, architecture: Option<String>, editor: bool, output: Option<String>, }, Tasks { spec: Option<String>, plan: Option<String>, editor: bool, complete: bool, export_tickets: bool, parallel: bool, granularity: String, }, Validate { spec: Option<String>, complete: bool, ambiguities: bool, report: bool, }, Requirements { spec: Option<String>, editor: bool, complete: bool, }, Design { spec: Option<String>, editor: bool, complete: bool, }, Status { spec: Option<String>, detailed: bool, validation: bool, }, List { status: Option<String>, phase: Option<String>, archived: bool, }, Show { spec: String, all: bool, markdown: bool, }, Delete { spec: String, force: bool, }, Approve { spec: String, phase: String, message: Option<String>, }, Activate { spec: String, }, Template { template_type: String, output: String, force: bool, },
}

Variants§

§

Init

Initialize a new specification

Fields

§title: String

Specification title

§description: Option<String>

Specification description

§ticket: Option<String>

Associated ticket ID

§tags: Option<String>

Initial tags (comma-separated)

§

Specify

Create a specification from user requirements (spec-driven development)

Fields

§requirements: String

Requirements description in natural language

§ticket: Option<String>

Associated ticket ID or slug

§interactive: bool

Use interactive mode for refinement

§template: String

Template to use (default: standard)

§output: Option<String>

Output directory for specification

§

Plan

Create implementation plan from specification

Fields

§spec: Option<String>

Specification ID or path (defaults to active spec)

§tech_stack: Option<String>

Technology stack (comma-separated, e.g., “rust,tokio,sqlx”)

§architecture: Option<String>

Architecture pattern (e.g., “mvc”, “hexagonal”, “layered”)

§editor: bool

Open in editor for refinement

§output: Option<String>

Output directory for plan

§

Tasks

Generate executable tasks from plan

Fields

§spec: Option<String>

Specification ID or path (defaults to active spec)

§plan: Option<String>

Plan file path (defaults to spec’s plan)

§editor: bool

Open in editor

§complete: bool

Mark as complete

§export_tickets: bool

Export tasks to tickets

§parallel: bool

Generate parallel execution markers

§granularity: String

Task granularity (fine, medium, coarse)

§

Validate

Validate specification against requirements

Fields

§spec: Option<String>

Specification ID or path

§complete: bool

Check for completeness

§ambiguities: bool

Check for ambiguities

§report: bool

Generate validation report

§

Requirements

Create or update requirements document

Fields

§spec: Option<String>

Specification ID (defaults to active spec)

§editor: bool

Open in editor

§complete: bool

Mark as complete

§

Design

Create or update design document

Fields

§spec: Option<String>

Specification ID (defaults to active spec)

§editor: bool

Open in editor

§complete: bool

Mark as complete

§

Status

Show specification status

Fields

§spec: Option<String>

Specification ID (defaults to active spec)

§detailed: bool

Show detailed progress

§validation: bool

Show validation status

§

List

List all specifications

Fields

§status: Option<String>

Filter by status (draft, in_progress, completed, approved)

§phase: Option<String>

Filter by phase (requirements, design, tasks)

§archived: bool

Show archived specs

§

Show

Show specification details

Fields

§spec: String

Specification ID

§all: bool

Show all documents

§markdown: bool

Show in markdown format

§

Delete

Delete a specification

Fields

§spec: String

Specification ID

§force: bool

Force deletion without confirmation

§

Approve

Approve a specification phase

Fields

§spec: String

Specification ID

§phase: String

Phase to approve (requirements, design, tasks)

§message: Option<String>

Approval message

§

Activate

Set active specification

Fields

§spec: String

Specification ID

§

Template

Generate templates for spec-driven development

Fields

§template_type: String

Template type (spec, plan, task, all)

§output: String

Output directory

§force: bool

Force overwrite existing templates

Trait Implementations§

Source§

impl Debug for SpecCommands

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for SpecCommands

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 SpecCommands

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> ErasedDestructor for T
where T: 'static,

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> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

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

Source§

type Error = !

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

fn try_from(value: U) -> Result<T, !>

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<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

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