Class: Charyf::Command::CliCommand
- Includes:
- EnvironmentArgument
- Defined in:
- lib/charyf/utils/commands/cli/cli_command.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods included from EnvironmentArgument
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
113 114 115 116 117 118 119 120 121 122 |
# File 'lib/charyf/utils/commands/cli/cli_command.rb', line 113 def perform extract_environment_option # CHARYF_ENV needs to be set before application is required. ENV["CHARYF_ENV"] = [:environment] require_application_and_environment! Charyf::CLI.start end |