-
What this package is Ink-based terminal UI for the Flux CLI.
-
When you use it Use it when you want an interactive TTY UI on top of the CLI command set.
-
Install
pnpm add @flux-lang/cli-ui- Basic usage
import { runCliUi } from "@flux-lang/cli-ui";
import { coerceVersionInfo } from "@flux-lang/brand";
await runCliUi({ cwd: process.cwd(), versionInfo: coerceVersionInfo({ version: "0.1.13" }) });- Reference
- Public entry point:
@flux-lang/cli-ui→src/index.tsx - UI launcher:
runCliUi(calls Inkrender()with the app shell) - State exports:
dashboard-machine
-
How it relates to IR/runtime The UI delegates all parsing/rendering/runtime work to
@flux-lang/cli-coreand surfaces status for docstep/time/seed. -
Gotchas & troubleshooting
- The UI is intended for TTY environments; for non-interactive usage, use the plain CLI with
--no-ui.
-
Versioning / compatibility notes TBD / Not yet implemented.
-
Links
- Root Flux manual:
../../README.md - Source:
src/