Module: Tr3llo::View::Help

Extended by:
Help
Included in:
Help
Defined in:
lib/3llo/view/help.rb

Instance Method Summary collapse

Instance Method Details

#miscellaneous_helpObject



23
24
25
26
27
28
29
30
# File 'lib/3llo/view/help.rb', line 23

def miscellaneous_help()
  <<~TEMPLATE.strip
  #{Utils.format_bold("# Miscellaneous commands:")}

  help  - Display this help message
  exit  - Exit the program
  TEMPLATE
end

#renderObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'lib/3llo/view/help.rb', line 6

def render()
  <<~TEMPLATE.strip
  #{Utils.format_bold(Utils.paint("3llo v#{Tr3llo::VERSION} - Interactive CLI application for Trello", "blue"))}


  #{View::Board::Help.render()}

  #{View::Card::Help.render()}

  #{View::List::Help.render()}

  #{View::Label::Help.render()}

  #{miscellaneous_help()}
  TEMPLATE
end