CLI option for GitHub tags

Not actually implemented yet
This commit is contained in:
phase 2015-10-29 07:37:23 -07:00 committed by Olle Jonsson
parent 0e671a96da
commit 59db1c7821

View File

@ -92,6 +92,9 @@ module GitHubChangelogGenerator
opts.on("--[no-]author", "Add author of pull-request in the end. Default is true") do |author| opts.on("--[no-]author", "Add author of pull-request in the end. Default is true") do |author|
options[:author] = author options[:author] = author
end end
opts.on("--usernames-as-github-logins", "Use GitHub tags instead of links for the author of an issue or pull-request.") do |v|
options[:usernames_as_github_logins] = v
end
opts.on("--unreleased-only", "Generate log from unreleased closed issues only.") do |v| opts.on("--unreleased-only", "Generate log from unreleased closed issues only.") do |v|
options[:unreleased_only] = v options[:unreleased_only] = v
end end