Skip to content

Get color code just will use for echoed recipe commands? #1702

@laniakea64

Description

@laniakea64

Sometimes in shebang recipes it is useful to be able to echo some individual commands before running, the same as just echoes commands during a non-shebang recipe. Prior to #1670 , simply using bold color when echoing those commands would do the job. Now, it's no longer known in advance how echoed commands would look.

Could a just function to help this please be added?

Perhaps it could wrap a string in color codes same as just would wrap an echoed recipe line? Or, alternatively, perhaps it could take no arguments and return the color code just would use for echoing recipe lines?

Thanks 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions