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

Overhaul terminal output with gluegun #28

Merged
merged 5 commits into from
Aug 29, 2024
Merged

Conversation

irskep
Copy link
Owner

@irskep irskep commented Aug 29, 2024

Fix #8.

I'm really not crazy about gluegun as a whole, but it's the only thing I can find with a sane API and behavior for showing a spinner and printing some output.

The general idea is that most operations are shown with a spinner, and if there were any interesting logs, print them after the operation is over.

> bun src/cli.ts docs --local
✔ Parsing documents
✔ Setting up plugins
✔ Highlighting code blocks
✔ Transform pass 1 of 1
✔ Connecting pages
✔ Copying static files from templates/html to docs/out/html
✔ Copying static files from docs/src to docs/out/html
✔ Rendering html
    Not sure what to do with link contributing/building_and_running#indexterm-4 in plugins/indexterms

@irskep irskep merged commit 37a9e79 into main Aug 29, 2024
4 checks passed
@irskep irskep deleted the feature/terminal-output branch August 29, 2024 22:56
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

Successfully merging this pull request may close these issues.

Overhaul logging and error reporting
1 participant