cac icon indicating copy to clipboard operation
cac copied to clipboard

alias() to support multiple aliases

Open tunnckoCore opened this issue 4 years ago • 0 comments

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.

tunnckoCore avatar Dec 07 '19 08:12 tunnckoCore