@@ -17,34 +17,34 @@ public function handle(): void
1717
1818 /** @var StaticBuilder $builder */
1919 $ builder = $ this ->getApp ()->builder ;
20- $ this ->getPrinter ()-> info ("Starting Build " , 1 );
21- $ this ->getPrinter ()-> info ("Cleaning up output dir... " );
20+ $ this ->info ("Starting Build " , true );
21+ $ this ->info ("Cleaning up output dir... " );
2222 $ builder ->cleanUp ();
2323
2424 //Build content single pages
2525 $ contentTypes = $ content ->getContentTypes ();
2626 /** @var ContentType $contentType */
2727 foreach ($ contentTypes as $ contentType ) {
28- $ this ->getPrinter ()-> info ("Building content type ' $ contentType ->slug ' " );
28+ $ this ->info ("Building content type ' $ contentType ->slug ' " );
2929 $ builder ->buildContentType ($ contentType ->slug );
3030 }
3131
32- $ this ->getPrinter ()-> info ("Building tag pages " );
32+ $ this ->info ("Building tag pages " );
3333 $ tags = $ content ->fetchTagList ();
3434 foreach ($ tags as $ tag => $ articles ) {
35- $ this ->getPrinter ()-> info ("Building $ tag pages... " );
35+ $ this ->info ("Building $ tag pages... " );
3636 $ builder ->buildPaginatedTagPage (trim ($ tag ));
3737 }
3838
39- $ this ->getPrinter ()-> info ("Building index " );
39+ $ this ->info ("Building index " );
4040 $ builder ->buildPaginatedIndex ();
4141
42- $ this ->getPrinter ()-> info ("Copying Resources " );
42+ $ this ->info ("Copying Resources " );
4343 $ builder ->copyPublicResources ();
4444
45- $ this ->getPrinter ()-> info ("Building RSS feed " );
45+ $ this ->info ("Building RSS feed " );
4646 $ builder ->buildRssFeed ();
4747
48- $ this ->getPrinter ()-> success ("Finished building static website at $ outputDir. " );
48+ $ this ->success ("Finished building static website at $ outputDir. " );
4949 }
5050}
0 commit comments