pub struct ScanArgs {Show 43 fields
pub mode: OutputMode,
pub find: Option<String>,
pub filter_type: Option<String>,
pub entry_type: Option<String>,
pub min_size: Option<String>,
pub max_size: Option<String>,
pub newer_than: Option<String>,
pub older_than: Option<String>,
pub depth: usize,
pub no_ignore: bool,
pub no_default_ignore: bool,
pub all: bool,
pub show_ignored: bool,
pub everything: bool,
pub smart: bool,
pub changes_only: bool,
pub min_interest: f32,
pub no_security: bool,
pub show_filesystems: bool,
pub no_emoji: bool,
pub compress: bool,
pub mcp_optimize: bool,
pub compact: bool,
pub path_mode: PathMode,
pub color: ColorMode,
pub ai_json: bool,
pub stream: bool,
pub sse_server: bool,
pub sse_port: u16,
pub search: Option<String>,
pub semantic: bool,
pub focus: Option<PathBuf>,
pub relations_filter: Option<String>,
pub sort: Option<SortField>,
pub top: Option<usize>,
pub mermaid_style: MermaidStyleArg,
pub no_markdown_mermaid: bool,
pub no_markdown_tables: bool,
pub no_markdown_pie_charts: bool,
pub index_registry: Option<String>,
pub show_private: bool,
pub view_diffs: bool,
pub cleanup_diffs: Option<usize>,
}Fields§
§mode: OutputModeOutput format (classic, ai, quantum, json, etc.)
find: Option<String>Find files matching regex pattern (e.g., –find “README.md”)
filter_type: Option<String>Filter by file extension (e.g., –type rs)
entry_type: Option<String>Filter by entry type: f (files) or d (directories)
min_size: Option<String>Only files larger than size (e.g., –min-size 1M)
max_size: Option<String>Only files smaller than size (e.g., –max-size 100K)
newer_than: Option<String>Files newer than date (YYYY-MM-DD)
older_than: Option<String>Files older than date (YYYY-MM-DD)
depth: usizeTraversal depth (0 = auto, 1 = shallow, 10 = deep)
no_ignore: boolIgnore .gitignore files
no_default_ignore: boolIgnore default patterns (node_modules, pycache, etc.)
all: boolShow hidden files (starting with .)
show_ignored: boolShow ignored directories in brackets
everything: boolShow EVERYTHING (–all + –no-ignore + –no-default-ignore)
smart: boolEnable smart mode - surface what matters, not everything Groups output by interest: security, changes, important, background
changes_only: boolOnly show changes since last scan
min_interest: f32Minimum interest level (0.0-1.0) to display
no_security: boolDisable security scanning during traversal
show_filesystems: boolShow filesystem type indicators (X=XFS, 4=ext4, B=Btrfs)
no_emoji: boolDisable emojis (Trish will miss them!)
compress: boolCompress output with zlib (base64 encoded)
mcp_optimize: boolOptimize for MCP/API (compression + no colors/emoji)
compact: boolCompact JSON (single line)
path_mode: PathModePath display: off, relative, or full
color: ColorModeColor output: always, never, or auto
ai_json: boolWrap AI output in JSON structure
stream: boolStream output as files are scanned
sse_server: boolStart SSE server for real-time monitoring
sse_port: u16SSE server port (also used as daemon port)
search: Option<String>Search file contents (e.g., –search “TODO”)
semantic: boolGroup by semantic similarity
focus: Option<PathBuf>Focus analysis on specific file (relations mode)
relations_filter: Option<String>Filter relationships: imports, calls, types, tests, coupled
sort: Option<SortField>Sort by: a-to-z, z-to-a, largest, smallest, newest, oldest, type
top: Option<usize>Show only top N results (use with –sort)
mermaid_style: MermaidStyleArgMermaid style: flowchart, mindmap, gitgraph, treemap
no_markdown_mermaid: boolExclude mermaid diagrams from markdown
no_markdown_tables: boolExclude tables from markdown
no_markdown_pie_charts: boolExclude pie charts from markdown
index_registry: Option<String>Index code to SmartPastCode registry
show_private: boolShow private functions in docs (function-markdown mode)
view_diffs: boolView Smart Edit diffs from .st folder
cleanup_diffs: Option<usize>Clean up old diffs, keep last N per file
Trait Implementations§
Source§impl Args for ScanArgs
impl Args for ScanArgs
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 ScanArgs
impl CommandFactory for ScanArgs
Source§impl FromArgMatches for ScanArgs
impl FromArgMatches for ScanArgs
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 ScanArgs
impl Parser for ScanArgs
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 ScanArgs
impl RefUnwindSafe for ScanArgs
impl Send for ScanArgs
impl Sync for ScanArgs
impl Unpin for ScanArgs
impl UnsafeUnpin for ScanArgs
impl UnwindSafe for ScanArgs
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