(val)
| 99 | |
| 100 | gulp.task('component', () => { |
| 101 | const cap = (val) => { |
| 102 | return val.charAt(0).toUpperCase() + val.slice(1); |
| 103 | }; |
| 104 | const name = yargs.argv.name; |
| 105 | const parentPath = yargs.argv.parent || ''; |
| 106 | const destPath = path.join(resolveToComponents(), parentPath, name); |