classifyCommand
classifyCommand(
command,normalize):CommandClassification|null
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/shell/arity.ts:320
Classify a command into a stable allow-list prefix + display pattern, or null when it
cannot be safely classified for matching (composition/redirection/substitution present,
empty, or unbalanced quotes).
Parameters
Section titled “Parameters”command
Section titled “command”string
Raw command string as the model proposed it.
normalize
Section titled “normalize”(cmd) => string
Normalizer to apply for the detection form (inject normalizeCommand).
Returns
Section titled “Returns”CommandClassification | null