-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathargs.js
More file actions
59 lines (58 loc) · 1.81 KB
/
args.js
File metadata and controls
59 lines (58 loc) · 1.81 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
'use strict';
module.exports = {
'package-name': {
alias: ['package', 'p'],
type: 'string',
description: 'Provide a package that can contain many blueprints ("@glimmer/blueprint", "git+https://[email protected]/tildeio/libkit.git", "../blueprint")'
},
'blueprint': {
alias: ['b'],
type: 'string',
description: 'Provide a custom blueprint for use in the update ("@glimmer/blueprint", "git+https://[email protected]/tildeio/libkit.git", "../blueprint")'
},
'from': {
type: 'string',
description: 'Use a starting version that is different than what is in your package.json ("2.9.1")'
},
'to': {
type: 'string',
description: 'Update to a version that isn\'t latest ("2.14.1", "~2.15", "latest", "beta")'
},
'run-codemods': {
type: 'boolean',
default: false,
description: 'Run codemods to help update your code'
},
'codemods-source': {
type: 'string',
description: 'Supply your own codemods manifest via URL ("ember-app-codemods-manifest@*", "git+https://github.com/ember-cli/ember-app-codemods-manifest.git#semver:*")'
},
'codemods-json': {
type: 'string',
description: 'Supply your own codemods manifest via JSON (`{ /* json */ }`)'
},
'reset': {
type: 'boolean',
default: false,
description: 'Reset your code to the default blueprint at the new version'
},
'compare-only': {
type: 'boolean',
default: false,
description: 'Show the changes between different versions without updating'
},
'stats-only': {
type: 'boolean',
default: false,
description: 'Show all calculated values regarding your project'
},
'list-codemods': {
type: 'boolean',
default: false,
description: 'List available codemods'
},
'output-repo': {
type: 'string',
description: 'An output repository of changes over time'
}
};