Skip to content

duggthangs/questionnaire_cli

Repository files navigation

questions_plugin_opus

Install

bun install

Run locally

bun 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.

Bundle into a single executable

bun run build

The script creates dist/questionnaire, a standalone binary produced via bun build --compile. After bundling, run the CLI directly:

./dist/questionnaire sample_questions.json

Verify the binary prints the first prompt and basic navigation works before distributing it.

Publish locally

bun run publish

The 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.

About

Cli that takes a json structure and converts it to an interactive questionnaire for the user to interact with

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors