Sha256: 12081d117c7f29e502e0d03ba47683c887aff89bc49cde3ba9af549fe8545a27

Contents?: true

Size: 257 Bytes

Versions: 13

Compression:

Stored size: 257 Bytes

Contents

module TerraspaceBundler::CLI::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

13 entries across 13 versions & 1 rubygems

Version Path
terraspace-bundler-0.5.0 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.4.4 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.4.3 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.4.2 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.4.1 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.4.0 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.3.4 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.3.3 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.3.2 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.3.1 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.3.0 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.2.0 lib/terraspace_bundler/cli/help.rb
terraspace-bundler-0.1.0 lib/terraspace_bundler/cli/help.rb