Class: LintFu::CLI::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/lint_fu/cli/command.rb

Overview

Base class for CLI commands

Direct Known Subclasses

Prune, Scan

Instance Method Summary collapse

Constructor Details

#initialize(options) ⇒ Command

Returns a new instance of Command.



4
5
6
# File 'lib/lint_fu/cli/command.rb', line 4

def initialize(options)
  @options = options
end

Instance Method Details

#runObject

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/lint_fu/cli/command.rb', line 8

def run
  raise NotImplementedError
end