removeCommandAlias
This content is for v1.3.0. Switch to the latest version for up-to-date documentation.
removeCommandAlias(
aliases,aliasName): readonlyCommandAlias[]
Defined in: domain/cli/command-alias.ts:81
Alias一覧から指定名のaliasを削除します。
Parameters
Section titled “Parameters”aliases
Section titled “aliases”readonly CommandAlias[]
削除前alias一覧です。
aliasName
Section titled “aliasName”string
削除対象alias名です。
Returns
Section titled “Returns”readonly CommandAlias[]
削除後alias一覧です。
Example
Section titled “Example”const result = removeCommandAlias([{ name: "c", command: "clear" }], "c");// []