Auto parse options from file .github_changelog_generator

This commit is contained in:
Dlani Mendes
2015-09-14 01:02:52 -03:00
parent ff4e5612af
commit fbd8207ff4
4 changed files with 33 additions and 1 deletions
+3 -1
View File
@@ -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