Sha256: b5640008517b2dbfaa6b9b2efb95cdc28ba1fef339b94d7845d480c55321fc73

Contents?: true

Size: 621 Bytes

Versions: 2

Compression:

Stored size: 621 Bytes

Contents

module Octopress
  module Ink
    module Commands
      class Info
        def self.process_command(p)
          p.command(:info) do |c|
            c.syntax "octopress ink info [plugin] [options]"
            c.description "Get info about octopress ink plugins"
            CommandHelpers.add_asset_options(c)

            c.action do |args, options|
              if args.empty?
                Octopress::Ink.info
              else
                name = args.first
                puts Octopress::Ink.plugin_info(name, options)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
octopress-ink-1.0.0.alpha.33 lib/octopress-ink/commands/info.rb
octopress-ink-1.0.0.alpha.32 lib/octopress-ink/commands/info.rb