Skip to content

feat: swap default UI mode to plain text (agent-first)#69

Merged
PennyroyalTea merged 4 commits intomainfrom
bs/swap-default-ui-mode
Mar 25, 2026
Merged

feat: swap default UI mode to plain text (agent-first)#69
PennyroyalTea merged 4 commits intomainfrom
bs/swap-default-ui-mode

Conversation

@PennyroyalTea
Copy link
Collaborator

@PennyroyalTea PennyroyalTea commented Mar 25, 2026

Summary

  • Inverts the default UI mode: plain text output is now the default (no flags needed), interactive Ink UI requires --human-friendly
  • --no-ui is kept for backwards compatibility as a no-op (plain text is already the default)
  • Adds --human-friendly option to all 20 command files, 5 parent command index files, and the main CLI entry point
  • Updates help view footers and shell completion scripts to reflect the new flag

Motivation

Most CLI users are agents/CI, not humans. The previous default (interactive Ink UI) was wrong for the primary audience.

Test plan

  • npm run build compiles without errors
  • npm test -- all 192 tests pass
  • elevenlabs (no args) -- prints plain text help (not Ink UI)
  • elevenlabs --human-friendly -- shows Ink UI help
  • elevenlabs agents -- prints plain text agents help
  • elevenlabs agents --human-friendly -- shows Ink agents help
  • elevenlabs agents push --no-ui -- works same as elevenlabs agents push (plain text)
  • elevenlabs agents push --human-friendly -- shows Ink push UI

🤖 Generated with Claude Code

Most CLI users are agents/CI, not humans. Invert the default so plain
text output is the default and interactive Ink UI requires opting in
with --human-friendly. Keep --no-ui for backwards compatibility (no-op).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PennyroyalTea and others added 3 commits March 25, 2026 12:01
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Commander doesn't reliably pass parsed options to parent command action
handlers when subcommands are registered. Check process.argv directly
instead, consistent with how cli.ts already handles it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@PennyroyalTea PennyroyalTea merged commit 166207b into main Mar 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants