Module: Kubes::CLI::Help
- Defined in:
- lib/kubes/cli/help.rb
Class Method Summary collapse
Class Method Details
.text(namespaced_command) ⇒ Object
4 5 6 7 8 |
# File 'lib/kubes/cli/help.rb', line 4 def text(namespaced_command) path = namespaced_command.to_s.gsub(':','/') path = File.("../help/#{path}.md", __FILE__) IO.read(path) if File.exist?(path) end |