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, "--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.
10 11 12 |
# File 'lib/hashira/cli/command_line.rb', line 10 def initialize(argv) @arguments = Hashira::CLI::Arguments.new(argv) end |
Instance Method Details
#options ⇒ Object
14 |
# File 'lib/hashira/cli/command_line.rb', line 14 def = shortcuts || parsed |