Skip to content

Commit

Permalink
add --plugin option to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Jul 1, 2022
1 parent 6857797 commit f8bf54f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ const DEFAULT_OPTIONS = {
sortCommits: 'relevance',
appendGitLog: '',
appendGitTag: '',
config: '.auto-changelog'
config: '.auto-changelog',
plugin: []
}

const PACKAGE_FILE = 'package.json'
Expand Down Expand Up @@ -57,6 +58,7 @@ const getOptions = async argv => {
.option('--append-git-tag <string>', 'string to append to git tag command')
.option('--prepend', 'prepend changelog to output file')
.option('--stdout', 'output changelog to stdout')
.option('--plugin [name...]', 'use a plugin to augment commit information')
.version(version)
.parse(argv)
.opts()
Expand Down

0 comments on commit f8bf54f

Please sign in to comment.