Method: Webgen::CLI::CreateBundleCommand#execute

Defined in:
lib/webgen/cli/commands/create_bundle.rb

#execute(bundle_name, directory = nil) ⇒ Object

:nodoc:



28
29
30
31
# File 'lib/webgen/cli/commands/create_bundle.rb', line 28

def execute(bundle_name, directory = nil) # :nodoc:
  directory ||= bundle_name
  command_parser.website.execute_task(:create_bundle, bundle_name, @type, directory)
end