@battlestack/tui
v1.4.0
Published
Battlestack terminal-UI layer: banner, spinner, colors, prompts, and scaffold-selection helpers shared by the CLI and presets.
Readme
@battlestack/tui
The shared terminal-UI layer for
battlestack: banner, spinner,
colors, prompts, and the scaffold-selection helpers used by both the CLI and
its presets.
Install battlestack to use it — it depends on this package already. Depend
on this one directly only if you are writing a plugin that prompts the user
and wants to match the CLI's look and its non-interactive behaviour.
npm install @battlestack/tuiNon-interactive behaviour
Every prompt helper here honours --yes, CI, and the other
non-interactive signals through one shared check, so a plugin that uses these
helpers keeps working unattended in CI instead of hanging on a prompt nobody
is there to answer. That consistency is the main reason to reach for this
package rather than calling a prompt library directly.
License
MIT © SevenLab
