bun installbun run src/cli.tsx [path-to-questions]Pass a JSON file (e.g. sample_questions.json) to preview question flows in the Ink-powered CLI.
bun run buildThe script creates dist/questionnaire, a standalone binary produced via bun build --compile. After bundling, run the CLI directly:
./dist/questionnaire sample_questions.jsonVerify the binary prints the first prompt and basic navigation works before distributing it.
bun run publishThe script rebuilds the CLI and symlinks dist/questionnaire to $HOME/bin/questionnaire. Ensure $HOME/bin is on your PATH, then invoke the tool globally via questionnaire.
This project was created using bun init in bun v1.3.1. Bun is a fast all-in-one JavaScript runtime.