Class: SMPTool::CLI::Commands::New

Inherits:
BaseCommand
  • Object
show all
Defined in:
lib/smp_tool/cli/commands/new.rb

Overview

Command to create a new volume.

Instance Method Summary collapse

Instance Method Details

#call(output:, basic:, **options) ⇒ Object



57
58
59
60
61
62
63
64
# File 'lib/smp_tool/cli/commands/new.rb', line 57

def call(output:, basic:, **options)
  Executor::Creator.new(
    output: output,
    volume_specs: _parse_vol_specs(basic, options),
    logger: _logger(options[:verbosity]),
    **options
  ).call
end