core
core copied to clipboard
Ability to set aliases for sub commands.
bug
What is the current behavior?
Setting aliases
in a command's index file does not propagate to sub-commands.
in ./commands/identity
:
export default class Identity extends BaseCommand {
static override aliases = ['id'];
in the same directory: ./commands/identity/create
does not inherit the id
alias
export default class Create extends BaseCommand {
Therefore cli id
works but cli id create
does not.
What is the expected behavior?
It would be convenient to set aliases at the root level.