Sha256: d3e25851e60b207150032a31279f38fb07114120e0d6d48d205234e8b5f30e79

Contents?: true

Size: 535 Bytes

Versions: 8

Compression:

Stored size: 535 Bytes

Contents

module Octopress
  class Doctor < Command
    def self.init_with_program(p)
      p.command(:doctor) do |c|
        c.alias(:hyde)

        c.syntax 'doctor'
        c.description 'Search site and print specific deprecation warnings'
        CommandHelpers.add_common_options c

        c.action do |args, options|
          options = CommandHelpers.normalize_options(options)
          options = Jekyll.configuration(options.to_symbol_keys)
          Jekyll::Commands::Doctor.process(options)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
octopress-3.0.0.rc.8 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.7 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.6 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.5 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.4 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.3 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.2 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.1 lib/octopress/commands/doctor.rb