Skip to content

Commit

Permalink
chore: update checkbox docs
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Jan 14, 2023
1 parent 9b8a33e commit 8d3e973
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions tackle/providers/prompts/.tackle.meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,18 @@ hook_examples:
● things
checkbox:
- description: The basic versions of the `select` can be called in these ways
content->: "{{select_content}}"
output_text->: "{{select_output_text}}"
output->: "{{select_output}}"
- description: The basic versions of the `checkbox` hook can be called in these ways
content->: "{{checkbox_content}}"
output_text->: "{{checkbox_output_text}}"
output->: "{{checkbox_output}}"

- description: Other versions can use custom prompts for the choices
- description: Other versions can use custom prompts for the choices and output the key.
content->: file tests/checkbox/map.yaml
output_text: |
? What you do?
❯ ◉ I do stuff
◉ I do things
output: |
? What you do? (Use arrow keys)
❯ I do stuff
I do things
selection:
- stuff
- things

0 comments on commit 8d3e973

Please sign in to comment.