lib/jammit/command_line.rb in jammit-0.6.0 vs lib/jammit/command_line.rb in jammit-0.6.1
- old
+ new
@@ -61,9 +61,12 @@
@options[:base_url] = base_url
end
opts.on('-f', '--force', 'force a rebuild of all assets') do |force|
@options[:force] = force
end
+ opts.on('-p', '--packages PACKAGE_NAMES', 'comma-separated list of packages (ex: "core,embed", default: all packages)') do |package_names|
+ @options[:package_names] = package_names.split(/,\s*/).map {|n| n.to_sym }
+ end
opts.on_tail('-v', '--version', 'display Jammit version') do
puts "Jammit version #{Jammit::VERSION}"
exit
end
end
\ No newline at end of file