···11+import cac from 'cac'
22+33+const cli = cac('cac')
44+55+cli.option('--type [type]', 'Choose a project type', {
66+ default: 'node',
77+})
88+cli.option('--name <name>', 'Provide your name')
99+1010+cli.command('lint [...files]', 'Lint files').action((files, options) => {
1111+ console.log(files, options)
1212+})
1313+1414+// Display help message when `-h` or `--help` appears
1515+cli.help()
1616+// Display version number when `-v` or `--version` appears
1717+// It's also used in help message
1818+cli.version('0.0.0')
1919+2020+console.log('cli', cli)
2121+2222+