pub enum DocsCommand {
List,
Show {
path: String,
source: DocumentSource,
},
Ingest,
Search {
query: String,
op: Option<String>,
path: Vec<String>,
tag: Vec<String>,
limit: usize,
format: String,
},
Override {
force: bool,
},
}Expand description
Subcommands for the decapod docs CLI
Variantsยง
List
List all embedded Decapod methodology documents.
Show
Display the content of a specific embedded document.
Fields
ยง
source: DocumentSourceSource to display: embedded (binary), override (.decapod), or merged (default)
Ingest
Dump all embedded constitution for agentic ingestion.
Search
Return scoped constitution fragments relevant to a concrete query.
Fields
Override
Validate and cache OVERRIDE.md checksum.
Trait Implementationsยง
Sourceยงimpl Debug for DocsCommand
impl Debug for DocsCommand
Sourceยงimpl FromArgMatches for DocsCommand
impl FromArgMatches for DocsCommand
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 DocsCommand
impl Subcommand for DocsCommand
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 DocsCommand
impl RefUnwindSafe for DocsCommand
impl Send for DocsCommand
impl Sync for DocsCommand
impl Unpin for DocsCommand
impl UnsafeUnpin for DocsCommand
impl UnwindSafe for DocsCommand
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