Module: Fet::Cli::Generate::ListeningCommand
- Defined in:
- lib/fet/cli/generate/listening_command.rb
Overview
Defines the CLI “generate listening” command
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/fet/cli/generate/listening_command.rb', line 8 def self.included(klass) klass.class_eval do extend ClassMethods desc("Generate MIDI files for ear training") command(:generate) do |c| define_listening_command(c) end end end |