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