pub enum EditSubcommand {
Show 19 variants
Format(EditFormatCommand),
Merge(EditMergeCommand),
Transaction(EditTransactionCommand),
Scaffold(EditScaffoldCommand),
Def(EditDefCommand),
MvDef(EditMvDefCommand),
RmDef(EditRmDefCommand),
Meta(EditMetaCommand),
Schema(EditSchemaCommand),
Ffi(EditFfiCommand),
AddTest(EditAddTestCommand),
AddNs(EditAddNsCommand),
RmNs(EditRmNsCommand),
Ns(EditNsCommand),
Imports(EditImportsCommand),
AddImport(EditAddImportCommand),
RmImport(EditRmImportCommand),
Rename(EditRenameCommand),
SplitDef(EditSplitDefCommand),
}Variants§
Format(EditFormatCommand)
rewrite snapshot file in canonical format without semantic changes
Merge(EditMergeCommand)
three-way merge another Snapshot version into this one per definition (Git merge driver)
Transaction(EditTransactionCommand)
apply multiple existing edit/tree/config commands against one staged snapshot
Scaffold(EditScaffoldCommand)
validate a definition-graph architecture plan and preview scaffold work
Def(EditDefCommand)
add or update a definition
MvDef(EditMvDefCommand)
move a definition to another namespace
RmDef(EditRmDefCommand)
delete a definition
Meta(EditMetaCommand)
update definition metadata (doc, tags, examples, test removals)
Schema(EditSchemaCommand)
update definition schema payload (inside quote)
Ffi(EditFfiCommand)
set or clear host FFI metadata on a definition
AddTest(EditAddTestCommand)
add a named test to a definition
AddNs(EditAddNsCommand)
add a new namespace
RmNs(EditRmNsCommand)
delete a namespace
Ns(EditNsCommand)
write back a namespace’s FileEntry data from query ns --format cirru, updating only changed definitions
Imports(EditImportsCommand)
update namespace imports (replace all)
AddImport(EditAddImportCommand)
add a single import rule to namespace
RmImport(EditRmImportCommand)
remove an import rule from namespace
Rename(EditRenameCommand)
rename a definition within its namespace (no overwrite)
SplitDef(EditSplitDefCommand)
extract a sub-expression into a new definition and replace in-place with the new name