Module: Pvectl::Commands::MigrateCommand::ClassMethods

Defined in:
lib/pvectl/commands/migrate_command.rb

Overview

Class methods added when the module is included.

Instance Method Summary collapse

Instance Method Details

#execute(args, options, global_options) ⇒ Integer

Executes the migrate command.

Parameters:

  • args (Array<String>)

    resource identifiers

  • options (Hash)

    command options

  • global_options (Hash)

    global CLI options

Returns:

  • (Integer)

    exit code



33
34
35
# File 'lib/pvectl/commands/migrate_command.rb', line 33

def execute(args, options, global_options)
  new(args, options, global_options).execute
end