Sha256: 879d7651d51e53c0517a354f40813feb844e7ec84ed9a2d0e89c651a15a4b646
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
module Bebox module GeneralCommands def self.extended(base) base.load_commands end def load_commands # Project creation phase command desc 'Create a new bebox project through a simple wizard' arg_name '[project_name]' command :new do |project_command| project_command.action do |global_options,options,args| if args.count > 0 require 'bebox/wizards/project_wizard' Bebox::ProjectWizard.new.create_new_project("bebox-#{args.first}") else help_now!(error('You did not supply a project name')) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bebox-0.0.1 | lib/bebox/commands/general_commands.rb |