Skip to content

fix: register aliases from Root CLI when mounted via cli.command()#124

Merged
tmm merged 1 commit intomainfrom
tmm/fix-root-cli-command-aliases
Apr 8, 2026
Merged

fix: register aliases from Root CLI when mounted via cli.command()#124
tmm merged 1 commit intomainfrom
tmm/fix-root-cli-command-aliases

Conversation

@tmm
Copy link
Copy Markdown
Member

@tmm tmm commented Apr 8, 2026

Fixed Root CLIs created with Cli.create('name', { aliases }) not registering those aliases as command aliases when mounted as subcommands via cli.command(subCli). Aliases now register the same way they do for CommandDefinition aliases.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 8, 2026

Open in StackBlitz

npm i https://pkg.pr.new/incur@124

commit: a7d8bf5

@tmm tmm merged commit abfa8c7 into main Apr 8, 2026
7 checks passed
@tmm tmm deleted the tmm/fix-root-cli-command-aliases branch April 8, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant