pub enum SemanticCommands {
Hot {
from: Option<String>,
limit: usize,
by: HotSpotKeyArg,
kinds: Vec<HotEventKindArg>,
include_paths: Vec<String>,
exclude_paths: Vec<String>,
top: usize,
include_actors: bool,
},
Index {
all: bool,
},
}Variants§
Hot
Aggregate semantic-change events across recent history and surface the files or functions with the most activity.
Use this to find: review-worthy hot spots (“which files are
churning”), API stability signals (--kind signature_changed
for a list of “your unstable surface area”), and annotation
candidates (--by function --include-actors for “functions
many people touched recently — context would help”).
Fields
limit: usizeWalk at most this many state pairs. Higher = more signal, linearly more compute. Default tuned for sub-10s runs on typical project history.
by: HotSpotKeyArgWhat to bucket on.
kinds: Vec<HotEventKindArg>Restrict to specific event kinds. Repeat the flag for multiple kinds. No flag = all kinds.
include_paths: Vec<String>Substring path filter — include only events whose path contains any of these substrings. Repeatable.
Index
Backfill the content-addressed merkle semantic index over history.
Native captures already index eagerly; this backfills states that predate the index (notably git-lane imports). Runs oldest-first and is restartable — rerun after an interruption and it resumes.
Trait Implementations§
Source§impl Clone for SemanticCommands
impl Clone for SemanticCommands
Source§fn clone(&self) -> SemanticCommands
fn clone(&self) -> SemanticCommands
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl FromArgMatches for SemanticCommands
impl FromArgMatches for SemanticCommands
Source§fn from_arg_matches(
__clap_arg_matches: &ArgMatches,
) -> Result<SemanticCommands, Error>
fn from_arg_matches( __clap_arg_matches: &ArgMatches, ) -> Result<SemanticCommands, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<SemanticCommands, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<SemanticCommands, 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<'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>
ArgMatches to self.Source§impl Subcommand for SemanticCommands
impl Subcommand for SemanticCommands
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
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
Self can parse a specific subcommand