Skip to content

Releases: crafter-station/survey-cli

v0.0.1 — first release

30 Apr 07:08

Choose a tag to compare

First release of @crafter/survey-cli.

Run surveys from your terminal. Agent-friendly, type-safe, OSS.

Highlights

  • defineSurvey() helper — type-safe survey schema in <5 lines TS
  • Three modes: interactive (clack TUI), agent batch (--answers '{...}' or stdin JSON), resume from in-progress
  • Branching via TS function (no DSL), validation via Zod
  • Six question types: text, longtext, select, multiselect, confirm, number
  • Local JSON storage at `~/.survey-cli//.json`
  • CSV export, schema introspection, in-progress resume

Install

```bash
bunx @crafter/survey-cli take onboarding

or

bun add -g @crafter/survey-cli
```

Links