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.2 lib/terraspace/cli/help.rb
terraspace-0.6.1 lib/terraspace/cli/help.rb
terraspace-0.6.0 lib/terraspace/cli/help.rb
terraspace-0.5.12 lib/terraspace/cli/help.rb
terraspace-0.5.11 lib/terraspace/cli/help.rb
terraspace-0.5.10 lib/terraspace/cli/help.rb
terraspace-0.5.9 lib/terraspace/cli/help.rb
terraspace-0.5.8 lib/terraspace/cli/help.rb
terraspace-0.5.7 lib/terraspace/cli/help.rb
terraspace-0.5.6 lib/terraspace/cli/help.rb
terraspace-0.5.5 lib/terraspace/cli/help.rb
terraspace-0.5.4 lib/terraspace/cli/help.rb
terraspace-0.5.3 lib/terraspace/cli/help.rb
terraspace-0.5.2 lib/terraspace/cli/help.rb
terraspace-0.5.1 lib/terraspace/cli/help.rb
terraspace-0.5.0 lib/terraspace/cli/help.rb
terraspace-0.4.4 lib/terraspace/cli/help.rb
terraspace-0.4.3 lib/terraspace/cli/help.rb
terraspace-0.4.2 lib/terraspace/cli/help.rb
terraspace-0.4.1 lib/terraspace/cli/help.rb