Skip to content

removeCommandAlias

This content is for v1.3.0. Switch to the latest version for up-to-date documentation.

removeCommandAlias(aliases, aliasName): readonly CommandAlias[]

Defined in: domain/cli/command-alias.ts:81

Alias一覧から指定名のaliasを削除します。

readonly CommandAlias[]

削除前alias一覧です。

string

削除対象alias名です。

readonly CommandAlias[]

削除後alias一覧です。

const result = removeCommandAlias([{ name: "c", command: "clear" }], "c");
// []

Last updated: