pub struct Cli {Show 51 fields
pub cheet: bool,
pub version: bool,
pub completions: Option<Shell>,
pub man: bool,
pub update: bool,
pub no_update_check: bool,
pub spicy: bool,
pub terminal: bool,
pub dashboard: bool,
pub open_browser: bool,
pub allow: Vec<String>,
pub http_daemon: bool,
pub mcp: bool,
pub mcp_install: bool,
pub mcp_uninstall: bool,
pub mcp_status: bool,
pub log_level: Option<LogLevel>,
pub daemon_start: bool,
pub daemon_stop: bool,
pub daemon_status: bool,
pub daemon_context: bool,
pub daemon_projects: bool,
pub daemon_credits: bool,
pub daemon_install: bool,
pub agent_save: bool,
pub agent_restore: bool,
pub agent_context: bool,
pub agent_kickstart: bool,
pub agent_dump: bool,
pub memory_anchor: Option<Vec<String>>,
pub memory_find: Option<String>,
pub memory_stats: bool,
pub update_consciousness: Option<String>,
pub security_scan: Option<String>,
pub guardian_scan: Option<String>,
pub guardian_daemon: bool,
pub cleanup: bool,
pub hooks_install: bool,
pub hooks_config: Option<String>,
pub mega_start: Option<String>,
pub mega_save: bool,
pub mega_list: bool,
pub mega_stats: bool,
pub token_stats: Option<String>,
pub get_frequency: Option<String>,
pub log: Option<Option<String>>,
pub tips: Option<String>,
pub cmd: Option<Cmd>,
pub path: Option<String>,
pub input: Option<String>,
pub scan_opts: ScanArgs,
}Expand description
Smart Tree CLI - intelligent directory visualization
Fields§
§cheet: boolShow the cheatsheet - quick reference for all commands
version: boolShow version information and check for updates
completions: Option<Shell>Generate shell completion scripts (bash, zsh, fish, powershell)
man: boolGenerate the man page
update: boolCheck for updates and install the latest version
no_update_check: boolSkip the automatic update check on startup
spicy: boolLaunch Spicy TUI - interactive file browser with fuzzy search!
terminal: boolLaunch Smart Tree Terminal Interface (STTI)
dashboard: boolLaunch web dashboard (browser-based terminal + file browser)
open_browser: boolOpen browser automatically when starting dashboard
allow: Vec<String>Network CIDR allow-list for dashboard (e.g., 192.168.1.0/24)
http_daemon: boolStart HTTP daemon (MCP over HTTP, LLM proxy, The Custodian)
mcp: boolRun as MCP server for AI assistants (auto-starts daemon)
mcp_install: boolInstall Smart Tree as MCP server in Claude Desktop
mcp_uninstall: boolUninstall Smart Tree MCP server from Claude Desktop
mcp_status: boolCheck MCP installation status in Claude Desktop
log_level: Option<LogLevel>Set the log level
daemon_start: boolStart the Smart Tree daemon
daemon_stop: boolStop the Smart Tree daemon
daemon_status: boolShow Smart Tree daemon status
daemon_context: boolGet context from the daemon
daemon_projects: boolList projects tracked by the daemon
daemon_credits: boolShow Foken credits from daemon
daemon_install: bool[DEPRECATED: use st service install] Install daemon as a system service
agent_save: boolSave agent consciousness state to .aye_consciousness.m8
agent_restore: boolRestore agent consciousness from .aye_consciousness.m8
agent_context: boolShow agent consciousness status and summary
agent_kickstart: boolUltra-compressed consciousness restoration format
agent_dump: boolDump raw consciousness file content for debugging
memory_anchor: Option<Vec<String>>Anchor a memory: –memory-anchor
memory_find: Option<String>Find memories by keywords (comma-separated)
memory_stats: boolShow memory statistics
update_consciousness: Option<String>Update .m8 consciousness files for a directory
security_scan: Option<String>Scan codebase for supply chain attack patterns (default: current dir)
guardian_scan: Option<String>Scan a file for prompt injection patterns
guardian_daemon: boolRun Guardian daemon for system-wide AI protection
cleanup: boolSecurity cleanup - detect and remove malicious MCP entries
hooks_install: boolInstall Smart Tree hooks to AI Agent settings
hooks_config: Option<String>Manage hooks: enable, disable, status
mega_start: Option<String>Start a mega session (persistent cross-context conversation)
mega_save: boolSave current mega session snapshot
mega_list: boolList all mega sessions
mega_stats: boolShow mega session statistics
token_stats: Option<String>Show tokenization statistics for a path
get_frequency: Option<String>Get wave frequency for a directory
log: Option<Option<String>>Enable activity logging to JSONL file
tips: Option<String>Control smart tips (on/off)
cmd: Option<Cmd>§path: Option<String>Path to analyze (directory, file, URL, or stream)
input: Option<String>Specify input type explicitly (filesystem, qcp, sse, openapi, mem8)
scan_opts: ScanArgsTrait Implementations§
Source§impl Args for Cli
impl Args for Cli
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Cli
impl CommandFactory for Cli
Source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
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>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Parser for Cli
impl Parser for Cli
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Cli
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin for Cli
impl UnsafeUnpin for Cli
impl UnwindSafe for Cli
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
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>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<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>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> 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)
&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)
&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> 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>
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>
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