File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -18,35 +18,42 @@ class Prune {
18
18
number : {
19
19
usage : 'Number of previous versions to keep' ,
20
20
shortcut : 'n' ,
21
- required : true
21
+ required : true ,
22
+ type : 'string'
22
23
} ,
23
24
stage : {
24
25
usage : 'Stage of the service' ,
25
26
shortcut : 's' ,
27
+ type : 'string'
26
28
} ,
27
29
region : {
28
30
usage : 'Region of the service' ,
29
31
shortcut : 'r' ,
32
+ type : 'string'
30
33
} ,
31
34
function : {
32
35
usage : 'Function name. Limits cleanup to the specified function' ,
33
36
shortcut : 'f' ,
34
- required : false
37
+ required : false ,
38
+ type : 'string'
35
39
} ,
36
40
layer : {
37
41
usage : 'Layer name. Limits cleanup to the specified Lambda layer' ,
38
42
shortcut : 'l' ,
39
- required : false
43
+ required : false ,
44
+ type : 'string'
40
45
} ,
41
46
includeLayers : {
42
47
usage : 'Boolean flag. Includes the pruning of Lambda layers.' ,
43
48
shortcut : 'i' ,
44
- required : false
49
+ required : false ,
50
+ type : 'boolean'
45
51
} ,
46
52
dryRun : {
47
53
usage : 'Dry-run. Lists deletion candidates' ,
48
54
shortcut : 'd' ,
49
- required : false
55
+ required : false ,
56
+ type : 'boolean'
50
57
}
51
58
}
52
59
} ,
You can’t perform that action at this time.
0 commit comments