1.3 KiB
1.3 KiB
OpenSpec Change: enterprise-cli
Change ID: enterprise-cli
Date: 2026-04-20
Status: Shipped
Spec: docs/superpowers/specs/2026-04-20-readline-cli-design.md
Summary
Full enterprise rewrite of @suaveplan/cli — composable fluent CLI framework with subcommand routing, POSIX-style argument parsing, OTel tracing, and a complete set of terminal UI primitives. Depends on @suaveplan/readline rather than node:readline directly.
ADDED Requirements
App/cli()— root entry point with--version,--help, AbortSignal, onError handlerCommand— fluent builder:description,option,argument,alias,hidden,example,actionparseArgs/parseOptionFlags/parseArgumentSpec— POSIX-style argv parserstyle/createStyler— ANSI color proxy with chainable style codesheading,list,tree,columns,keyValue,json,divider,indent— text formatterstable— ASCII/Unicode bordered table renderercreateSpinner— TTY-aware animated spinner with AbortSignalcreateProgress— ASCII progress bar with TTY in-place updatetext,password,confirm,select,multiselect— interactive prompts with injectable reader factory- OTel spans on
App.run()andCommand.execute() - 100% istanbul coverage