Skip to content

Allow non-colored output #56

@cdoepmann

Description

@cdoepmann

Currently, paperless-cli seems to unconditionally use colors for its output which makes the output unreadable in my setup (I am using the solarized theme):

2024-01-24_09-49

While handling such edge cases may be out of scope for this tool, it would be nice to add an option to use uncolored output so the tool can be used in such environments. Also, I noticed that colors are used even if the output is redirected to a file etc. I would suggest only enabling output colors by default if stdout goes to a terminal, as is done by many other tools and probably the best practice when offering colored output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions