Skip to content
This repository has been archived by the owner on Apr 16, 2023. It is now read-only.

Allow command aliases to supplied at command creation. #17

Open
BartArys opened this issue Sep 11, 2020 · 0 comments
Open

Allow command aliases to supplied at command creation. #17

BartArys opened this issue Sep 11, 2020 · 0 comments

Comments

@BartArys
Copy link
Contributor

Currently aliases are supplied when configuring commands:

command(name) {
    alias(aliasOne, aliasTwo, aliasThree)
    
    invoke {
        //....
    }
}

It would be rather simple and more concise to also allow these to be supplied after the name:

command(name, aliasOne, aliasTwo, aliasThree) {
    
    invoke {
        //....
    }
}

I don't think we'll ever use the arguments after a command's name for anything else, so there's not much risk capitalising the space like this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant