Module: Pvectl::Commands::EditVolume::ClassMethods

Included in:
Pvectl::Commands::EditVolume
Defined in:
lib/pvectl/commands/edit_volume.rb

Overview

Class methods for command execution.

Instance Method Summary collapse

Instance Method Details

#execute(args, options, global_options) ⇒ Integer

Executes the edit volume command.

Parameters:

  • args (Array<String>)

    command arguments

  • options (Hash)

    command options

  • global_options (Hash)

    global CLI options

Returns:

  • (Integer)

    exit code



28
29
30
# File 'lib/pvectl/commands/edit_volume.rb', line 28

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