Skip to content

drsh4dow/pi-questions

Repository files navigation

pi-questions

npm version CI

One Pi tool for asking the user.

Sometimes Pi needs input from the user. The user - yes, you - does not want to type it into chat. This is the tool for that.

Install

pi install npm:pi-questions

What it does

pi-questions adds ask_questions.

The tool opens a small TUI flow, asks one or more questions, and returns the answers as structured data.

Each question can have short options. A custom answer is always available.

Behavior

  • asks questions in the interactive TUI
  • supports selectable options
  • always includes Write your own answer
  • supports a review step for multiple questions
  • returns normal results for cancel and non-interactive sessions

Controls

  • j/k or arrows: move
  • 1-9: pick option
  • Enter: select or submit
  • h/←: back
  • l: select
  • Esc: cancel

About

Structured and minimal ask_questions tool for Pi planning and clarification flows

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors