feat: add 'next' to alias to 'upcoming'

This commit is contained in:
Yanick Champoux 2023-05-18 11:30:20 -04:00
parent 0d34b92358
commit 363c195477
3 changed files with 7 additions and 3 deletions

View File

@ -7,6 +7,8 @@ releases:
- version: NEXT - version: NEXT
changes: changes:
- add `git-gather` command - add `git-gather` command
- type: feat
desc: add 'next' to alias to 'upcoming'
- version: 0.1.0 - version: 0.1.0
changes: changes:
- port the core of the Perl changelord to JavaScript. - port the core of the Perl changelord to JavaScript.

View File

@ -55,6 +55,11 @@ yargs(hideBin(process.argv))
.command(cut) .command(cut)
.command(schema) .command(schema)
.command(upcoming) .command(upcoming)
.command({
...upcoming,
command: "next",
desc: 'alias for "upcoming"',
})
.command(latest) .command(latest)
.command(git_gather) .command(git_gather)
.strictCommands() .strictCommands()

View File

@ -27,8 +27,5 @@ const handler = async (config) => {
export default { export default {
command: "upcoming", command: "upcoming",
desc: "output the changes in NEXT", desc: "output the changes in NEXT",
builder: (yargs) => {
yargs;
},
handler, handler,
}; };