Skip to content

As a User of CLI applications I want an enhanced version of Error which includes human-friendly output beside the error. #3

@dimus

Description

@dimus

Error messages in logs are great for developers, but not very good for consumers/users of CLI apps. I want an error that includes Output method. Such error contains user friendly text printed to STDOUT with simple markup to color parts of the message. It's New method takes a map with variables that have to be included to fill out placeholders in the message. This structure might also have settings how to define color of marked up sections of the text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions