Sha256: b57cda51b951ddef959d04dece5925cfd7df18c612ad58dd368ff51d6c1594c0

Contents?: true

Size: 245 Bytes

Versions: 2

Compression:

Stored size: 245 Bytes

Contents

module TicktokCli::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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ticktok-cli-0.1.2 lib/ticktok_cli/help.rb
ticktok-cli-0.1.1 lib/ticktok_cli/help.rb