-
Notifications
You must be signed in to change notification settings - Fork 206
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
Use Streams
interface for xsl info/warings/errors
#2136
Comments
Perhaps related: XSL processing log is now communicated better. Comments on the CLI side: Code: Beautiful error messages are not a priority. Complete, helpful, robust messages are. There's lots of room for improvment here, something I started to work on back in Ann Arbor, June 2022. We use threads to communicate the XSL log on-the-fly. Maybe streams would be just as good, and better for other aspects. But unlikely to bubble-up in my queue anytime real soon. |
Python supports Streams which allow for forwarding data as it arrives.
It would be nice if the CLI could filter/group warnings and info that is generated by the XSL. One way to do this would be if pretext core produced a stream rather than writing to stdout/stderr.
@oscarlevin Would a stream help the CLI make the output more friendly?
The text was updated successfully, but these errors were encountered: