Module: Pvectl::Commands::SetResourceCommand::ClassMethods

Defined in:
lib/pvectl/commands/set_resource_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 set command.

Parameters:

  • args (Array<String>)

    command arguments

  • options (Hash)

    command options

  • global_options (Hash)

    global CLI options

Returns:

  • (Integer)

    exit code



31
32
33
# File 'lib/pvectl/commands/set_resource_command.rb', line 31

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