pub enum Commands {
Show 17 variants
Spaces {
action: SpacesAction,
},
Config {
action: ConfigAction,
},
Content {
action: ContentAction,
},
Search {
query: String,
type: Option<String>,
no_excerpt: bool,
top_k: Option<usize>,
include_sections: bool,
cross_wiki: bool,
format: Option<String>,
},
List {
type: Option<String>,
status: Option<String>,
page: usize,
page_size: Option<usize>,
format: Option<String>,
},
Ingest {
path: String,
dry_run: bool,
redact: bool,
format: Option<String>,
},
Graph {
format: Option<String>,
root: Option<String>,
depth: Option<usize>,
type: Option<String>,
relation: Option<String>,
output: Option<String>,
cross_wiki: bool,
},
Index {
action: IndexAction,
},
History {
slug: String,
limit: Option<usize>,
no_follow: bool,
format: Option<String>,
},
Stats {
format: Option<String>,
},
Lint {
rules: Option<String>,
severity: Option<String>,
format: Option<String>,
},
Suggest {
slug: String,
limit: Option<usize>,
format: Option<String>,
},
Schema {
action: SchemaAction,
},
Export {
path: Option<String>,
format: Option<String>,
status: Option<String>,
},
Serve {
http: Option<Option<String>>,
acp: bool,
watch: bool,
dry_run: bool,
},
Watch {
wiki: Option<String>,
},
Logs {
action: LogsAction,
},
}Expand description
Top-level subcommands available from the llm-wiki CLI.
Variants§
Spaces
Manage wiki spaces
Fields
§
action: SpacesActionThe spaces subcommand.
Config
Read and write configuration
Fields
§
action: ConfigActionThe config subcommand.
Content
Content operations (read, write, new, commit)
Fields
§
action: ContentActionThe content subcommand.
Search
Full-text BM25 search
Fields
List
Paginated enumeration of wiki pages
Fields
Ingest
Validate and index files in the wiki tree
Fields
Graph
Generate a concept graph
Fields
Index
Manage the tantivy search index
Fields
§
action: IndexActionThe index subcommand.
History
Git commit history for a page
Fields
Stats
Wiki health dashboard
Lint
Run deterministic lint rules on the wiki index
Fields
Suggest
Suggest related pages to link
Fields
Schema
Inspect and manage type schemas
Fields
§
action: SchemaActionThe schema subcommand.
Export
Export the full wiki to a file (llms.txt, llms-full, or json)
Fields
Serve
Start the wiki MCP/ACP server
Fields
Watch
Auto-ingest on file save (standalone watcher)
Logs
Inspect and manage server logs
Fields
§
action: LogsActionThe logs subcommand.
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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 Commands
impl Subcommand for Commands
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 Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more