55namespace StatamicContext \StatamicContext \Commands ;
66
77use Illuminate \Console \Command ;
8- use Symfony \Component \Console \Attribute \AsCommand ;
98
109class StatamicContextCommand extends Command
1110{
@@ -22,36 +21,59 @@ public function handle(): int
2221 $ this ->newLine ();
2322
2423 $ this ->components ->twoColumnDetail (
25- '<fg=cyan>docs:search</> ' ,
24+ '<fg=cyan>statamic-context: docs:search</> ' ,
2625 'Search through Statamic documentation '
2726 );
2827 $ this ->components ->twoColumnDetail (
29- '<fg=cyan>docs:get {id}</> ' ,
28+ '<fg=cyan>statamic-context: docs:get {id}</> ' ,
3029 'Retrieve a specific documentation entry by ID '
3130 );
3231 $ this ->components ->twoColumnDetail (
33- '<fg=cyan>docs:update</> ' ,
32+ '<fg=cyan>statamic-context: docs:update</> ' ,
3433 'Fetch and update documentation from GitHub '
3534 );
3635
36+ $ this ->newLine ();
37+ $ this ->components ->info ('Peak Documentation Commands: ' );
38+ $ this ->newLine ();
39+
40+ $ this ->components ->twoColumnDetail (
41+ '<fg=cyan>statamic-context:peak</> ' ,
42+ 'Statamic Peak documentation commands '
43+ );
44+ $ this ->components ->twoColumnDetail (
45+ '<fg=cyan>statamic-context:peak:search</> ' ,
46+ 'Search through Statamic Peak documentation '
47+ );
48+ $ this ->components ->twoColumnDetail (
49+ '<fg=cyan>statamic-context:peak:get {id}</> ' ,
50+ 'Retrieve a specific Peak documentation entry by ID '
51+ );
52+ $ this ->components ->twoColumnDetail (
53+ '<fg=cyan>statamic-context:peak:update</> ' ,
54+ 'Fetch and update Peak documentation from GitHub '
55+ );
56+
3757 $ this ->newLine ();
3858 $ this ->components ->info ('Usage Examples: ' );
3959 $ this ->newLine ();
4060
41- $ this ->line (' <fg=gray># Interactive search </> ' );
42- $ this ->line (' php artisan docs:search --interactive ' );
61+ $ this ->line (' <fg=gray># Search Statamic docs </> ' );
62+ $ this ->line (' php artisan statamic-context: docs:search --interactive ' );
4363 $ this ->newLine ();
4464
45- $ this ->line (' <fg=gray># Search with query </> ' );
46- $ this ->line (' php artisan docs: search ' );
65+ $ this ->line (' <fg=gray># Search Peak docs </> ' );
66+ $ this ->line (' php artisan statamic-context:peak: search page-builder ' );
4767 $ this ->newLine ();
4868
4969 $ this ->line (' <fg=gray># Get specific entry</> ' );
50- $ this ->line (' php artisan docs:get core:collections ' );
70+ $ this ->line (' php artisan statamic-context:docs:get core:collections ' );
71+ $ this ->line (' php artisan statamic-context:peak:get features:page-builder ' );
5172 $ this ->newLine ();
5273
5374 $ this ->line (' <fg=gray># Update documentation</> ' );
54- $ this ->line (' php artisan docs:update ' );
75+ $ this ->line (' php artisan statamic-context:docs:update ' );
76+ $ this ->line (' php artisan statamic-context:peak:update ' );
5577
5678 return self ::SUCCESS ;
5779 }
0 commit comments