UNPKG

1.28 kBSource Map (JSON)View Raw
1{"version":3,"sources":["../src/index.js"],"names":["version","command","description","action","name","type","feature","warn","parse","process","argv"],"mappings":";;AAAA;;;;AAEA;;;;AACA;;;;AAEA;;;;AACA;;;;AAEA,oBAAUA,OAAV;;AAEA,oBACGC,OADH,CACW,eADX,EAEGC,WAFH,CAEe,gCAFf,EAGGC,MAHH,CAGU;AAAA,SAAQ,sBAAOC,IAAP,CAAR;AAAA,CAHV;;AAKA,oBACGH,OADH,CACW,kCADX,EAEGC,WAFH,CAEe,yBAFf,EAGGC,MAHH,CAGU,UAACE,IAAD,EAAOC,OAAP,EAAgBF,IAAhB;AAAA,SAAyB,wBAASC,IAAT,EAAeC,OAAf,EAAwBF,IAAxB,CAAzB;AAAA,CAHV;;AAKA,oBACGH,OADH,CACW,GADX,EAEGE,MAFH,CAEU;AAAA,SAAM,iBAAOI,IAAP,CAAY,aAAZ,CAAN;AAAA,CAFV;;AAIA,oBAAUC,KAAV,CAAgBC,QAAQC,IAAxB","file":"index.js","sourcesContent":["import commander from 'commander'\n\nimport create from './cli/create'\nimport generate from './cli/generate'\n\nimport logger from './logger'\nimport { version } from '../package.json'\n\ncommander.version(version)\n\ncommander\n .command('create [name]')\n .description('create application with a name')\n .action(name => create(name))\n\ncommander\n .command('generate [type] [feature] [name]')\n .description('generate file with ease')\n .action((type, feature, name) => generate(type, feature, name))\n\ncommander\n .command('*')\n .action(() => logger.warn('Wrong input'))\n\ncommander.parse(process.argv)\n"]}
\No newline at end of file