File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ class ConfigCommand extends Command
3030
3131 public function handle (ConfigService $ config ): int
3232 {
33+ $ this ->printHeader ();
34+
3335 $ action = $ this ->argument ('action ' );
3436
3537 return match ($ action ) {
@@ -40,6 +42,28 @@ public function handle(ConfigService $config): int
4042 };
4143 }
4244
45+ private function printHeader (): void
46+ {
47+ $ art = [
48+ ' ██████╗███╗ ██╗██╗ ██╗██╗██╗ ██╗ ' ,
49+ ' ██╔════╝████╗ ██║██║ ██╔╝██║██║ ██║ ' ,
50+ ' ██║ ██╔██╗ ██║█████╔╝ ██║██║ ██║ ' ,
51+ ' ██║ ██║╚██╗██║██╔═██╗ ██║██║ ██║ ' ,
52+ ' ╚██████╗██║ ╚████║██║ ██╗██║███████╗███████╗ ' ,
53+ ' ╚═════╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝╚══════╝╚══════╝ ' ,
54+ ];
55+
56+ $ this ->newLine ();
57+
58+ foreach ($ art as $ line ) {
59+ $ this ->line ('<fg=blue> ' . $ line . '</> ' );
60+ }
61+
62+ $ this ->line (' <fg=gray>Configure which folder types cnkill scans.</> ' );
63+ $ this ->line (' <fg=yellow> ' . app ()->version () . '</> ' );
64+ $ this ->newLine ();
65+ }
66+
4367 // -------------------------------------------------------------------------
4468 // cnkill config (checkbox list of all types)
4569 // -------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments