Sha256: b9621439c7bb000323287bd4a8ddbb5b97b8bc08e436740dd1f4167f78a24242

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

class CliDocs::CLI
  module Help
    class << self
      def text(namespaced_command)
        path = namespaced_command.to_s.gsub(':','/')
        path = File.expand_path("../help/#{path}.md", __FILE__)
        IO.read(path) if File.exist?(path)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cli-docs-0.1.0 lib/cli_docs/cli/help.rb