Sha256: 1955ec7ffdc2cde5ea1317194a3e0642f6e6c57df8b3b1c60788acc163aeb5d7

Contents?: true

Size: 275 Bytes

Versions: 56

Compression:

Stored size: 275 Bytes

Contents

class Terraspace::CLI
  class 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

56 entries across 56 versions & 1 rubygems

Version Path
terraspace-0.6.23 lib/terraspace/cli/help.rb
terraspace-0.6.22 lib/terraspace/cli/help.rb
terraspace-0.6.21 lib/terraspace/cli/help.rb
terraspace-0.6.20 lib/terraspace/cli/help.rb
terraspace-0.6.19 lib/terraspace/cli/help.rb
terraspace-0.6.18 lib/terraspace/cli/help.rb
terraspace-0.6.17 lib/terraspace/cli/help.rb
terraspace-0.6.16 lib/terraspace/cli/help.rb
terraspace-0.6.15 lib/terraspace/cli/help.rb
terraspace-0.6.13 lib/terraspace/cli/help.rb
terraspace-0.6.12 lib/terraspace/cli/help.rb
terraspace-0.6.11 lib/terraspace/cli/help.rb
terraspace-0.6.10 lib/terraspace/cli/help.rb
terraspace-0.6.9 lib/terraspace/cli/help.rb
terraspace-0.6.8 lib/terraspace/cli/help.rb
terraspace-0.6.7 lib/terraspace/cli/help.rb
terraspace-0.6.6 lib/terraspace/cli/help.rb
terraspace-0.6.5 lib/terraspace/cli/help.rb
terraspace-0.6.4 lib/terraspace/cli/help.rb
terraspace-0.6.3 lib/terraspace/cli/help.rb