bin/opensource in opensource-0.3.10 vs bin/opensource in opensource-0.4.0
- old
+ new
@@ -9,9 +9,14 @@
OptionParser.new do |opts|
opts.banner = "Usage: #{File.basename($PROGRAM_NAME)} OPTIONS"
opts.separator ''
opts.separator 'Specific options:'
+ opts.on('-s', '--setup', 'Setup user credentials in ~/.osrc file') do |s|
+ Opensource::Owner.set_credentials
+ exit
+ end
+
opts.on('-l', '--license LICENSE', Opensource::LICENSES, "LICENSE can be #{Opensource::LICENSES.join('|')}") do |l|
options[:license] = l
end
opts.on('-a', '--append README', 'Append LICENSE content to README file') do |a|