Class: Charyf::Command::GenerateCommand
- Defined in:
- lib/charyf/utils/commands/generate/generate_command.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods inherited from Base
banner, base_name, command_name, desc, desc_file, executable, #help, hide_command!, inherited, namespace, perform, printing_commands
Methods included from Actions
#load_generators, #require_application_and_environment!, #start_interfaces!, #start_pipeline!
Instance Method Details
#perform ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/charyf/utils/commands/generate/generate_command.rb', line 18 def perform(*) generator = args.shift return help unless generator require_application_and_environment! load_generators ARGV.shift Charyf::Generators.invoke generator, args, behavior: :invoke, destination_root: Charyf::Command.root end |