@@ -122,14 +122,14 @@ Command.prototype.validateAndRun = function(args) {
122
122
123
123
if ( this . works === 'insideProject' && ! this . isWithinProject ) {
124
124
return Promise . reject ( new SilentError (
125
- 'You have to be inside an ember -cli project in order to use ' +
125
+ 'You have to be inside an angular -cli project in order to use ' +
126
126
'the ' + chalk . green ( this . name ) + ' command.'
127
127
) ) ;
128
128
}
129
129
130
130
if ( this . works === 'outsideProject' && this . isWithinProject ) {
131
131
return Promise . reject ( new SilentError (
132
- 'You cannot use the ' + chalk . green ( this . name ) + ' command inside an ember -cli project.'
132
+ 'You cannot use the ' + chalk . green ( this . name ) + ' command inside an angular -cli project.'
133
133
) ) ;
134
134
}
135
135
@@ -363,7 +363,7 @@ Command.prototype.parseArgs = function(commandArgs) {
363
363
// ignore 'argv', 'h', and 'help'
364
364
if ( ! commandOptions . hasOwnProperty ( key ) && key !== 'argv' && key !== 'h' && key !== 'help' ) {
365
365
this . ui . writeLine ( chalk . yellow ( 'The option \'--' + key + '\' is not registered with the ' + this . name + ' command. ' +
366
- 'Run `ember ' + this . name + ' --help` for a list of supported options.' ) ) ;
366
+ 'Run `ng ' + this . name + ' --help` for a list of supported options.' ) ) ;
367
367
}
368
368
if ( typeof parsedOptions [ key ] !== 'object' ) {
369
369
commandOptions [ camelize ( key ) ] = parsedOptions [ key ] ;
@@ -408,7 +408,7 @@ Command.prototype._printCommand = printCommand;
408
408
409
409
Basic help looks like this:
410
410
411
- ember generate <blueprint> <options...>
411
+ ng generate <blueprint> <options...>
412
412
Generates new code from blueprints
413
413
aliases: g
414
414
--dry-run (Default: false)
@@ -420,7 +420,7 @@ Command.prototype._printCommand = printCommand;
420
420
@method printBasicHelp
421
421
*/
422
422
Command . prototype . printBasicHelp = function ( ) {
423
- // ember command-name
423
+ // ng command-name
424
424
var output ;
425
425
if ( this . isRoot ) {
426
426
output = 'Usage: ' + this . name ;
0 commit comments