Class: Charyf::Command::ApplicationCommand

Inherits:
Base
  • Object
show all
Defined in:
lib/charyf/utils/commands/application/application_command.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from Base

banner, base_name, command_name, desc, desc_file, executable, hide_command!, inherited, namespace, perform, printing_commands

Methods included from Actions

#load_generators, #require_application_and_environment!, #start_interfaces!, #start_pipeline!

Instance Method Details

#helpObject



11
12
13
# File 'lib/charyf/utils/commands/application/application_command.rb', line 11

def help
  perform # Punt help output to the generator.
end

#perform(*args) ⇒ Object



15
16
17
18
# File 'lib/charyf/utils/commands/application/application_command.rb', line 15

def perform(*args)
  Charyf::Generators::AppGenerator.start \
    Charyf::Generators::ARGVScrubber.new(args).prepare!
end