You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/PatternLab/Console/Commands/StarterKitCommand.php
+80-7Lines changed: 80 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,8 @@
14
14
use \PatternLab\Console;
15
15
use \PatternLab\Console\Command;
16
16
use \PatternLab\Fetch;
17
+
use \PatternLab\InstallerUtil;
18
+
use \PatternLab\JSON;
17
19
use \PatternLab\Timer;
18
20
19
21
class StarterKitCommand extends Command {
@@ -27,32 +29,103 @@ public function __construct() {
27
29
Console::setCommand($this->command,"Initialize or fetch a specific StarterKit","The StarterKit command downloads StarterKits.","k");
28
30
Console::setCommandOption($this->command,"init","Initialize with a blank StarterKit based on the active PatternEngine.","To initialize your project with a base StarterKit:","i");
29
31
Console::setCommandOption($this->command,"install:","Fetch a specific StarterKit from GitHub.","To fetch a StarterKit from GitHub:","j:","<starterkit-name>");
32
+
Console::setCommandOption($this->command,"suggestions","Show suggested StarterKits for this Edition. Offer install prompt.","To show suggested StarterKits for this Edition:");
0 commit comments