File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77use App \Commands \Concerns \TuiCommand ;
88use LaravelZero \Framework \Commands \Command ;
9+ use function Termwind \render ;
910
1011class CacheKill extends Command
1112{
@@ -88,7 +89,10 @@ public function handle(): int
8889 $ this ->newLine ();
8990 $ this ->line (' <fg=green>No package manager caches found.</> ' );
9091 $ this ->newLine ();
91- $ this ->line (' <fg=blue>Thanks for using CNKill!</> ' );
92+
93+ render ('<div class="px-2 py-1">
94+ <div class="bg-blue-800 text-white font-bold px-1">Thanks for using CNKill!</div>
95+ </div> ' );
9296
9397 return 0 ;
9498 }
Original file line number Diff line number Diff line change 44
55namespace App \Commands \Concerns ;
66
7+ use function Termwind \render ;
8+
79trait TuiCommand
810{
911 /**
@@ -796,7 +798,9 @@ protected function disableRawMode(): void
796798
797799 protected function thanks (): void
798800 {
799- $ this ->line (' <fg=blue>Thanks for using CNKill!</> ' );
801+ render ('<div class="px-2 py-1">
802+ <div class="bg-blue-800 text-white font-bold px-1">Thanks for using CNKill!</div>
803+ </div> ' );
800804
801805 $ freed = $ this ->freedSizeKb ();
802806
You can’t perform that action at this time.
0 commit comments