Module: Fet::Cli::Generate::SingingCommand

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

Overview

Defines the CLI “generate singing” 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
# File 'lib/fet/cli/generate/singing_command.rb', line 8

def self.included(klass)
  klass.class_eval do
    extend ClassMethods

    command(:generate) do |c|
      define_singing_command(c)
    end
  end
end