pub enum CalcitCommand {
Show 16 variants
EmitJs(EmitJsCommand),
EmitWasm(EmitWasmCommand),
EmitWasi(EmitWasiCommand),
EmitIr(EmitIrCommand),
Eval(EvalCommand),
Test(TestCommand),
Fix(FixCommand),
Analyze(AnalyzeCommand),
Query(QueryCommand),
Docs(DocsCommand),
Cirru(CirruCommand),
Edit(EditCommand),
Tree(TreeCommand),
Cursor(CursorCommand),
Config(ConfigCommand),
Ffi(FfiCommand),
}Variants§
EmitJs(EmitJsCommand)
emit JavaScript rather than interpreting
EmitWasm(EmitWasmCommand)
emit a browser or embedded WebAssembly core module
EmitWasi(EmitWasiCommand)
emit a WebAssembly command module for a WASI host
EmitIr(EmitIrCommand)
diagnostic: emit compiler IR as Cirru EDN to program-ir.cirru
Eval(EvalCommand)
evaluate snippet
Test(TestCommand)
discover and run definition-attached tests
Fix(FixCommand)
preview or apply compiler-guided source migrations
Analyze(AnalyzeCommand)
analyze code structure, type-debt views, and helpers (call-graph, program-diff, weak-types, check-examples, verify)
Query(QueryCommand)
query project information (namespaces, definitions, configs)
Docs(DocsCommand)
documentation tools for guidebook, installed module docs, and local markdown docs
Cirru(CirruCommand)
Cirru syntax tools (parse, format)
Edit(EditCommand)
coarse-grained code editing (namespaces, definitions, metadata); for internal expression changes, use tree instead
Tree(TreeCommand)
fine-grained tree operations (view and modify AST nodes within definitions)
Cursor(CursorCommand)
maintain a persistent virtual cursor for tree navigation and editing
Config(ConfigCommand)
manage project configuration (show, set, modules, add-module, rm-module)
Ffi(FfiCommand)
inspect and export typed FFI interface contracts