Add --quiet as an intermediary log option between --silent and --verbose #1072
regisphilibert
started this conversation in
Proposal
Replies: 1 comment 1 reply
-
What about the other logs? What should we hide and what should we remove? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Summary
Introducing a new cli flag
--quiet
as an intermediary between--silent
and--verbose
which would slim down the default log by limiting individual file log to route files rather than html files. This proposal acts as a bump/revival of this conversation.Background & Motivation
Astro logs print every successful html file built which can be very helpful but bloats the build log and, on big projects, makes navigating to the critical info (usually at the bottom) a very long scroll. (especially on CI UX like Netlify or Cloudflare). Often, terminal apps will even cut the top of the log making it impossible to access the information relating to the start of the build.
Goals
Slimming logs down by omitting files built and limiting it to the route file used and the amount of time spent on its generated files. Could also print the number of pages built.
Example
Using
astro build
:Using the new
astro build --quiet
Beta Was this translation helpful? Give feedback.
All reactions