Class: Julewire::Core::CLI::Doctor
- Inherits:
-
Object
- Object
- Julewire::Core::CLI::Doctor
- Defined in:
- lib/julewire/core/cli/doctor.rb
Constant Summary collapse
- FLAGS =
{ "--color" => [:color, true], "--json" => %i[format json], "--no-color" => [:color, false], "--plain" => %i[theme plain], "--punk" => %i[theme punk], "--text" => %i[format text] }.freeze
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(argv:, stdout:) ⇒ Doctor
constructor
A new instance of Doctor.
Constructor Details
#initialize(argv:, stdout:) ⇒ Doctor
Returns a new instance of Doctor.
18 19 20 21 |
# File 'lib/julewire/core/cli/doctor.rb', line 18 def initialize(argv:, stdout:) @argv = argv @stdout = stdout end |