Class: Jun::CLI::Commands::New

Inherits:
Base show all
Defined in:
lib/jun/cli/commands/new.rb

Instance Method Summary collapse

Methods inherited from Base

command_name

Instance Method Details

#process(*args) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/jun/cli/commands/new.rb', line 10

def process(*args)
  if Jun.root
    puts "Already in a Jun app..."
  else
    generate_new_app(args.first)
  end
end