Skip to content

Improve CLI output reliability - #73

Merged
sauravpanda merged 1 commit into
mainfrom
agent/reliable-cli-output
Aug 19, 2026
Merged

sauravpanda merged 1 commit into
mainfrom
agent/reliable-cli-output

Conversation

@sauravpanda

Copy link
Copy Markdown
Owner

Summary

  • preserve gh authentication and PR lookup diagnostics instead of hiding them behind unknown
  • aggregate lookup failures into one end-of-command note while keeping JSON stdout clean
  • respect NO_COLOR and add a global --no-color flag
  • automatically disable ANSI colors when stdout is redirected or piped
  • document plain-output controls

Validation

  • go test -race ./...
  • go test ./...
  • go vet ./...
  • go build ./...
  • verified normal, NO_COLOR=1, and --no-color behavior in a pseudo-terminal
  • verified redirected output contains no color sequences

Closes #55
Closes #59

@sauravpanda
sauravpanda marked this pull request as ready for review August 19, 2026 00:18
@sauravpanda
sauravpanda merged commit a75460f into main Aug 19, 2026
2 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.

feat: support NO_COLOR env var and --no-color flag UX: "unknown" PR status hides the underlying gh failure reason

1 participant