aschmelyun / cleaver

🔥🔪 A blazing-fast static site generator using Laravel's Blade templating engine

Home Page:https://usecleaver.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update cli output

aschmelyun opened this issue · comments

Format and organize the data coming out of the terminal to both look better and be more relevant to build information.

Current output looks something like:

+ /Users/andrew/sites/cleaver.test/resources/content/index.json built successfully.
+ /Users/andrew/sites/cleaver.test/resources/content/posts/test-post.json built successfully.
- /Users/andrew/sites/cleaver.test/resources/content/hello-error.json could not be rendered, skipping this page.
* 2 pages built in 31.51ms *

Updated might look something like:

+ hello-world.json rendered to /
+ test-post.json rendered to /posts/test-post
- hello-error.json missing path attribute, skipping

• Build Summary •
+ 2 pages built in 31.51ms
- 1 page could not be built

Additionally, should also ensure formatting is a bit more spaced out, leaving room for commands above/below. Take notes for how Laravel mix outputs compiled asset info.