module InspecTools::Help
Public Class Methods
text(namespaced_command)
click to toggle source
# File lib/inspec_tools/help.rb, line 4 def text(namespaced_command) path = namespaced_command.to_s.tr(':', '/') path = File.expand_path("../help/#{path}.md", __FILE__) IO.read(path) if File.exist?(path) end