expandSubmittedCommandAbbreviation
This content is for v1.3.1. Switch to the latest version for up-to-date documentation.
expandSubmittedCommandAbbreviation(
inputValue,commandAbbreviations):string
Defined in: domain/cli/command-abbreviation.ts:125
確定入力を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 = expandSubmittedCommandAbbreviation("g stripe", [{ name: "g", command: "go" }]);// "go stripe"