Module: Fet::Cli::Generate::Listening

Defined in:
lib/fet/cli/generate/listening.rb

Overview

CLI implementation for the “generate listening” command

Class Method Summary collapse

Class Method Details

.run(_global_options, options, _args) ⇒ Object



8
9
10
11
12
13
14
15
# File 'lib/fet/cli/generate/listening.rb', line 8

def self.run(_global_options, options, _args)
  Fet::Generator::Listening.new(
    exercises: options[:exercises],
    tempo: options[:tempo],
    degrees: options[:degrees],
    all_single_degree: options[:"all-single-degree"],
  ).generate
end