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
Helpers for error messages #38
Comments
r-lib/fs@df2252a is the code I am using in fs for this |
Maybe #37 is relevant here, the inline markup part. |
Should this be in cli at all? Shall we use glue for the formatting? I think we already have some of these functions in other packages, no? Where? |
I think some of probably belong in cli — e.g. cli should provide standard colours + text formatting for when we put an argument name or a string in a message. But maybe you're thinking that should live in a higher level package where those settings can be controlled with a theme? |
A common theme would be definitely nice. Theming is now in the cliapp package, but that's a bit too heavy as it is now, for a low-level infrastructure package, it needs xml2, selectr, progress. It is possible that we don't need hierarchical theming for CLI apps. OTOH it is really nice to have it. We can work on thinning its dependencies. |
OK, this will be proposed for after the coming 1.1.0 version, and I'll collect some use cases and mock up some API. |
(Meta issue, will edit as I come across more small helpers):
The text was updated successfully, but these errors were encountered: