Sha256: 916a94d3d0cfdbf2fe35920af863e8b8035d6117b3c1f554a9879d2fc2605256

Contents?: true

Size: 281 Bytes

Versions: 8

Compression:

Stored size: 281 Bytes

Contents

require 'thor'

class Thor
  def self.document(task)
    usage   = I18n.t("cli.#{namespace}.#{task}.command")
    summary = I18n.t("cli.#{namespace}.#{task}.summary")
    detail  = I18n.t("cli.#{namespace}.#{task}.detail")

    desc(usage, summary)
    long_desc(detail)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
search-kit-0.0.10 lib/search_kit/thor.rb
search-kit-0.0.9 lib/search_kit/thor.rb
search-kit-0.0.8 lib/search_kit/thor.rb
search-kit-0.0.7 lib/search_kit/thor.rb
search-kit-0.0.6 lib/search_kit/thor.rb
search-kit-0.0.5 lib/search_kit/thor.rb
search-kit-0.0.4 lib/search_kit/thor.rb
search-kit-0.0.3 lib/search_kit/thor.rb