Skip to content

Commit 8308de9

Browse files
committed
feat(wizard): Add starter wizard.
1 parent cbbd01f commit 8308de9

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/ionic/start.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ var Start = IonicAppLib.start;
1010
var log = IonicAppLib.logging.logger;
1111
var appLibUtils = IonicAppLib.utils;
1212

13+
var StartWizard = IonicAppLib.start_wizard;
14+
1315
var settings = {
1416
title: 'start',
1517
name: 'start',
@@ -58,7 +60,9 @@ function run(ionic, argv) {
5860
return templateUtils.listTemplates();
5961
}
6062

61-
if (argv._.length < 2) {
63+
if (argv._.length < 2 && StartWizard) {
64+
return StartWizard.start();
65+
} else {
6266
return appLibUtils.fail('Invalid command', 'start');
6367
}
6468

0 commit comments

Comments
 (0)