Skip to content

fix(ls): unify piped and non-piped output (workbench backwards compat)#292

Merged
theFong merged 1 commit intomainfrom
fix/ls-unified-output
Feb 25, 2026
Merged

fix(ls): unify piped and non-piped output (workbench backwards compat)#292
theFong merged 1 commit intomainfrom
fix/ls-unified-output

Conversation

@theFong
Copy link
Member

@theFong theFong commented Feb 25, 2026

Summary

  • Remove piped vs non-piped output branching in brev ls and brev ls orgs — both now always use the colored table format
  • Keep plain table variants as unused functions for future use once Workbench stops depending on the colored output

Test plan

  • Run brev ls interactively and verify colored table output
  • Run brev ls | cat and verify same output (colors auto-disabled by fatih/color)
  • Run brev ls | grep RUNNING | awk '{print $1}' | brev stop and verify piping still works
  • Run brev ls orgs and brev org ls and verify consistent output

Workbench depends on parsing the colored output from brev ls, so remove
the piped/non-piped branching and always use the rich colored table.
The plain variants are kept for future use once Workbench stops
depending on the colored format.
@theFong theFong requested a review from a team as a code owner February 25, 2026 00:16
@theFong theFong changed the title fix(ls): unify piped and non-piped output fix(ls): unify piped and non-piped output (workbench backwards compat) Feb 25, 2026
@theFong theFong merged commit d6c87a2 into main Feb 25, 2026
9 checks passed
@theFong theFong deleted the fix/ls-unified-output branch February 25, 2026 00:39
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.

3 participants