Auto parse options from file .github_changelog_generator
This commit is contained in:
@@ -10,9 +10,11 @@ module GitHubChangelogGenerator
|
||||
options = get_default_options
|
||||
|
||||
parser = setup_parser(options)
|
||||
|
||||
parser.parse!
|
||||
|
||||
parser_file = ParseFile.new options
|
||||
parser_file.parse!
|
||||
|
||||
if options[:user].nil? || options[:project].nil?
|
||||
detect_user_and_project(options, ARGV[0], ARGV[1])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user