Class: Lilac::CLI::Subcommand::Doctor
- Defined in:
- lib/lilac/cli/subcommand/doctor.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Lilac::CLI::Subcommand::Base
Instance Method Details
#run ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/lilac/cli/subcommand/doctor.rb', line 11 def run opts = parse_opts config = Config.load( root: opts[:root], components_dir: opts[:components], pages_dir: opts[:pages], output_dir: opts[:output], public_dir: opts[:public], ) # Fully qualify the outer Doctor class to disambiguate from # the enclosing `Subcommand::Doctor` we're inside. ::Lilac::CLI::Doctor.new(config, out: @out).run end |