Skip to content

Add global --test flag to suppress output during unit testing #81

@dreamer-coding

Description

@dreamer-coding

Summary

Introduce a global --test flag to suppress or minimize command output during unit testing.

Motivation

Unit tests require predictable and clean output. Current commands may produce verbose or inconsistent output, making testing difficult.

Proposed Solution

Implement a global --test flag that disables standard output, logs only essential data, or redirects output to a controlled format suitable for testing.

Alternatives Considered

Mocking or redirecting output externally, which adds complexity and reduces consistency.

Additional Context

Improves testability and reliability across all commands

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions