Expand description
CLI handlers for standalone commands that don’t need full program loading
These handlers implement: query, docs (including remote libraries), cirru, edit, tree subcommands
Re-exports§
pub use edit::handle_edit_command;pub use fix::handle_fix_command;
Modules§
Enums§
- Analyze
View - The analyzer selected by a merged
analyzeoption that has no parsed entry of its own. - Structured
Output Format
Constants§
Functions§
- format_
cirru_ expression - format_
json_ value_ as_ edn - format_
type_ query_ annotation - handle_
call_ graph_ diff_ command - handle_
cirru_ command - handle_
config_ command - handle_
cursor_ command - handle_
docs_ command - handle_
ffi_ command - handle_
program_ diff_ command - handle_
query_ command - handle_
scaffold_ command - handle_
tree_ command - Main handler for code command
- load_
main_ snapshot - load_
module_ with_ sources_ silent - load_
snapshot_ for_ static_ analysis - markdown_
fenced_ block - Render an explicit Markdown boundary around code or structured text.
- normalize_
consolidated_ views - Routes every merged
analyzeoption to the analyzer that owns it. The returned view, when present, takes precedence over the parsed subcommand. - prepare_
program_ for_ type_ query - print_
command_ echo - removed_
command_ error - Explains a command line that uses an entry removed in 0.31.0 or 0.41.0, before argument
parsing reports it as an unknown command.
argsincludes the program name. Only the subcommand path (the first subcommand token after the top-level options and the leaf right after it) is inspected, so positional values such asdocs read <file> <heading>or--entry treeare never mistaken for commands. - set_
cursor_ after_ mode - set_
tips_ level - set_
verbose_ mutation_ output - Enable the decoded-input echo for mutation commands (top-level
--verbose). - should_
echo_ command - source_
expression_ type_ at - Reuse type-at’s lexical evidence for a read-only source inventory. A lowered child is not evidence for a source call; calls need a unique compiler trace.
- suppress_
command_ guidance - type_
at_ confidence - warn_
on_ global_ temp_ snapshot_ path