lib/wrapp/cli.rb in wrapp-0.7.0 vs lib/wrapp/cli.rb in wrapp-1.0.0
- old
+ new
@@ -2,29 +2,17 @@
class CLI
include Mixlib::CLI
banner "Usage: #{File.basename($0)} [options] APP_PATH"
- option :include_parent_dir,
- :long => '--include-parent-dir',
- :short => '-i',
- :description => "Include the App's parent directory in the DMG with all(!!!) content.",
- :boolean => true
- option :add_applications_link,
- :long => '--add-applications-link',
- :short => '-l',
- :description => 'Add /Applications symlink to the DMG.',
- :boolean => true,
- :default => true
option :filesystem,
- :long => '--filesystem FILESYSTEM',
- :short => '-f FILESYSTEM',
- :description => "Causes a filesystem of the specified type to be written to the image.",
- :default => 'HFS+'
+ long: '--filesystem FILESYSTEM',
+ short: '-f FILESYSTEM',
+ description: 'Causes a filesystem of the specified type to be written to the image.'
option :volume_name,
- :long => '--volume-name NAME',
- :short => '-n NAME',
- :description => "Volume name of the newly created filesystem."
+ long: '--volume-name NAME',
+ short: '-n NAME',
+ description: 'Volume name of the newly created filesystem.'
class << self
def run
new.run(ARGV)
end