Skip to content

feat(cli): add --no-color flag to disable colored output #82

@ChristopherJHart

Description

@ChristopherJHart

Rich auto-detects TTY and disables colors when piped, but there's no explicit flag to force plain output when running in a TTY (useful for CI environments that log terminal output, or user preference).

Requirements

  • Add --no-color flag to run, validate, and reconcile commands
  • Pass no_color=True to Rich Console instances when set
  • Also respect the NO_COLOR environment variable (see https://no-color.org/)

References

docs/08-output-logging-design.md — "TTY Detection and Graceful Degradation" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions