std:cli/CommandLine
std:cli/CommandLine
Section titled “std:cli/CommandLine”Canonical occurrence:
protos/lib/cli/CommandLine.protos· Protos revision:e99b712ecf658a527b1fe82c8beba2c1286d8dc9.
Canonical inert command-line specification records.
Observable top-level slots
Section titled “Observable top-level slots”This page lists the complete mechanically observable top-level slot inventory required by D067. Authored documentation, when present, is canonical D062 prose; mechanical presence alone does not create a stability or compatibility promise.
command
Section titled “command”Canonicalizes one command descriptor and its complete nested specification graph.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
descriptor -
Rest parameter: none
-
Source occurrence:
protos/lib/cli/CommandLine.protos:230 -
Exact source page: open in the source browser
option
Section titled “option”Canonicalizes one option descriptor into a fresh frozen OptionSpec record.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
descriptor -
Rest parameter: none
-
Source occurrence:
protos/lib/cli/CommandLine.protos:19 -
Exact source page: open in the source browser
Parses a canonical CommandSpec tree into a fresh frozen lossless result.
Traversal follows D115 Candidate C-prime: the earliest feasible exact-child
boundary, parent-minimum reservation, current-scope -- escape and
irreversible child scope transfer.
Mechanical facts
Section titled “Mechanical facts”No callable shape is mechanically recorded for this slot.
- Source occurrence:
protos/lib/cli/CommandLine.protos:434 - Exact source page: open in the source browser
positional
Section titled “positional”Canonicalizes one positional descriptor into a fresh frozen PositionalSpec record.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
descriptor -
Rest parameter: none
-
Source occurrence:
protos/lib/cli/CommandLine.protos:164 -
Exact source page: open in the source browser
renderHelp
Section titled “renderHelp”Renders canonical pure help for one exact command path.
D118 Candidate F-prime fixes deterministic unwrapped plain text with explicit path context and no terminal/output authority. D119 Candidate A-prime ensures every value-bearing canonical specification already carries a non-empty presentation valueName.
Mechanical facts
Section titled “Mechanical facts”-
Fixed parameters:
rootSpec,commandPath -
Rest parameter: none
-
Source occurrence:
protos/lib/cli/CommandLine.protos:939 -
Exact source page: open in the source browser
Exact module source · Standard-library API · Standard library overview