Class: SMPTool::CLI::Commands::Resize

Inherits:
VolumeOperation show all
Defined in:
lib/smp_tool/cli/commands/resize.rb

Overview

Command to change volume size.

Instance Method Summary collapse

Instance Method Details

#call(input:, n_clusters:, **options) ⇒ Object



17
18
19
20
21
22
23
24
# File 'lib/smp_tool/cli/commands/resize.rb', line 17

def call(input:, n_clusters:, **options)
  Executor::Resizer.new(
    input: input,
    n_clusters: n_clusters,
    logger: _logger(options[:verbosity]),
    **options
  ).call
end