Class: Git::Lint::CLI::Shell

Inherits:
Object
  • Object
show all
Defined in:
lib/git/lint/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.



12
13
14
15
16
# File 'lib/git/lint/cli/shell.rb', line 12

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

Instance Method Details

#callObject



18
# File 'lib/git/lint/cli/shell.rb', line 18

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