File tree Expand file tree Collapse file tree
app/system/Bakery/Command Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,19 @@ class Bake extends BaseCommand
2828 */
2929 protected $ buildPath ;
3030
31+ /**
32+ * @var String $ufArt The UserFrosting ASCII art.
33+ */
34+ public $ title = "
35+ _ _ ______ _ _
36+ | | | | | ___| | | (_)
37+ | | | |___ ___ _ __| |_ _ __ ___ ___| |_ _ _ __ __ _
38+ | | | / __|/ _ \ '__| _| '__/ _ \/ __| __| | '_ \ / _` |
39+ | |_| \__ \ __/ | | | | | | (_) \__ \ |_| | | | | (_| |
40+ \___/|___/\___|_| \_| |_| \___/|___/\__|_|_| |_|\__, |
41+ __/ |
42+ |___/ " ;
43+
3144 /**
3245 * {@inheritDoc}
3346 */
@@ -43,6 +56,8 @@ protected function configure()
4356 */
4457 protected function execute (InputInterface $ input , OutputInterface $ output )
4558 {
59+ $ this ->io ->writeln ("<info> {$ this ->title }</info> " );
60+
4661 $ command = $ this ->getApplication ()->find ('setup ' );
4762 $ command ->run ($ input , $ output );
4863
Original file line number Diff line number Diff line change @@ -26,19 +26,6 @@ class Debug extends BaseCommand
2626{
2727 use DatabaseTest;
2828
29- /**
30- * @var String $ufArt The UserFrosting ASCII art.
31- */
32- public $ title = "
33- _ _ ______ _ _
34- | | | | | ___| | | (_)
35- | | | |___ ___ _ __| |_ _ __ ___ ___| |_ _ _ __ __ _
36- | | | / __|/ _ \ '__| _| '__/ _ \/ __| __| | '_ \ / _` |
37- | |_| \__ \ __/ | | | | | | (_) \__ \ |_| | | | | (_| |
38- \___/|___/\___|_| \_| |_| \___/|___/\__|_|_| |_|\__, |
39- __/ |
40- |___/ " ;
41-
4229 /**
4330 * {@inheritDoc}
4431 */
@@ -55,7 +42,7 @@ protected function configure()
5542 protected function execute (InputInterface $ input , OutputInterface $ output )
5643 {
5744 // Display header,
58- $ this ->io ->writeln ( " <info> { $ this -> title } </info> " );
45+ $ this ->io ->title ( " UserFrosting " );
5946 $ this ->io ->writeln ("UserFrosing version : " . \UserFrosting \VERSION );
6047 $ this ->io ->writeln ("OS Name : " . php_uname ('s ' ));
6148 $ this ->io ->writeln ("Project Root : {$ this ->projectRoot }" );
You can’t perform that action at this time.
0 commit comments