Class: LabelWeaver::CLI::Shell
- Inherits:
-
Object
- Object
- LabelWeaver::CLI::Shell
- Defined in:
- lib/label_weaver/cli/shell.rb
Overview
The main Command Line Interface (CLI) object.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(context: Sod::Context, dsl: Sod) ⇒ Shell
constructor
A new instance of Shell.
Constructor Details
#initialize(context: Sod::Context, dsl: Sod) ⇒ Shell
Returns a new instance of Shell.
11 12 13 14 15 |
# File 'lib/label_weaver/cli/shell.rb', line 11 def initialize(context: Sod::Context, dsl: Sod, **) super(**) @context = context @dsl = dsl end |
Instance Method Details
#call ⇒ Object
17 |
# File 'lib/label_weaver/cli/shell.rb', line 17 def call(...) = cli.call(...) |