diff --git a/CHANGELOG.yml b/CHANGELOG.yml index 8ed0c56..a11c30d 100644 --- a/CHANGELOG.yml +++ b/CHANGELOG.yml @@ -7,6 +7,8 @@ releases: - version: NEXT changes: - add `git-gather` command + - type: feat + desc: add 'next' to alias to 'upcoming' - version: 0.1.0 changes: - port the core of the Perl changelord to JavaScript. diff --git a/src/changelord.js b/src/changelord.js index 37fabea..7d23d56 100755 --- a/src/changelord.js +++ b/src/changelord.js @@ -55,6 +55,11 @@ yargs(hideBin(process.argv)) .command(cut) .command(schema) .command(upcoming) + .command({ + ...upcoming, + command: "next", + desc: 'alias for "upcoming"', + }) .command(latest) .command(git_gather) .strictCommands() diff --git a/src/command/upcoming.js b/src/command/upcoming.js index 0bb1d9a..3d480e4 100644 --- a/src/command/upcoming.js +++ b/src/command/upcoming.js @@ -27,8 +27,5 @@ const handler = async (config) => { export default { command: "upcoming", desc: "output the changes in NEXT", - builder: (yargs) => { - yargs; - }, handler, };