Class: Hashira::CLI::CommandLine
- Inherits:
-
Object
- Object
- Hashira::CLI::CommandLine
- Defined in:
- lib/hashira/cli/command_line.rb
Constant Summary collapse
- DEFAULT_BASELINE =
"hashira_baseline.json"- FORMATS =
%w[text json dot mermaid].freeze
- CI_FLAGS =
{ "--update-baseline" => :update_baseline, "--ratchet" => :ratchet }.freeze
Instance Method Summary collapse
-
#initialize(argv) ⇒ CommandLine
constructor
A new instance of CommandLine.
- #options ⇒ Object
Constructor Details
#initialize(argv) ⇒ CommandLine
Returns a new instance of CommandLine.
12 13 14 |
# File 'lib/hashira/cli/command_line.rb', line 12 def initialize(argv) @arguments = argv.dup end |
Instance Method Details
#options ⇒ Object
16 |
# File 'lib/hashira/cli/command_line.rb', line 16 def = || |