19 lines
590 B
Text
19 lines
590 B
Text
# Command Registry Schema - Type Contracts
|
|
# Defines the structure and validation for all CLI commands
|
|
|
|
# Type contract for command records
|
|
# Open record type (...) allows partial records during merge, validates on output
|
|
{
|
|
CommandRecord = {
|
|
command | String,
|
|
aliases | Array String,
|
|
requires_daemon | Bool,
|
|
requires_services | Bool,
|
|
uses_cache | Bool,
|
|
requires_args | Bool,
|
|
help_category | String,
|
|
description | String,
|
|
daemon_target | std.enum.TagOrString | [| 'none, 'cli, 'orchestrator |],
|
|
..
|
|
},
|
|
}
|