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
Initial tags (comma-separated)
Specify
Create a specification from user requirements (spec-driven development)
Fields
Plan
Create implementation plan from specification
Fields
Tasks
Generate executable tasks from plan
Fields
Validate
Validate specification against requirements
Fields
Requirements
Create or update requirements document
Fields
Design
Create or update design document
Fields
Status
Show specification status
Fields
List
List all specifications
Fields
Show
Show specification details
Fields
Delete
Delete a specification
Approve
Approve a specification phase
Fields
Activate
Set active specification
Template
Generate templates for spec-driven development
Trait Implementations§
Source§impl Debug for SpecCommands
impl Debug for SpecCommands
Source§impl FromArgMatches for SpecCommands
impl FromArgMatches for SpecCommands
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>
Assign values from
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>
Assign values from
ArgMatches to self.Source§impl Subcommand for SpecCommands
impl Subcommand for SpecCommands
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
Append to
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
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for SpecCommands
impl RefUnwindSafe for SpecCommands
impl Send for SpecCommands
impl Sync for SpecCommands
impl Unpin for SpecCommands
impl UnsafeUnpin for SpecCommands
impl UnwindSafe for SpecCommands
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
Mutably borrows from an owned value. Read more