Skip to content

consider adding an env var or global persistent flag for parsable error output #50

@FalcoSuessgott

Description

@FalcoSuessgott

Currently fang will wrap the error in something like this:

Image

While that is a nice UI, I believe it will potentially lead to breaking peoples scripts and automations in which they are running commands and work with the output or want to parse the error output of the command.

I believe adding an env var (e.g FANG_DISABLE_ERROR_OUTPUT) or introducing a global flag (--disable-error-output) that allows to preserve the original error output of the CLI tool and offer a way forward to work with CLIs that include fang in scripts or CI pipelines.

Let me know what you think

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions