Class: QueryGuard::CLI::Command

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

Overview

Base class for CLI commands

Instance Method Summary collapse

Constructor Details

#initialize(path, options = {}) ⇒ Command

Returns a new instance of Command.



7
8
9
10
11
# File 'lib/query_guard/cli/command.rb', line 7

def initialize(path, options = {})
  @path = path
  @options = options
  @formatter = Formatter.new(options)
end