module Lono::Help
Public Class Methods
markdown()
click to toggle source
Generates a markdown file for site docuemtation
# File lib/lono/help.rb, line 11 def markdown end
text(namespaced_command)
click to toggle source
namespaced_command: cfn/create or cfn:create both work.
# File lib/lono/help.rb, line 4 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