Class: Pennyworth::CLI::Shell

Inherits:
Object
  • Object
show all
Defined in:
lib/pennyworth/cli/shell.rb

Overview

The main Command Line Interface (CLI) object.

Instance Method Summary collapse

Constructor Details

#initialize(context: Sod::Context, dsl: Sod) ⇒ Shell

Returns a new instance of Shell.



11
12
13
14
15
# File 'lib/pennyworth/cli/shell.rb', line 11

def initialize(context: Sod::Context, dsl: Sod, **)
  super(**)
  @context = context
  @dsl = dsl
end

Instance Method Details

#callObject



17
# File 'lib/pennyworth/cli/shell.rb', line 17

def call(...) = cli.call(...)