@smartsoft001/cli
Advanced tools
Comparing version 0.0.37 to 0.0.38
{ | ||
"name": "@smartsoft001/cli", | ||
"version": "0.0.37", | ||
"version": "0.0.38", | ||
"bin": { | ||
@@ -5,0 +5,0 @@ "smart": "smart.js" |
@@ -8,6 +8,7 @@ "use strict"; | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
switch (args['$0']) { | ||
const [, type, res, opt1] = args["_"]; | ||
switch (type) { | ||
case 'library': | ||
utils_1.log('Generate library'); | ||
utils_1.runCommand(`ng g library ${args['$1']} ${args['$2'] ? args['$2'] : ''}`); | ||
utils_1.runCommand(`ng g library ${res} ${opt1 ? opt1 : ''}`); | ||
break; | ||
@@ -14,0 +15,0 @@ default: |
Sorry, the diff of this file is not supported yet
10796
167