Sha256: 0fed74f58f71bb4ed1b3f392d84b2a9f061260ac6bbd321553fc16f0d6540c5e

Contents?: true

Size: 520 Bytes

Versions: 7

Compression:

Stored size: 520 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)
          Jekyll::Commands::Doctor.process(options)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
octopress-3.0.0.rc.15 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.14 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.13 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.12 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.11 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.10 lib/octopress/commands/doctor.rb
octopress-3.0.0.rc.9 lib/octopress/commands/doctor.rb