cac
cac copied to clipboard
alias() to support multiple aliases
Issue Type
- [ ] Bug Report
- [x] Feature Request
- [ ] Other
Expected
cli
.command('format [...files]', 'Format files using Prettier')
.example("format 'src/**/*.{js,ts,json}'")
.alias(['fmt', 'fromat', 'foramt'])
// or separate arguments
.alias('fmt', 'fromat', 'foramt')
.action(async (files) => {})
Actual
None.