Module: Tr3llo::View::Card::Help

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

Instance Method Summary collapse

Instance Method Details

#renderObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/3llo/view/card/help.rb', line 7

def render()
  <<~HELP.strip
  #{Utils.format_bold("# Available card commands:")}

  card list               - Show list of cards grouped by list
  card list-mine          - Show list of my cards
  card add                - Create a card
  card show <key>         - Show card information
  card move <key>         - Move card to a list
  card self-assign <key>  - Self-assign a card
  card assign <key>       - Assign a user to a card
  card comments <key>     - Load recent comments of a card
  card comment <key>      - Add a comment to a card
  card archive <key>      - Archive a card
  card add-label <key>    - Label a card

  #{Utils.format_bold("# Available checklist commands:")}

  card add-checklist <card_key>            - Create a checklist on a card
  card edit-checklist <checklist_key>      - Edit a checklist
  card remove-checklist <checklist_key>    - Remove a checklist
  card add-item <checklist_key>            - Add an item to a checklist
  card edit-item <card_key> <item_key>     - Edit an item
  card check-item <card_key> <item_key>    - Mark an item as complete
  card uncheck-item <card_key> <item_key>  - Mark an item as incomplete
  card remove-item <card_key> <item_key>   - Remove an item
  HELP
end