Class: QueryGuard::CLI::Command
- Inherits:
-
Object
- Object
- QueryGuard::CLI::Command
- Defined in:
- lib/query_guard/cli/command.rb
Overview
Base class for CLI commands
Direct Known Subclasses
QueryGuard::CLI::Commands::Analyze, QueryGuard::CLI::Commands::Check
Instance Method Summary collapse
-
#initialize(path, options = {}) ⇒ Command
constructor
A new instance of Command.
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, = {}) @path = path = @formatter = Formatter.new() end |