expandCommandAbbreviationOnBoundary
This content is for v1.3.0. Switch to the latest version for up-to-date documentation.
expandCommandAbbreviationOnBoundary(
inputValue,commandAbbreviations):string
Defined in: domain/cli/command-abbreviation.ts:92
入力中commandを単語境界でcommand abbreviation展開します。
Parameters
Section titled “Parameters”inputValue
Section titled “inputValue”string
CLI入力値です。
commandAbbreviations
Section titled “commandAbbreviations”readonly CommandAlias[]
command abbreviation一覧です。
Returns
Section titled “Returns”string
展開後の入力値です。
Example
Section titled “Example”const result = expandCommandAbbreviationOnBoundary("g ", [{ name: "g", command: "go" }]);// "go "