pub enum DocsSubcommand {
Scopes(DocsScopesCommand),
RemoteLibs(DocsRemoteLibsCommand),
Search(DocsSearchCommand),
List(DocsListCommand),
Sections(DocsSectionsCommand),
Read(DocsReadCommand),
Agents(DocsAgentsCommand),
CheckMd(DocsCheckMdCommand),
FormatMd(DocsFormatMdCommand),
}Variants§
Scopes(DocsScopesCommand)
list available doc scopes (calcit and installed modules)
RemoteLibs(DocsRemoteLibsCommand)
browse remote library registry and read remote library docs
Search(DocsSearchCommand)
search calcit guidebook or installed module docs by keyword
List(DocsListCommand)
list available files in calcit guidebook or one installed module
Sections(DocsSectionsCommand)
list markdown section headings in one file
Read(DocsReadCommand)
read markdown content from calcit guidebook or one installed module
Agents(DocsAgentsCommand)
read the embedded Agents guide or compact mutation contract
CheckMd(DocsCheckMdCommand)
check ```cirru code blocks in a markdown file via eval
FormatMd(DocsFormatMdCommand)
format fenced ```cirru code blocks in a markdown file
Trait Implementations§
Source§impl Clone for DocsSubcommand
impl Clone for DocsSubcommand
Source§impl Debug for DocsSubcommand
impl Debug for DocsSubcommand
Source§impl FromArgs for DocsSubcommand
impl FromArgs for DocsSubcommand
Source§fn from_args(command_name: &[&str], args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(command_name: &[&str], args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments. Read more
Source§fn redact_arg_values(
command_name: &[&str],
args: &[&str],
) -> Result<Vec<String>, EarlyExit>
fn redact_arg_values( command_name: &[&str], args: &[&str], ) -> Result<Vec<String>, EarlyExit>
Get a String with just the argument names, e.g., options, flags, subcommands, etc, but
without the values of the options and arguments. This can be useful as a means to capture
anonymous usage statistics without revealing the content entered by the end user. Read more
Source§impl PartialEq for DocsSubcommand
impl PartialEq for DocsSubcommand
impl StructuralPartialEq for DocsSubcommand
Source§impl SubCommands for DocsSubcommand
impl SubCommands for DocsSubcommand
Source§const COMMANDS: &'static [&'static CommandInfo]
const COMMANDS: &'static [&'static CommandInfo]
Info for the commands.
Source§fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
Get a list of commands that are discovered at runtime.
Auto Trait Implementations§
impl Forget for DocsSubcommand
impl Freeze for DocsSubcommand
impl Move for DocsSubcommand
impl RefUnwindSafe for DocsSubcommand
impl Send for DocsSubcommandwhere
RawVecInner: Send,
impl Sync for DocsSubcommandwhere
RawVecInner: Sync,
impl Unpin for DocsSubcommand
impl UnsafeUnpin for DocsSubcommandwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DocsSubcommandwhere
RawVecInner: UnwindSafe,
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