🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
420 B

7 years ago
#!/usr/bin/env node
'use strict';
7 years ago
require('colorful').colorful();
const gulp = require('gulp');
const program = require('commander');
7 years ago
program.on('--help', () => {
console.log(' Usage:'.to.bold.blue.color);
console.log();
});
7 years ago
program.parse(process.argv);
7 years ago
const task = program.args[0];
7 years ago
if (!task) {
program.help();
7 years ago
} else {
console.log('scripts run', task);
7 years ago
require('./gulpfile');
7 years ago
gulp.start(task);
7 years ago
}