Module: Pike13::CLI::Commands::Concerns::FormattableCommand

Defined in:
lib/pike13/cli/commands/concerns/formattable_command.rb

Overview

Module to add formatting capabilities to Thor commands Include this in command classes and call ‘add_format_options` on methods

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



10
11
12
# File 'lib/pike13/cli/commands/concerns/formattable_command.rb', line 10

def self.included(base)
  base.extend(ClassMethods)
end