@@ -79,18 +79,25 @@ const program = new Command();
79
79
'--port <port>' ,
80
80
'Qlik Sense http/https port. 443 is default for https, 80 for http'
81
81
)
82
- . requiredOption ( '--schemaversion <string>' , 'Qlik Sense engine schema version' , '12.612.0' )
83
- . requiredOption ( '--appid <id>' , 'Qlik Sense app whose sheet icons should be modified.' , '' )
82
+ . addOption (
83
+ new Option ( '--schemaversion <version>' , 'Qlik Sense engine schema version' )
84
+ . choices ( [
85
+ '12.170.2' ,
86
+ '12.612.0' ,
87
+ '12.936.0' ,
88
+ '12.1306.0' ,
89
+ '12.1477.0' ,
90
+ '12.1657.0' ,
91
+ '12.1823.0' ,
92
+ '12.2015.0' ,
93
+ ] )
94
+ . default ( '12.612.0' )
95
+ )
84
96
. requiredOption (
85
97
'--certfile <file>' ,
86
98
'Qlik Sense certificate file (exported from QMC)' ,
87
99
'./cert/client.pem'
88
100
)
89
- . option (
90
- '--qliksensetag <value>' ,
91
- 'Used to control which Sense apps should have their sheets updated with new icons. All apps with this tag will be updated.' ,
92
- ''
93
- )
94
101
. requiredOption (
95
102
'--certkeyfile <file>' ,
96
103
'Qlik Sense certificate key file (exported from QMC)' ,
@@ -101,7 +108,6 @@ const program = new Command();
101
108
'Ignore warnings when Sense certificate does not match the --host paramater' ,
102
109
false
103
110
)
104
- . requiredOption ( '--prefix <prefix>' , 'Qlik Sense virtual proxy prefix' , '' )
105
111
. requiredOption (
106
112
'--secure <true|false>' ,
107
113
'Connection to Qlik Sense engine is via https' ,
@@ -124,6 +130,13 @@ const program = new Command();
124
130
'User ID for user to connect with when logging into web UI'
125
131
)
126
132
. requiredOption ( '--logonpwd <password>' , 'password for user to connect with' )
133
+ . requiredOption ( '--appid <id>' , 'Qlik Sense app whose sheet icons should be modified.' , '' )
134
+ . option (
135
+ '--qliksensetag <value>' ,
136
+ 'Used to control which Sense apps should have their sheets updated with new icons. All apps with this tag will be updated.' ,
137
+ ''
138
+ )
139
+ . requiredOption ( '--prefix <prefix>' , 'Qlik Sense virtual proxy prefix' , '' )
127
140
. requiredOption (
128
141
'--headless <true|false>' ,
129
142
'Headless (=not visible) browser (true, false)' ,
@@ -260,7 +273,20 @@ const program = new Command();
260
273
'--port <port>' ,
261
274
'Qlik Sense http/https port. 443 is default for https, 80 for http'
262
275
)
263
- . requiredOption ( '--schemaversion <string>' , 'Qlik Sense engine schema version' , '12.612.0' )
276
+ . addOption (
277
+ new Option ( '--schemaversion <version>' , 'Qlik Sense engine schema version' )
278
+ . choices ( [
279
+ '12.170.2' ,
280
+ '12.612.0' ,
281
+ '12.936.0' ,
282
+ '12.1306.0' ,
283
+ '12.1477.0' ,
284
+ '12.1657.0' ,
285
+ '12.1823.0' ,
286
+ '12.2015.0' ,
287
+ ] )
288
+ . default ( '12.612.0' )
289
+ )
264
290
. requiredOption ( '--appid <id>' , 'Qlik Sense app whose sheet icons should be modified.' , '' )
265
291
. option (
266
292
'--qliksensetag <value>' ,
@@ -342,10 +368,19 @@ const program = new Command();
342
368
. choices ( [ 'error' , 'warn' , 'info' , 'verbose' , 'debug' , 'silly' ] )
343
369
. default ( 'info' )
344
370
)
345
- . requiredOption (
346
- '--schemaversion <string>' ,
347
- 'Qlik Sense engine schema version' ,
348
- '12.612.0'
371
+ . addOption (
372
+ new Option ( '--schemaversion <version>' , 'Qlik Sense engine schema version' )
373
+ . choices ( [
374
+ '12.170.2' ,
375
+ '12.612.0' ,
376
+ '12.936.0' ,
377
+ '12.1306.0' ,
378
+ '12.1477.0' ,
379
+ '12.1657.0' ,
380
+ '12.1823.0' ,
381
+ '12.2015.0' ,
382
+ ] )
383
+ . default ( '12.612.0' )
349
384
)
350
385
. requiredOption (
351
386
'--tenanturl <url>' ,
@@ -506,10 +541,19 @@ const program = new Command();
506
541
. choices ( [ 'error' , 'warn' , 'info' , 'verbose' , 'debug' , 'silly' ] )
507
542
. default ( 'info' )
508
543
)
509
- . requiredOption (
510
- '--schemaversion <string>' ,
511
- 'Qlik Sense engine schema version' ,
512
- '12.612.0'
544
+ . addOption (
545
+ new Option ( '--schemaversion <version>' , 'Qlik Sense engine schema version' )
546
+ . choices ( [
547
+ '12.170.2' ,
548
+ '12.612.0' ,
549
+ '12.936.0' ,
550
+ '12.1306.0' ,
551
+ '12.1477.0' ,
552
+ '12.1657.0' ,
553
+ '12.1823.0' ,
554
+ '12.2015.0' ,
555
+ ] )
556
+ . default ( '12.612.0' )
513
557
)
514
558
. requiredOption (
515
559
'--tenanturl <url>' ,
0 commit comments