forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
35 lines (29 loc) · 1019 Bytes
/
index.js
File metadata and controls
35 lines (29 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* jshint node: true */
'use strict';
const config = require('./models/config');
module.exports = {
name: 'ng2',
config: function () {
this.project.ngConfig = this.project.ngConfig || config.CliConfig.fromProject();
},
includedCommands: function () {
return {
'new': require('./commands/new'),
'generate': require('./commands/generate'),
'init': require('./commands/init'),
'test': require('./commands/test'),
'e2e': require('./commands/e2e'),
'lint': require('./commands/lint'),
'format': require('./commands/format'),
'version': require('./commands/version'),
'completion': require('./commands/completion'),
'doc': require('./commands/doc'),
'github-pages-deploy': require('./commands/github-pages-deploy'),
// Easter eggs.
'make-this-awesome': require('./commands/easter-egg')('make-this-awesome'),
// Configuration.
'set': require('./commands/set'),
'get': require('./commands/get')
};
}
};