module DTK::Client::CLI::Command
Constants
- ALL_COMMANDS
above must be included before below
Public Class Methods
all_command_modules()
click to toggle source
# File lib/cli/command.rb, line 37 def self.all_command_modules all_command_names.map { |command| command_module(command) } end
all_command_names()
click to toggle source
# File lib/cli/command.rb, line 33 def self.all_command_names ALL_COMMANDS end
command_module(command_name)
click to toggle source
# File lib/cli/command.rb, line 29 def self.command_module(command_name) const_get command_name.to_s.capitalize end