mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-30 21:26:34 +08:00
17 lines
341 B
JavaScript
17 lines
341 B
JavaScript
#!/usr/bin/env node
|
|
|
|
const commander = require('commander');
|
|
const changelog = require('./changelog');
|
|
const commitLint = require('./commit-lint');
|
|
|
|
commander
|
|
.command('changelog <dir>')
|
|
.option('--tag [tag]', 'Since tag')
|
|
.action(changelog);
|
|
|
|
commander
|
|
.command('commit-lint')
|
|
.action(commitLint);
|
|
|
|
commander.parse(process.argv);
|