Skip to content

Commit

Permalink
feat(start): add --skip-npm flag
Browse files Browse the repository at this point in the history
  • Loading branch information
tlancina committed Mar 28, 2016
1 parent 0ce5642 commit 375ad4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/tasks/cliTasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ var TASKS = [
options: {
'--appname|-a': 'Human readable name for the app (Use quotes around the name)',
'--id|-i': 'Package name for <widget id> config, ex: com.mycompany.myapp',
'--skip-npm': {
title: 'Skip npm package installation',
boolean: true
},
'--no-cordova|-w': {
title: 'Create a basic structure without Cordova requirements',
boolean: true
Expand Down
2 changes: 1 addition & 1 deletion spec/cli.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('Cli', function() {
var task = IonicCli.getTaskWithName('start');
var booleanOptions = IonicCli.getBooleanOptionsForTask(task);
//We expect 6 total = 3 options, each with short hand notation.
expect(booleanOptions.length).toBe(10);
expect(booleanOptions.length).toBe(11);
});

it('should track stats for cli', function() {
Expand Down

0 comments on commit 375ad4b

Please sign in to comment.