feat(cli): add build-site command

This commit is contained in:
陈嘉涵
2019-11-29 17:11:07 +08:00
parent f1310ff01b
commit 5f91e16825
11 changed files with 164 additions and 120 deletions

View File

@@ -8,6 +8,7 @@ import { clean } from './commands/clean';
import { build } from './commands/build';
import { release } from './commands/release';
import { changelog } from './commands/changelog';
import { buildSite } from './commands/build-site';
import { commitLint } from './commands/commit-lint';
command('dev').action(dev);
@@ -24,6 +25,8 @@ command('changelog <dir>')
.option('--tag [tag]', 'Since tag')
.action(changelog);
command('build-site').action(buildSite);
command('commit-lint').action(commitLint);
command('test')