Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
laniakea64 opened this issue Oct 16, 2023 · 0 comments
Open

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

laniakea64 opened this issue Oct 16, 2023 · 0 comments

Comments

@laniakea64
Copy link
Contributor

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 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant