feat: swap default UI mode to plain text (agent-first)#69
Merged
PennyroyalTea merged 4 commits intomainfrom Mar 25, 2026
Merged
feat: swap default UI mode to plain text (agent-first)#69PennyroyalTea merged 4 commits intomainfrom
PennyroyalTea merged 4 commits intomainfrom
Conversation
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>
PaulAsjes
approved these changes
Mar 25, 2026
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--human-friendly--no-uiis kept for backwards compatibility as a no-op (plain text is already the default)--human-friendlyoption to all 20 command files, 5 parent command index files, and the main CLI entry pointMotivation
Most CLI users are agents/CI, not humans. The previous default (interactive Ink UI) was wrong for the primary audience.
Test plan
npm run buildcompiles without errorsnpm test-- all 192 tests passelevenlabs(no args) -- prints plain text help (not Ink UI)elevenlabs --human-friendly-- shows Ink UI helpelevenlabs agents-- prints plain text agents helpelevenlabs agents --human-friendly-- shows Ink agents helpelevenlabs agents push --no-ui-- works same aselevenlabs agents push(plain text)elevenlabs agents push --human-friendly-- shows Ink push UI🤖 Generated with Claude Code