normalizeCommandAliases
This content is for v1.2.1. Switch to the latest version for up-to-date documentation.
normalizeCommandAliases(
aliases): readonlyCommandAlias[]
Defined in: domain/cli/command-alias.ts:96
Command alias一覧を保存可能な形へ正規化します。
Parameters
Section titled “Parameters”aliases
Section titled “aliases”readonly CommandAlias[]
正規化対象alias一覧です。
Returns
Section titled “Returns”readonly CommandAlias[]
正規化済みalias一覧です。
Example
Section titled “Example”const result = normalizeCommandAliases([{ name: " c ", command: " clear " }]);// [{ name: "c", command: "clear" }]