Module: Bones::App

Defined in:
lib/bones/app.rb,
lib/bones/app/info.rb,
lib/bones/app/create.rb,
lib/bones/app/freeze.rb,
lib/bones/app/plugins.rb,
lib/bones/app/unfreeze.rb,
lib/bones/app/file_manager.rb

Defined Under Namespace

Classes: Command, Create, FileManager, Freeze, Info, Main, Plugins, Unfreeze

Constant Summary collapse

Error =
Class.new(StandardError)

Class Method Summary collapse

Class Method Details

.run(args = nil) ⇒ Object

Create a new instance of Main, and run the bones application given the command line args.



14
15
16
17
# File 'lib/bones/app.rb', line 14

def self.run( args = nil )
  args ||= ARGV.dup.map! { |v| v.dup }
  ::Bones::App::Main.new.run args
end