Class: Duple::CLI::Root
- Inherits:
-
Thor
- Object
- Thor
- Duple::CLI::Root
- Includes:
- Helpers
- Defined in:
- lib/duple/cli/root.rb
Overview
Configures the high-level structure of the CLI sub-commands.
Class Method Summary collapse
-
.register(klass, task_name, description) ⇒ Object
HACK Override register to handle class_options for groups properly.
Methods included from Helpers
Class Method Details
.register(klass, task_name, description) ⇒ Object
HACK Override register to handle class_options for groups properly.
21 22 23 24 |
# File 'lib/duple/cli/root.rb', line 21 def self.register(klass, task_name, description) super(klass, task_name, task_name, description) tasks[task_name]. = klass. end |