lib/jets/commands/markdown/page.rb
# Use command's long description as main description
Use command's long description as main description
Use command ' s long description as main description
def long_description
      text = @command.long_description
      return "" if text.nil? 
      lines = text.split("\n")
      lines.map do |line|
        line.sub(/^  \b/, '    ')
      end.join("\n")
    end
def long_description text = @command . long_description return "" if text . nil? lines = text . split ( "\n" ) lines . map do | line | line . sub ( / ^   \b / , '    ' ) end . join ( "\n" ) end
Use command's long description as main description
Use command ' s long description as main description
# empty description # In the CLI help, we use 2 spaces to designate commands # In Markdown we need 4 spaces.