Class: Jets::Command::Db::System::ChangeCommand
- Defined in:
- lib/jets/commands/db/system/change/change_command.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(positional_args, option_args) ⇒ ChangeCommand
constructor
A new instance of ChangeCommand.
- #perform ⇒ Object
Methods inherited from Base
banner, base_name, command_name, default_command_root, desc, engine?, executable, exit_on_failure?, #help, hide_command!, inherited, long_desc, namespace, perform, printing_commands, usage_path
Methods included from ApiHelpers
#check_for_error_message!, #no_token_exit!, #paging_params
Methods included from AwsHelpers
Methods included from AwsServices
#apigateway, #aws_lambda, #aws_options, #cfn, #dynamodb, #logs, #s3, #s3_resource, #sns, #sqs, #sts
Methods included from AwsServices::StackStatus
#lookup, #stack_exists?, #stack_in_progress?
Methods included from AwsServices::GlobalMemoist
Methods included from Actions
#load_generators, #load_tasks, #require_application!, #require_application_and_environment!, #set_application_directory!
Constructor Details
#initialize(positional_args, option_args) ⇒ ChangeCommand
Returns a new instance of ChangeCommand.
10 11 12 13 |
# File 'lib/jets/commands/db/system/change/change_command.rb', line 10 def initialize(positional_args, option_args, *) @argv = positional_args + option_args super end |
Instance Method Details
#perform ⇒ Object
15 16 17 18 19 |
# File 'lib/jets/commands/db/system/change/change_command.rb', line 15 def perform require "rails/generators" require "rails/generators/rails/db/system/change/change_generator" Rails::Generators::Db::System::ChangeGenerator.start(@argv) end |