Skip to content

helix / CommandPart

Type Alias: CommandPart

CommandPart = { kind: "literal"; value: string; } | { kind: "arg"; value: CommandValue; }

Defined in: core/ir/node.ts:66

A neutral command part: either a fixed literal token or a deferred argument value. A command builder fills these in as the author chains calls; the arg holds a CommandValue concept whose rendering is deferred to codegen (so it can depend on the target version). The command's handler renders the parts into version-validated tokens.

Released under the MIT License · Credits