Documentation
¶
Overview ¶
Package cmdspec parses the unified command grammar shared by the TUI command bar and config aliases: a backend prefix ("git ...", "jj ...") routes to that backend, a shell prefix ("!...", "sh ...", "shell ...") to the system shell, and anything else to per-repo VCS subcommand routing (each repo's own backend decides how to run it).
Index ¶
Constants ¶
View Source
const PrefixShell = "sh"
PrefixShell is the prefix returned for shell commands.
Variables ¶
This section is empty.
Functions ¶
func ExpandAlias ¶
ExpandAlias replaces a leading alias token in input with its expansion, keeping the rest of the input as trailing text. Returns input unchanged when the first token is not a known alias.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.