@flock/wirespec 0.16.6 → 0.16.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clikt-clikt.mjs +1129 -1129
- package/colormath-root-colormath.mjs +400 -400
- package/kotlin-kotlin-stdlib.mjs +6 -6
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1764 -1764
- package/kotlinx-io-kotlinx-io-core.mjs +371 -371
- package/markdown.mjs +1796 -1796
- package/mordant-mordant.mjs +1531 -1531
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-java.mjs +6 -92
- package/wirespec-src-compiler-emitters-java.mjs.map +1 -1
- package/wirespec-src-compiler-emitters-python.mjs +31 -31
- package/wirespec-src-compiler-emitters-typescript.mjs +23 -23
- package/wirespec-src-compiler-emitters-wirespec.mjs +8 -8
- package/wirespec-src-compiler-lib.mjs +247 -247
- package/wirespec-src-converter-avro.mjs +261 -261
- package/wirespec-src-converter-avro.mjs.map +1 -1
- package/wirespec-src-converter-openapi.mjs +153 -153
- package/wirespec-src-converter-openapi.mjs.map +1 -1
- package/wirespec-src-plugin-arguments.mjs +115 -115
- package/wirespec-src-plugin-cli.mjs +69 -69
- package/wirespec-src-plugin-npm.d.ts +1 -1
- package/wirespec-src-plugin-npm.mjs +10 -9
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +2 -2
package/clikt-clikt.mjs
CHANGED
|
@@ -183,24 +183,24 @@ function get_acceptsUnattachedValue() {
|
|
|
183
183
|
}
|
|
184
184
|
function parameterHelp(context) {
|
|
185
185
|
var tmp;
|
|
186
|
-
if (this.
|
|
186
|
+
if (this.l3x()) {
|
|
187
187
|
tmp = null;
|
|
188
188
|
} else {
|
|
189
|
-
var tmp_0 = this.
|
|
190
|
-
var tmp_1 = this.
|
|
191
|
-
var tmp_2 = this.
|
|
192
|
-
var tmp_3 = this.
|
|
193
|
-
var tmp_4 = this.
|
|
194
|
-
var tmp_5 = this.
|
|
195
|
-
var tmp_6 = this.
|
|
196
|
-
var tmp_7 = this.
|
|
189
|
+
var tmp_0 = this.n3w();
|
|
190
|
+
var tmp_1 = this.o3w();
|
|
191
|
+
var tmp_2 = this.u48(context);
|
|
192
|
+
var tmp_3 = this.w3x(context);
|
|
193
|
+
var tmp_4 = this.n3x();
|
|
194
|
+
var tmp_5 = this.m40();
|
|
195
|
+
var tmp_6 = this.l3y();
|
|
196
|
+
var tmp_7 = this.p40();
|
|
197
197
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
198
|
-
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
198
|
+
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l40();
|
|
199
199
|
var tmp_8;
|
|
200
200
|
if (tmp3_elvis_lhs == null) {
|
|
201
201
|
var tmp1_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
202
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
203
|
-
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
202
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.q40();
|
|
203
|
+
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.l40();
|
|
204
204
|
} else {
|
|
205
205
|
tmp_8 = tmp3_elvis_lhs;
|
|
206
206
|
}
|
|
@@ -371,19 +371,19 @@ function get_completionCandidates_0() {
|
|
|
371
371
|
initMetadataForInterface(Argument_0, 'Argument');
|
|
372
372
|
function copy$default(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates, $super) {
|
|
373
373
|
name = name === VOID ? this.s2() : name;
|
|
374
|
-
nvalues = nvalues === VOID ? this.
|
|
375
|
-
required = required === VOID ? this.
|
|
376
|
-
helpGetter = helpGetter === VOID ? this.
|
|
377
|
-
helpTags = helpTags === VOID ? this.
|
|
378
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
379
|
-
return $super === VOID ? this.
|
|
374
|
+
nvalues = nvalues === VOID ? this.n3x() : nvalues;
|
|
375
|
+
required = required === VOID ? this.j47() : required;
|
|
376
|
+
helpGetter = helpGetter === VOID ? this.l47() : helpGetter;
|
|
377
|
+
helpTags = helpTags === VOID ? this.m40() : helpTags;
|
|
378
|
+
completionCandidates = completionCandidates === VOID ? this.o47() : completionCandidates;
|
|
379
|
+
return $super === VOID ? this.p47(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) : $super.p47.call(this, transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates);
|
|
380
380
|
}
|
|
381
381
|
initMetadataForInterface(ProcessedArgument, 'ProcessedArgument', VOID, VOID, [Argument_0]);
|
|
382
382
|
initMetadataForClass(ArgumentTransformContext, 'ArgumentTransformContext', VOID, VOID, [Argument_0]);
|
|
383
383
|
initMetadataForClass(ProcessedArgumentImpl, 'ProcessedArgumentImpl', VOID, VOID, [ProcessedArgument]);
|
|
384
384
|
function parameterHelp_0(context) {
|
|
385
|
-
var n = this.
|
|
386
|
-
var h = this.
|
|
385
|
+
var n = this.l40();
|
|
386
|
+
var h = this.n48();
|
|
387
387
|
return n == null || h == null ? null : new Group_0(n, h);
|
|
388
388
|
}
|
|
389
389
|
initMetadataForInterface(ParameterGroup, 'ParameterGroup');
|
|
@@ -399,39 +399,39 @@ initMetadataForClass(Sourced, 'Sourced', VOID, FinalValue);
|
|
|
399
399
|
initMetadataForClass(Envvar, 'Envvar', VOID, FinalValue);
|
|
400
400
|
initMetadataForClass(OptionTransformContext, 'OptionTransformContext', VOID, VOID, [Option_0]);
|
|
401
401
|
function copy$default_0(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
402
|
-
names = names === VOID ? this.
|
|
403
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
404
|
-
nvalues = nvalues === VOID ? this.
|
|
405
|
-
helpGetter = helpGetter === VOID ? this.
|
|
406
|
-
hidden = hidden === VOID ? this.
|
|
407
|
-
helpTags = helpTags === VOID ? this.
|
|
408
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
409
|
-
envvar = envvar === VOID ? this.
|
|
410
|
-
valueSplit = valueSplit === VOID ? this.
|
|
411
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
412
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
413
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
414
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
415
|
-
eager = eager === VOID ? this.
|
|
416
|
-
return $super === VOID ? this.
|
|
402
|
+
names = names === VOID ? this.n3w() : names;
|
|
403
|
+
metavarGetter = metavarGetter === VOID ? this.e49() : metavarGetter;
|
|
404
|
+
nvalues = nvalues === VOID ? this.n3x() : nvalues;
|
|
405
|
+
helpGetter = helpGetter === VOID ? this.l47() : helpGetter;
|
|
406
|
+
hidden = hidden === VOID ? this.l3x() : hidden;
|
|
407
|
+
helpTags = helpTags === VOID ? this.m40() : helpTags;
|
|
408
|
+
valueSourceKey = valueSourceKey === VOID ? this.n40() : valueSourceKey;
|
|
409
|
+
envvar = envvar === VOID ? this.c49() : envvar;
|
|
410
|
+
valueSplit = valueSplit === VOID ? this.f49() : valueSplit;
|
|
411
|
+
completionCandidates = completionCandidates === VOID ? this.o47() : completionCandidates;
|
|
412
|
+
secondaryNames = secondaryNames === VOID ? this.o3w() : secondaryNames;
|
|
413
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.l3y() : acceptsNumberValueWithoutName;
|
|
414
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.p40() : acceptsUnattachedValue;
|
|
415
|
+
eager = eager === VOID ? this.o40() : eager;
|
|
416
|
+
return $super === VOID ? this.g49(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.g49.call(this, transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
417
417
|
}
|
|
418
418
|
function copy$default_1(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
419
|
-
validator = validator === VOID ? this.
|
|
420
|
-
names = names === VOID ? this.
|
|
421
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
422
|
-
nvalues = nvalues === VOID ? this.
|
|
423
|
-
helpGetter = helpGetter === VOID ? this.
|
|
424
|
-
hidden = hidden === VOID ? this.
|
|
425
|
-
helpTags = helpTags === VOID ? this.
|
|
426
|
-
envvar = envvar === VOID ? this.
|
|
427
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
428
|
-
valueSplit = valueSplit === VOID ? this.
|
|
429
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
430
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
431
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
432
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
433
|
-
eager = eager === VOID ? this.
|
|
434
|
-
return $super === VOID ? this.
|
|
419
|
+
validator = validator === VOID ? this.d49() : validator;
|
|
420
|
+
names = names === VOID ? this.n3w() : names;
|
|
421
|
+
metavarGetter = metavarGetter === VOID ? this.e49() : metavarGetter;
|
|
422
|
+
nvalues = nvalues === VOID ? this.n3x() : nvalues;
|
|
423
|
+
helpGetter = helpGetter === VOID ? this.l47() : helpGetter;
|
|
424
|
+
hidden = hidden === VOID ? this.l3x() : hidden;
|
|
425
|
+
helpTags = helpTags === VOID ? this.m40() : helpTags;
|
|
426
|
+
envvar = envvar === VOID ? this.c49() : envvar;
|
|
427
|
+
valueSourceKey = valueSourceKey === VOID ? this.n40() : valueSourceKey;
|
|
428
|
+
valueSplit = valueSplit === VOID ? this.f49() : valueSplit;
|
|
429
|
+
completionCandidates = completionCandidates === VOID ? this.o47() : completionCandidates;
|
|
430
|
+
secondaryNames = secondaryNames === VOID ? this.o3w() : secondaryNames;
|
|
431
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.l3y() : acceptsNumberValueWithoutName;
|
|
432
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.p40() : acceptsUnattachedValue;
|
|
433
|
+
eager = eager === VOID ? this.o40() : eager;
|
|
434
|
+
return $super === VOID ? this.h49(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.h49.call(this, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
435
435
|
}
|
|
436
436
|
initMetadataForInterface(OptionWithValues, 'OptionWithValues', VOID, VOID, [OptionDelegate]);
|
|
437
437
|
initMetadataForClass(OptionCallTransformContext, 'OptionCallTransformContext', VOID, VOID, [Option_0]);
|
|
@@ -448,7 +448,7 @@ initMetadataForClass(NodeMppImpls, 'NodeMppImpls');
|
|
|
448
448
|
initMetadataForObject(BrowserMppImpls, 'BrowserMppImpls');
|
|
449
449
|
//endregion
|
|
450
450
|
function commandCompletionFuncName($this, command) {
|
|
451
|
-
var tmp = command.
|
|
451
|
+
var tmp = command.m3w();
|
|
452
452
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
453
453
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
454
454
|
var isTopLevel = ancestors.j() === 1;
|
|
@@ -459,34 +459,34 @@ function customParamCompletionName($this, commandFuncName, name) {
|
|
|
459
459
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').yb(name, '_');
|
|
460
460
|
}
|
|
461
461
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
462
|
-
return plus(_this__u8e3s4.
|
|
462
|
+
return plus(_this__u8e3s4.n3w(), _this__u8e3s4.o3w());
|
|
463
463
|
}
|
|
464
464
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
465
465
|
return "'" + it + "'";
|
|
466
466
|
}
|
|
467
467
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
468
|
-
return it.
|
|
468
|
+
return it.p3w_1;
|
|
469
469
|
}
|
|
470
470
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
471
|
-
return it.
|
|
471
|
+
return it.q3w_1.c3w_1;
|
|
472
472
|
}
|
|
473
473
|
function BashCompletionGenerator() {
|
|
474
474
|
}
|
|
475
|
-
protoOf(BashCompletionGenerator).
|
|
476
|
-
var commandName = command.
|
|
475
|
+
protoOf(BashCompletionGenerator).k3x = function (command, zsh) {
|
|
476
|
+
var commandName = command.c3w_1;
|
|
477
477
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
478
478
|
var isTopLevel = tmp0_container.sd();
|
|
479
479
|
var funcName = tmp0_container.td();
|
|
480
480
|
// Inline function 'kotlin.collections.map' call
|
|
481
481
|
// Inline function 'kotlin.collections.filterNot' call
|
|
482
482
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
483
|
-
var this_0 = command.
|
|
483
|
+
var this_0 = command.g3w_1;
|
|
484
484
|
var destination = ArrayList_init_$Create$();
|
|
485
485
|
var tmp0_iterator = this_0.g();
|
|
486
486
|
while (tmp0_iterator.h()) {
|
|
487
487
|
var element = tmp0_iterator.i();
|
|
488
488
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
489
|
-
if (!element.
|
|
489
|
+
if (!element.l3x()) {
|
|
490
490
|
destination.e(element);
|
|
491
491
|
}
|
|
492
492
|
}
|
|
@@ -496,43 +496,43 @@ protoOf(BashCompletionGenerator).l3x = function (command, zsh) {
|
|
|
496
496
|
while (tmp0_iterator_0.h()) {
|
|
497
497
|
var item = tmp0_iterator_0.i();
|
|
498
498
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
499
|
-
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.
|
|
499
|
+
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.m3x(), item.n3x());
|
|
500
500
|
destination_0.e(tmp$ret$3);
|
|
501
501
|
}
|
|
502
502
|
var options = destination_0;
|
|
503
503
|
// Inline function 'kotlin.collections.map' call
|
|
504
|
-
var this_1 = command.
|
|
504
|
+
var this_1 = command.h3w_1;
|
|
505
505
|
// Inline function 'kotlin.collections.mapTo' call
|
|
506
506
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
507
507
|
var tmp0_iterator_1 = this_1.g();
|
|
508
508
|
while (tmp0_iterator_1.h()) {
|
|
509
509
|
var item_0 = tmp0_iterator_1.i();
|
|
510
510
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
511
|
-
var tmp$ret$6 = to(item_0.s2(), item_0.
|
|
511
|
+
var tmp$ret$6 = to(item_0.s2(), item_0.m3x());
|
|
512
512
|
destination_1.e(tmp$ret$6);
|
|
513
513
|
}
|
|
514
514
|
var arguments_0 = destination_1;
|
|
515
515
|
// Inline function 'kotlin.collections.map' call
|
|
516
|
-
var this_2 = command.
|
|
516
|
+
var this_2 = command.f3w_1;
|
|
517
517
|
// Inline function 'kotlin.collections.mapTo' call
|
|
518
518
|
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_2, 10));
|
|
519
519
|
var tmp0_iterator_2 = this_2.g();
|
|
520
520
|
while (tmp0_iterator_2.h()) {
|
|
521
521
|
var item_1 = tmp0_iterator_2.i();
|
|
522
522
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
523
|
-
var tmp$ret$9 = item_1.
|
|
523
|
+
var tmp$ret$9 = item_1.c3w_1;
|
|
524
524
|
destination_2.e(tmp$ret$9);
|
|
525
525
|
}
|
|
526
526
|
var subcommands = destination_2;
|
|
527
527
|
// Inline function 'kotlin.collections.flatMap' call
|
|
528
528
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
529
|
-
var this_3 = command.
|
|
529
|
+
var this_3 = command.h3w_1;
|
|
530
530
|
var list = ArrayList_init_$Create$();
|
|
531
531
|
var tmp0_iterator_3 = this_3.g();
|
|
532
532
|
$l$loop: while (tmp0_iterator_3.h()) {
|
|
533
533
|
var item_2 = tmp0_iterator_3.i();
|
|
534
534
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
535
|
-
if (!(item_2.
|
|
535
|
+
if (!(item_2.n3x() > 0))
|
|
536
536
|
break $l$loop;
|
|
537
537
|
list.e(item_2);
|
|
538
538
|
}
|
|
@@ -543,7 +543,7 @@ protoOf(BashCompletionGenerator).l3x = function (command, zsh) {
|
|
|
543
543
|
var element_0 = tmp0_iterator_4.i();
|
|
544
544
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
545
545
|
// Inline function 'kotlin.collections.map' call
|
|
546
|
-
var this_4 = numberRangeToNumber(1, element_0.
|
|
546
|
+
var this_4 = numberRangeToNumber(1, element_0.n3x());
|
|
547
547
|
// Inline function 'kotlin.collections.mapTo' call
|
|
548
548
|
var destination_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_4, 10));
|
|
549
549
|
var inductionVariable = this_4.d1_1;
|
|
@@ -563,7 +563,7 @@ protoOf(BashCompletionGenerator).l3x = function (command, zsh) {
|
|
|
563
563
|
var fixedArgNameArray = joinToString(destination_3, ' ');
|
|
564
564
|
// Inline function 'kotlin.text.orEmpty' call
|
|
565
565
|
// Inline function 'kotlin.collections.find' call
|
|
566
|
-
var this_5 = command.
|
|
566
|
+
var this_5 = command.h3w_1;
|
|
567
567
|
var tmp$ret$21;
|
|
568
568
|
$l$block: {
|
|
569
569
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -571,7 +571,7 @@ protoOf(BashCompletionGenerator).l3x = function (command, zsh) {
|
|
|
571
571
|
while (tmp0_iterator_5.h()) {
|
|
572
572
|
var element_1 = tmp0_iterator_5.i();
|
|
573
573
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
574
|
-
if (element_1.
|
|
574
|
+
if (element_1.n3x() < 0) {
|
|
575
575
|
tmp$ret$21 = element_1;
|
|
576
576
|
break $l$block;
|
|
577
577
|
}
|
|
@@ -640,7 +640,7 @@ protoOf(BashCompletionGenerator).l3x = function (command, zsh) {
|
|
|
640
640
|
var name = tmp1_loop_parameter.sd();
|
|
641
641
|
var candidate = tmp1_loop_parameter.td();
|
|
642
642
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
643
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
643
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.o3x_1;
|
|
644
644
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
645
645
|
var tmp;
|
|
646
646
|
if (tmp4_elvis_lhs == null) {
|
|
@@ -698,7 +698,7 @@ protoOf(BashCompletionGenerator).l3x = function (command, zsh) {
|
|
|
698
698
|
}
|
|
699
699
|
this_6.y7(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
700
700
|
// Inline function 'kotlin.collections.iterator' call
|
|
701
|
-
var tmp7_iterator = command.
|
|
701
|
+
var tmp7_iterator = command.p3x().z().g();
|
|
702
702
|
while (tmp7_iterator.h()) {
|
|
703
703
|
var tmp8_loop_parameter = tmp7_iterator.i();
|
|
704
704
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -709,18 +709,18 @@ protoOf(BashCompletionGenerator).l3x = function (command, zsh) {
|
|
|
709
709
|
joinTo(toks, this_6, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
710
710
|
this_6.y7(' "${COMP_WORDS[@]:${i}}" )').y7('\n');
|
|
711
711
|
this_6.y7(' (( COMP_CWORD = COMP_CWORD + ' + toks.j() + ' ))\n');
|
|
712
|
-
if (!command.
|
|
712
|
+
if (!command.m3w().r3w_1) {
|
|
713
713
|
this_6.y7(' can_parse_options=0\n');
|
|
714
714
|
}
|
|
715
715
|
this_6.y7(' ;;\n');
|
|
716
716
|
}
|
|
717
|
-
var tmp9_iterator = command.
|
|
717
|
+
var tmp9_iterator = command.f3w_1.g();
|
|
718
718
|
while (tmp9_iterator.h()) {
|
|
719
719
|
var sub = tmp9_iterator.i();
|
|
720
|
-
this_6.y7(trimMargin('\n | ' + sub.
|
|
720
|
+
this_6.y7(trimMargin('\n | ' + sub.c3w_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).fe_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
721
721
|
}
|
|
722
722
|
this_6.y7(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
723
|
-
if (!command.
|
|
723
|
+
if (!command.m3w().r3w_1) {
|
|
724
724
|
this_6.y7(' can_parse_options=0\n');
|
|
725
725
|
}
|
|
726
726
|
this_6.y7(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -780,11 +780,11 @@ protoOf(BashCompletionGenerator).l3x = function (command, zsh) {
|
|
|
780
780
|
} else {
|
|
781
781
|
if (completion instanceof Fixed) {
|
|
782
782
|
this_6.y7(" COMPREPLY=($(compgen -W '");
|
|
783
|
-
joinTo(completion.
|
|
783
|
+
joinTo(completion.q3x_1, this_6, ' ');
|
|
784
784
|
this_6.y7('\' -- "${word}"))\n');
|
|
785
785
|
} else {
|
|
786
786
|
if (completion instanceof Custom) {
|
|
787
|
-
if (!(completion.
|
|
787
|
+
if (!(completion.o3x_1(ShellType_BASH_getInstance()) == null)) {
|
|
788
788
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
789
789
|
this_6.y7(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
790
790
|
}
|
|
@@ -803,10 +803,10 @@ protoOf(BashCompletionGenerator).l3x = function (command, zsh) {
|
|
|
803
803
|
this_6.y7('\' -- "${word}"))\n ;;\n');
|
|
804
804
|
}
|
|
805
805
|
this_6.y7(' esac\n}\n');
|
|
806
|
-
var tmp13_iterator = command.
|
|
806
|
+
var tmp13_iterator = command.f3w_1.g();
|
|
807
807
|
while (tmp13_iterator.h()) {
|
|
808
808
|
var subcommand = tmp13_iterator.i();
|
|
809
|
-
this_6.y7(BashCompletionGenerator_instance.
|
|
809
|
+
this_6.y7(BashCompletionGenerator_instance.k3x(subcommand, zsh));
|
|
810
810
|
}
|
|
811
811
|
if (isTopLevel) {
|
|
812
812
|
this_6.y7('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -936,13 +936,13 @@ function Username_getInstance() {
|
|
|
936
936
|
}
|
|
937
937
|
function Fixed(candidates) {
|
|
938
938
|
CompletionCandidates.call(this);
|
|
939
|
-
this.
|
|
939
|
+
this.q3x_1 = candidates;
|
|
940
940
|
}
|
|
941
941
|
protoOf(Fixed).toString = function () {
|
|
942
|
-
return 'Fixed(candidates=' + toString_0(this.
|
|
942
|
+
return 'Fixed(candidates=' + toString_0(this.q3x_1) + ')';
|
|
943
943
|
};
|
|
944
944
|
protoOf(Fixed).hashCode = function () {
|
|
945
|
-
return hashCode(this.
|
|
945
|
+
return hashCode(this.q3x_1);
|
|
946
946
|
};
|
|
947
947
|
protoOf(Fixed).equals = function (other) {
|
|
948
948
|
if (this === other)
|
|
@@ -950,7 +950,7 @@ protoOf(Fixed).equals = function (other) {
|
|
|
950
950
|
if (!(other instanceof Fixed))
|
|
951
951
|
return false;
|
|
952
952
|
var tmp0_other_with_cast = other instanceof Fixed ? other : THROW_CCE();
|
|
953
|
-
if (!equals(this.
|
|
953
|
+
if (!equals(this.q3x_1, tmp0_other_with_cast.q3x_1))
|
|
954
954
|
return false;
|
|
955
955
|
return true;
|
|
956
956
|
};
|
|
@@ -960,20 +960,20 @@ function CompletionCandidates() {
|
|
|
960
960
|
}
|
|
961
961
|
function CompletionGenerator() {
|
|
962
962
|
}
|
|
963
|
-
protoOf(CompletionGenerator).
|
|
963
|
+
protoOf(CompletionGenerator).r3x = function (command, shell) {
|
|
964
964
|
// Inline function 'kotlin.text.lowercase' call
|
|
965
965
|
// Inline function 'kotlin.text.trim' call
|
|
966
966
|
// Inline function 'kotlin.js.asDynamic' call
|
|
967
967
|
var message;
|
|
968
968
|
switch (toString_0(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
969
969
|
case 'fish':
|
|
970
|
-
message = FishCompletionGenerator_instance.
|
|
970
|
+
message = FishCompletionGenerator_instance.s3x(command);
|
|
971
971
|
break;
|
|
972
972
|
case 'zsh':
|
|
973
|
-
message = BashCompletionGenerator_instance.
|
|
973
|
+
message = BashCompletionGenerator_instance.k3x(command, true);
|
|
974
974
|
break;
|
|
975
975
|
default:
|
|
976
|
-
message = BashCompletionGenerator_instance.
|
|
976
|
+
message = BashCompletionGenerator_instance.k3x(command, false);
|
|
977
977
|
break;
|
|
978
978
|
}
|
|
979
979
|
throw new PrintCompletionMessage(message);
|
|
@@ -989,29 +989,29 @@ function generateFishCompletionForCommand($this, command) {
|
|
|
989
989
|
var this_0 = StringBuilder_init_$Create$();
|
|
990
990
|
// Inline function 'kotlin.contracts.contract' call
|
|
991
991
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
992
|
-
var parentCommandName = lastOrNull(command.
|
|
993
|
-
var rootCommandName = first_0(command.
|
|
992
|
+
var parentCommandName = lastOrNull(command.m3w().t3x());
|
|
993
|
+
var rootCommandName = first_0(command.m3w().u3x());
|
|
994
994
|
var isTopLevel = parentCommandName == null;
|
|
995
|
-
var commandName = command.
|
|
995
|
+
var commandName = command.c3w_1;
|
|
996
996
|
// Inline function 'kotlin.collections.filterNot' call
|
|
997
997
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
998
|
-
var this_1 = command.
|
|
998
|
+
var this_1 = command.g3w_1;
|
|
999
999
|
var destination = ArrayList_init_$Create$();
|
|
1000
1000
|
var tmp0_iterator = this_1.g();
|
|
1001
1001
|
while (tmp0_iterator.h()) {
|
|
1002
1002
|
var element = tmp0_iterator.i();
|
|
1003
1003
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
1004
|
-
if (!element.
|
|
1004
|
+
if (!element.l3x()) {
|
|
1005
1005
|
destination.e(element);
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
1008
|
var options = destination;
|
|
1009
|
-
var arguments_0 = command.
|
|
1010
|
-
var subcommands = command.
|
|
1009
|
+
var arguments_0 = command.h3w_1;
|
|
1010
|
+
var subcommands = command.f3w_1;
|
|
1011
1011
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1012
1012
|
var hasSubcommands = !subcommands.l();
|
|
1013
|
-
var subcommandsVarName_0 = subcommandsVarName(command.
|
|
1014
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.
|
|
1013
|
+
var subcommandsVarName_0 = subcommandsVarName(command.m3w().u3x(), FishCompletionGenerator_instance);
|
|
1014
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.m3w().t3x(), FishCompletionGenerator_instance);
|
|
1015
1015
|
if (isTopLevel) {
|
|
1016
1016
|
// Inline function 'kotlin.text.appendLine' call
|
|
1017
1017
|
var value = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
@@ -1039,7 +1039,7 @@ function generateFishCompletionForCommand($this, command) {
|
|
|
1039
1039
|
this_0.y7('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
1040
1040
|
}
|
|
1041
1041
|
this_0.y7('-a ' + commandName + ' ');
|
|
1042
|
-
var help = replace_0(command.
|
|
1042
|
+
var help = replace_0(command.v3x(command.m3w()), "'", "\\'");
|
|
1043
1043
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1044
1044
|
if (!isBlank(help)) {
|
|
1045
1045
|
this_0.y7("-d '" + help + "'");
|
|
@@ -1135,11 +1135,11 @@ function generateFishCompletionForCommand($this, command) {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
this_0.y7(trimStart(name, charArrayOf([_Char___init__impl__6a9atx(45)])));
|
|
1137
1137
|
}
|
|
1138
|
-
if (option.
|
|
1138
|
+
if (option.n3x().d1_1 > 0) {
|
|
1139
1139
|
this_0.y7(' -r');
|
|
1140
1140
|
}
|
|
1141
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.
|
|
1142
|
-
appendHelp(this_0, FishCompletionGenerator_instance, option.
|
|
1141
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.m3x());
|
|
1142
|
+
appendHelp(this_0, FishCompletionGenerator_instance, option.w3x(command.m3w()));
|
|
1143
1143
|
// Inline function 'kotlin.text.appendLine' call
|
|
1144
1144
|
this_0.z7(_Char___init__impl__6a9atx(10));
|
|
1145
1145
|
}
|
|
@@ -1154,8 +1154,8 @@ function generateFishCompletionForCommand($this, command) {
|
|
|
1154
1154
|
while (tmp2_iterator.h()) {
|
|
1155
1155
|
var argument = tmp2_iterator.i();
|
|
1156
1156
|
appendCompleteCall(this_0, FishCompletionGenerator_instance, rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1157
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.
|
|
1158
|
-
appendHelp(this_0, FishCompletionGenerator_instance, argument.
|
|
1157
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.m3x());
|
|
1158
|
+
appendHelp(this_0, FishCompletionGenerator_instance, argument.x3x(command.m3w()));
|
|
1159
1159
|
// Inline function 'kotlin.text.appendLine' call
|
|
1160
1160
|
this_0.z7(_Char___init__impl__6a9atx(10));
|
|
1161
1161
|
}
|
|
@@ -1216,10 +1216,10 @@ function appendParamCompletion(_this__u8e3s4, $this, completion) {
|
|
|
1216
1216
|
_this__u8e3s4.y7(' -fa "(__fish_complete_users)"');
|
|
1217
1217
|
} else {
|
|
1218
1218
|
if (completion instanceof Fixed) {
|
|
1219
|
-
joinTo(completion.
|
|
1219
|
+
joinTo(completion.q3x_1, _this__u8e3s4, ' ', ' -fa "', '"');
|
|
1220
1220
|
} else {
|
|
1221
1221
|
if (completion instanceof Custom) {
|
|
1222
|
-
var customCompletion = completion.
|
|
1222
|
+
var customCompletion = completion.o3x_1(ShellType_FISH_getInstance());
|
|
1223
1223
|
_this__u8e3s4.y7(' -fa ' + customCompletion);
|
|
1224
1224
|
}
|
|
1225
1225
|
}
|
|
@@ -1235,11 +1235,11 @@ function _get_hasFishCompletionRequirements__qhz0b7(_this__u8e3s4, $this) {
|
|
|
1235
1235
|
var tmp;
|
|
1236
1236
|
var tmp_0;
|
|
1237
1237
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1238
|
-
if (!_this__u8e3s4.
|
|
1238
|
+
if (!_this__u8e3s4.h3w_1.l()) {
|
|
1239
1239
|
tmp_0 = true;
|
|
1240
1240
|
} else {
|
|
1241
1241
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1242
|
-
tmp_0 = !_this__u8e3s4.
|
|
1242
|
+
tmp_0 = !_this__u8e3s4.f3w_1.l();
|
|
1243
1243
|
}
|
|
1244
1244
|
if (tmp_0) {
|
|
1245
1245
|
tmp = true;
|
|
@@ -1249,7 +1249,7 @@ function _get_hasFishCompletionRequirements__qhz0b7(_this__u8e3s4, $this) {
|
|
|
1249
1249
|
// Inline function 'kotlin.collections.any' call
|
|
1250
1250
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1251
1251
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1252
|
-
var this_0 = _this__u8e3s4.
|
|
1252
|
+
var this_0 = _this__u8e3s4.g3w_1;
|
|
1253
1253
|
var destination = ArrayList_init_$Create$();
|
|
1254
1254
|
var tmp0_iterator = this_0.g();
|
|
1255
1255
|
while (tmp0_iterator.h()) {
|
|
@@ -1287,10 +1287,10 @@ function _get_isValidFishCompletionOption__och4wa(_this__u8e3s4, $this) {
|
|
|
1287
1287
|
return startsWith_0(_this__u8e3s4, _Char___init__impl__6a9atx(45));
|
|
1288
1288
|
}
|
|
1289
1289
|
function _get_allNames__eplh1g_0(_this__u8e3s4, $this) {
|
|
1290
|
-
return plus(_this__u8e3s4.
|
|
1290
|
+
return plus(_this__u8e3s4.n3w(), _this__u8e3s4.o3w());
|
|
1291
1291
|
}
|
|
1292
1292
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
1293
|
-
return it.
|
|
1293
|
+
return it.c3w_1;
|
|
1294
1294
|
}
|
|
1295
1295
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1296
1296
|
// Inline function 'kotlin.text.replace' call
|
|
@@ -1298,7 +1298,7 @@ function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
|
1298
1298
|
}
|
|
1299
1299
|
function FishCompletionGenerator() {
|
|
1300
1300
|
}
|
|
1301
|
-
protoOf(FishCompletionGenerator).
|
|
1301
|
+
protoOf(FishCompletionGenerator).s3x = function (command) {
|
|
1302
1302
|
if (!_get_hasFishCompletionRequirements__qhz0b7(command, this))
|
|
1303
1303
|
return '';
|
|
1304
1304
|
return generateFishCompletionForCommand(this, command);
|
|
@@ -1309,30 +1309,30 @@ function FishCompletionGenerator_getInstance() {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
function registeredOptionNames($this) {
|
|
1311
1311
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1312
|
-
var this_0 = $this.
|
|
1312
|
+
var this_0 = $this.g3w_1;
|
|
1313
1313
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1314
1314
|
var destination = LinkedHashSet_init_$Create$();
|
|
1315
1315
|
var tmp0_iterator = this_0.g();
|
|
1316
1316
|
while (tmp0_iterator.h()) {
|
|
1317
1317
|
var element = tmp0_iterator.i();
|
|
1318
1318
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registeredOptionNames.<anonymous>' call
|
|
1319
|
-
var list = element.
|
|
1319
|
+
var list = element.n3w();
|
|
1320
1320
|
addAll(destination, list);
|
|
1321
1321
|
}
|
|
1322
1322
|
return destination;
|
|
1323
1323
|
}
|
|
1324
1324
|
function createContext($this, argv, parent, ancestors) {
|
|
1325
|
-
$this.
|
|
1326
|
-
if ($this.
|
|
1325
|
+
$this.k3w_1 = Companion_instance_0.y3x($this, parent, argv, $this.j3w_1);
|
|
1326
|
+
if ($this.z3v_1) {
|
|
1327
1327
|
// Inline function 'kotlin.require' call
|
|
1328
1328
|
var tmp$ret$1;
|
|
1329
1329
|
$l$block: {
|
|
1330
1330
|
// Inline function 'kotlin.sequences.none' call
|
|
1331
|
-
var tmp0_iterator = $this.
|
|
1331
|
+
var tmp0_iterator = $this.m3w().z3x().g();
|
|
1332
1332
|
while (tmp0_iterator.h()) {
|
|
1333
1333
|
var element = tmp0_iterator.i();
|
|
1334
1334
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1335
|
-
if (element.
|
|
1335
|
+
if (element.q3w_1.z3v_1) {
|
|
1336
1336
|
tmp$ret$1 = false;
|
|
1337
1337
|
break $l$block;
|
|
1338
1338
|
}
|
|
@@ -1347,48 +1347,48 @@ function createContext($this, argv, parent, ancestors) {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
}
|
|
1349
1349
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1350
|
-
if (!$this.
|
|
1351
|
-
var names = minus($this.
|
|
1350
|
+
if (!$this.m3w().v3w_1.l()) {
|
|
1351
|
+
var names = minus($this.m3w().v3w_1, registeredOptionNames($this));
|
|
1352
1352
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1353
1353
|
if (!names.l()) {
|
|
1354
|
-
var tmp = $this.
|
|
1354
|
+
var tmp = $this.m3w().d3x_1.a3y();
|
|
1355
1355
|
eagerOption($this, names, tmp, VOID, VOID, VOID, CliktCommand$createContext$lambda);
|
|
1356
1356
|
}
|
|
1357
1357
|
}
|
|
1358
|
-
var tmp0_iterator_0 = $this.
|
|
1358
|
+
var tmp0_iterator_0 = $this.f3w_1.g();
|
|
1359
1359
|
while (tmp0_iterator_0.h()) {
|
|
1360
1360
|
var command = tmp0_iterator_0.i();
|
|
1361
|
-
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.
|
|
1361
|
+
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.q3w_1));
|
|
1362
1362
|
// Inline function 'kotlin.check' call
|
|
1363
1363
|
// Inline function 'kotlin.contracts.contract' call
|
|
1364
1364
|
if (!!a.o1(command)) {
|
|
1365
1365
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1366
|
-
var message_0 = 'Command ' + command.
|
|
1366
|
+
var message_0 = 'Command ' + command.c3w_1 + ' already registered';
|
|
1367
1367
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1368
1368
|
}
|
|
1369
|
-
createContext(command, argv, $this.
|
|
1369
|
+
createContext(command, argv, $this.m3w(), a);
|
|
1370
1370
|
}
|
|
1371
|
-
return ensureNotNull($this.
|
|
1371
|
+
return ensureNotNull($this.k3w_1);
|
|
1372
1372
|
}
|
|
1373
1373
|
function getCommandNameWithParents($this) {
|
|
1374
|
-
if ($this.
|
|
1374
|
+
if ($this.k3w_1 == null) {
|
|
1375
1375
|
createContext($this, emptyList(), null, emptyList());
|
|
1376
1376
|
}
|
|
1377
|
-
return joinToString($this.
|
|
1377
|
+
return joinToString($this.m3w().u3x(), ' ');
|
|
1378
1378
|
}
|
|
1379
1379
|
function generateCompletion($this) {
|
|
1380
|
-
if ($this.
|
|
1380
|
+
if ($this.y3v_1 == null)
|
|
1381
1381
|
return Unit_instance;
|
|
1382
1382
|
var tmp;
|
|
1383
|
-
if (isBlank($this.
|
|
1383
|
+
if (isBlank($this.y3v_1)) {
|
|
1384
1384
|
// Inline function 'kotlin.text.uppercase' call
|
|
1385
1385
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1386
|
-
tmp = '_' + replace_0($this.
|
|
1386
|
+
tmp = '_' + replace_0($this.c3w_1, '-', '_').toUpperCase() + '_COMPLETE';
|
|
1387
1387
|
} else {
|
|
1388
|
-
tmp = $this.
|
|
1388
|
+
tmp = $this.y3v_1;
|
|
1389
1389
|
}
|
|
1390
1390
|
var envvar = tmp;
|
|
1391
|
-
var tmp0_elvis_lhs = $this.
|
|
1391
|
+
var tmp0_elvis_lhs = $this.m3w().e3x_1(envvar);
|
|
1392
1392
|
var tmp_0;
|
|
1393
1393
|
if (tmp0_elvis_lhs == null) {
|
|
1394
1394
|
return Unit_instance;
|
|
@@ -1396,13 +1396,13 @@ function generateCompletion($this) {
|
|
|
1396
1396
|
tmp_0 = tmp0_elvis_lhs;
|
|
1397
1397
|
}
|
|
1398
1398
|
var envval = tmp_0;
|
|
1399
|
-
CompletionGenerator_instance.
|
|
1399
|
+
CompletionGenerator_instance.r3x($this, envval);
|
|
1400
1400
|
}
|
|
1401
1401
|
function CliktCommand$_contextConfig$lambda($this$null) {
|
|
1402
1402
|
return Unit_instance;
|
|
1403
1403
|
}
|
|
1404
1404
|
function CliktCommand$createContext$lambda($this$eagerOption) {
|
|
1405
|
-
throw new PrintHelpMessage($this$eagerOption.
|
|
1405
|
+
throw new PrintHelpMessage($this$eagerOption.c3y_1);
|
|
1406
1406
|
}
|
|
1407
1407
|
function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, treatUnknownOptionsAsArgs, hidden) {
|
|
1408
1408
|
help = help === VOID ? '' : help;
|
|
@@ -1415,50 +1415,50 @@ function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEm
|
|
|
1415
1415
|
allowMultipleSubcommands = allowMultipleSubcommands === VOID ? false : allowMultipleSubcommands;
|
|
1416
1416
|
treatUnknownOptionsAsArgs = treatUnknownOptionsAsArgs === VOID ? false : treatUnknownOptionsAsArgs;
|
|
1417
1417
|
hidden = hidden === VOID ? false : hidden;
|
|
1418
|
-
this.
|
|
1419
|
-
this.
|
|
1420
|
-
this.
|
|
1421
|
-
this.
|
|
1422
|
-
this.
|
|
1423
|
-
this.
|
|
1424
|
-
this.
|
|
1418
|
+
this.v3v_1 = invokeWithoutSubcommand;
|
|
1419
|
+
this.w3v_1 = printHelpOnEmptyArgs;
|
|
1420
|
+
this.x3v_1 = helpTags;
|
|
1421
|
+
this.y3v_1 = autoCompleteEnvvar;
|
|
1422
|
+
this.z3v_1 = allowMultipleSubcommands;
|
|
1423
|
+
this.a3w_1 = treatUnknownOptionsAsArgs;
|
|
1424
|
+
this.b3w_1 = hidden;
|
|
1425
1425
|
var tmp = this;
|
|
1426
|
-
tmp.
|
|
1427
|
-
this.
|
|
1428
|
-
this.
|
|
1429
|
-
this.
|
|
1426
|
+
tmp.c3w_1 = name == null ? inferCommandName(this) : name;
|
|
1427
|
+
this.d3w_1 = help;
|
|
1428
|
+
this.e3w_1 = epilog;
|
|
1429
|
+
this.f3w_1 = emptyList();
|
|
1430
1430
|
var tmp_0 = this;
|
|
1431
1431
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1432
|
-
tmp_0.
|
|
1432
|
+
tmp_0.g3w_1 = ArrayList_init_$Create$();
|
|
1433
1433
|
var tmp_1 = this;
|
|
1434
1434
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1435
|
-
tmp_1.
|
|
1435
|
+
tmp_1.h3w_1 = ArrayList_init_$Create$();
|
|
1436
1436
|
var tmp_2 = this;
|
|
1437
1437
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1438
|
-
tmp_2.
|
|
1438
|
+
tmp_2.i3w_1 = ArrayList_init_$Create$();
|
|
1439
1439
|
var tmp_3 = this;
|
|
1440
|
-
tmp_3.
|
|
1441
|
-
this.
|
|
1440
|
+
tmp_3.j3w_1 = CliktCommand$_contextConfig$lambda;
|
|
1441
|
+
this.k3w_1 = null;
|
|
1442
1442
|
var tmp_4 = this;
|
|
1443
1443
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1444
|
-
tmp_4.
|
|
1444
|
+
tmp_4.l3w_1 = ArrayList_init_$Create$();
|
|
1445
1445
|
}
|
|
1446
|
+
protoOf(CliktCommand).d3y = function () {
|
|
1447
|
+
return this.d3w_1;
|
|
1448
|
+
};
|
|
1449
|
+
protoOf(CliktCommand).v3x = function (context) {
|
|
1450
|
+
return this.d3y();
|
|
1451
|
+
};
|
|
1446
1452
|
protoOf(CliktCommand).e3y = function () {
|
|
1447
1453
|
return this.e3w_1;
|
|
1448
1454
|
};
|
|
1449
|
-
protoOf(CliktCommand).
|
|
1455
|
+
protoOf(CliktCommand).f3y = function (context) {
|
|
1450
1456
|
return this.e3y();
|
|
1451
1457
|
};
|
|
1452
|
-
protoOf(CliktCommand).
|
|
1453
|
-
return this.f3w_1;
|
|
1454
|
-
};
|
|
1455
|
-
protoOf(CliktCommand).g3y = function (context) {
|
|
1456
|
-
return this.f3y();
|
|
1457
|
-
};
|
|
1458
|
-
protoOf(CliktCommand).h3y = function () {
|
|
1458
|
+
protoOf(CliktCommand).g3y = function () {
|
|
1459
1459
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1460
1460
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1461
|
-
var this_0 = this.
|
|
1461
|
+
var this_0 = this.g3w_1;
|
|
1462
1462
|
var destination = ArrayList_init_$Create$();
|
|
1463
1463
|
// Inline function 'kotlin.collections.forEach' call
|
|
1464
1464
|
var tmp0_iterator = this_0.g();
|
|
@@ -1466,7 +1466,7 @@ protoOf(CliktCommand).h3y = function () {
|
|
|
1466
1466
|
var element = tmp0_iterator.i();
|
|
1467
1467
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1468
1468
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1469
|
-
var tmp0_safe_receiver = element.
|
|
1469
|
+
var tmp0_safe_receiver = element.h3y(this.m3w());
|
|
1470
1470
|
if (tmp0_safe_receiver == null)
|
|
1471
1471
|
null;
|
|
1472
1472
|
else {
|
|
@@ -1478,7 +1478,7 @@ protoOf(CliktCommand).h3y = function () {
|
|
|
1478
1478
|
var tmp = destination;
|
|
1479
1479
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1480
1480
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1481
|
-
var this_1 = this.
|
|
1481
|
+
var this_1 = this.h3w_1;
|
|
1482
1482
|
var destination_0 = ArrayList_init_$Create$();
|
|
1483
1483
|
// Inline function 'kotlin.collections.forEach' call
|
|
1484
1484
|
var tmp0_iterator_0 = this_1.g();
|
|
@@ -1486,7 +1486,7 @@ protoOf(CliktCommand).h3y = function () {
|
|
|
1486
1486
|
var element_0 = tmp0_iterator_0.i();
|
|
1487
1487
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1488
1488
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1489
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
1489
|
+
var tmp0_safe_receiver_0 = element_0.h3y(this.m3w());
|
|
1490
1490
|
if (tmp0_safe_receiver_0 == null)
|
|
1491
1491
|
null;
|
|
1492
1492
|
else {
|
|
@@ -1498,7 +1498,7 @@ protoOf(CliktCommand).h3y = function () {
|
|
|
1498
1498
|
var tmp_0 = destination_0;
|
|
1499
1499
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1500
1500
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1501
|
-
var this_2 = this.
|
|
1501
|
+
var this_2 = this.i3w_1;
|
|
1502
1502
|
var destination_1 = ArrayList_init_$Create$();
|
|
1503
1503
|
// Inline function 'kotlin.collections.forEach' call
|
|
1504
1504
|
var tmp0_iterator_1 = this_2.g();
|
|
@@ -1506,7 +1506,7 @@ protoOf(CliktCommand).h3y = function () {
|
|
|
1506
1506
|
var element_1 = tmp0_iterator_1.i();
|
|
1507
1507
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1508
1508
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1509
|
-
var tmp0_safe_receiver_1 = element_1.
|
|
1509
|
+
var tmp0_safe_receiver_1 = element_1.h3y(this.m3w());
|
|
1510
1510
|
if (tmp0_safe_receiver_1 == null)
|
|
1511
1511
|
null;
|
|
1512
1512
|
else {
|
|
@@ -1518,7 +1518,7 @@ protoOf(CliktCommand).h3y = function () {
|
|
|
1518
1518
|
var tmp_1 = destination_1;
|
|
1519
1519
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1520
1520
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1521
|
-
var this_3 = this.
|
|
1521
|
+
var this_3 = this.f3w_1;
|
|
1522
1522
|
var destination_2 = ArrayList_init_$Create$();
|
|
1523
1523
|
// Inline function 'kotlin.collections.forEach' call
|
|
1524
1524
|
var tmp0_iterator_2 = this_3.g();
|
|
@@ -1527,11 +1527,11 @@ protoOf(CliktCommand).h3y = function () {
|
|
|
1527
1527
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1528
1528
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1529
1529
|
// Inline function 'kotlin.takeUnless' call
|
|
1530
|
-
var this_4 = new Subcommand(element_2.
|
|
1530
|
+
var this_4 = new Subcommand(element_2.c3w_1, element_2.i3y(this.m3w()), element_2.x3v_1);
|
|
1531
1531
|
// Inline function 'kotlin.contracts.contract' call
|
|
1532
1532
|
var tmp_2;
|
|
1533
1533
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>.<anonymous>' call
|
|
1534
|
-
if (!element_2.
|
|
1534
|
+
if (!element_2.b3w_1) {
|
|
1535
1535
|
tmp_2 = this_4;
|
|
1536
1536
|
} else {
|
|
1537
1537
|
tmp_2 = null;
|
|
@@ -1547,11 +1547,11 @@ protoOf(CliktCommand).h3y = function () {
|
|
|
1547
1547
|
}
|
|
1548
1548
|
return flatten(listOf([tmp, tmp_0, tmp_1, destination_2]));
|
|
1549
1549
|
};
|
|
1550
|
-
protoOf(CliktCommand).
|
|
1550
|
+
protoOf(CliktCommand).m3w = function () {
|
|
1551
1551
|
$l$block: {
|
|
1552
1552
|
// Inline function 'kotlin.checkNotNull' call
|
|
1553
1553
|
// Inline function 'kotlin.contracts.contract' call
|
|
1554
|
-
if (this.
|
|
1554
|
+
if (this.k3w_1 == null) {
|
|
1555
1555
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.<get-currentContext>.<anonymous>' call
|
|
1556
1556
|
var message = 'Context accessed before parse has been called.';
|
|
1557
1557
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -1559,21 +1559,21 @@ protoOf(CliktCommand).n3w = function () {
|
|
|
1559
1559
|
break $l$block;
|
|
1560
1560
|
}
|
|
1561
1561
|
}
|
|
1562
|
-
return ensureNotNull(this.
|
|
1562
|
+
return ensureNotNull(this.k3w_1);
|
|
1563
1563
|
};
|
|
1564
|
-
protoOf(CliktCommand).
|
|
1565
|
-
return this.
|
|
1564
|
+
protoOf(CliktCommand).j3y = function () {
|
|
1565
|
+
return this.l3w_1;
|
|
1566
1566
|
};
|
|
1567
|
-
protoOf(CliktCommand).
|
|
1568
|
-
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').vb(this.
|
|
1567
|
+
protoOf(CliktCommand).i3y = function (context) {
|
|
1568
|
+
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').vb(this.v3x(context));
|
|
1569
1569
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gc();
|
|
1570
1570
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k(1);
|
|
1571
1571
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.fc_1;
|
|
1572
1572
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1573
1573
|
};
|
|
1574
|
-
protoOf(CliktCommand).
|
|
1574
|
+
protoOf(CliktCommand).k3y = function (option) {
|
|
1575
1575
|
var names = registeredOptionNames(this);
|
|
1576
|
-
var tmp0_iterator = option.
|
|
1576
|
+
var tmp0_iterator = option.n3w().g();
|
|
1577
1577
|
while (tmp0_iterator.h()) {
|
|
1578
1578
|
var name = tmp0_iterator.i();
|
|
1579
1579
|
// Inline function 'kotlin.require' call
|
|
@@ -1584,12 +1584,12 @@ protoOf(CliktCommand).l3y = function (option) {
|
|
|
1584
1584
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1585
1585
|
}
|
|
1586
1586
|
}
|
|
1587
|
-
if (option.
|
|
1587
|
+
if (option.l3y()) {
|
|
1588
1588
|
// Inline function 'kotlin.require' call
|
|
1589
1589
|
var tmp$ret$1;
|
|
1590
1590
|
$l$block_0: {
|
|
1591
1591
|
// Inline function 'kotlin.collections.none' call
|
|
1592
|
-
var this_0 = this.
|
|
1592
|
+
var this_0 = this.g3w_1;
|
|
1593
1593
|
var tmp;
|
|
1594
1594
|
if (isInterface(this_0, Collection)) {
|
|
1595
1595
|
tmp = this_0.l();
|
|
@@ -1604,7 +1604,7 @@ protoOf(CliktCommand).l3y = function (option) {
|
|
|
1604
1604
|
while (tmp0_iterator_0.h()) {
|
|
1605
1605
|
var element = tmp0_iterator_0.i();
|
|
1606
1606
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerOption.<anonymous>' call
|
|
1607
|
-
if (element.
|
|
1607
|
+
if (element.l3y()) {
|
|
1608
1608
|
tmp$ret$1 = false;
|
|
1609
1609
|
break $l$block_0;
|
|
1610
1610
|
}
|
|
@@ -1619,21 +1619,21 @@ protoOf(CliktCommand).l3y = function (option) {
|
|
|
1619
1619
|
}
|
|
1620
1620
|
}
|
|
1621
1621
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1622
|
-
this.
|
|
1622
|
+
this.g3w_1.e(option);
|
|
1623
1623
|
};
|
|
1624
|
-
protoOf(CliktCommand).
|
|
1625
|
-
return this.
|
|
1624
|
+
protoOf(CliktCommand).m3y = function (option) {
|
|
1625
|
+
return this.k3y(isInterface(option, Option_0) ? option : THROW_CCE());
|
|
1626
1626
|
};
|
|
1627
|
-
protoOf(CliktCommand).
|
|
1627
|
+
protoOf(CliktCommand).n3y = function (argument) {
|
|
1628
1628
|
// Inline function 'kotlin.require' call
|
|
1629
1629
|
var tmp;
|
|
1630
|
-
if (argument.
|
|
1630
|
+
if (argument.n3x() > 0) {
|
|
1631
1631
|
tmp = true;
|
|
1632
1632
|
} else {
|
|
1633
1633
|
var tmp$ret$0;
|
|
1634
1634
|
$l$block_0: {
|
|
1635
1635
|
// Inline function 'kotlin.collections.none' call
|
|
1636
|
-
var this_0 = this.
|
|
1636
|
+
var this_0 = this.h3w_1;
|
|
1637
1637
|
var tmp_0;
|
|
1638
1638
|
if (isInterface(this_0, Collection)) {
|
|
1639
1639
|
tmp_0 = this_0.l();
|
|
@@ -1648,7 +1648,7 @@ protoOf(CliktCommand).o3y = function (argument) {
|
|
|
1648
1648
|
while (tmp0_iterator.h()) {
|
|
1649
1649
|
var element = tmp0_iterator.i();
|
|
1650
1650
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerArgument.<anonymous>' call
|
|
1651
|
-
if (element.
|
|
1651
|
+
if (element.n3x() < 0) {
|
|
1652
1652
|
tmp$ret$0 = false;
|
|
1653
1653
|
break $l$block_0;
|
|
1654
1654
|
}
|
|
@@ -1664,9 +1664,9 @@ protoOf(CliktCommand).o3y = function (argument) {
|
|
|
1664
1664
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1665
1665
|
}
|
|
1666
1666
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1667
|
-
this.
|
|
1667
|
+
this.h3w_1.e(argument);
|
|
1668
1668
|
};
|
|
1669
|
-
protoOf(CliktCommand).
|
|
1669
|
+
protoOf(CliktCommand).o3y = function (error) {
|
|
1670
1670
|
var tmp;
|
|
1671
1671
|
if (!(error == null)) {
|
|
1672
1672
|
tmp = !(!(error == null) ? isInterface(error, ContextCliktError) : false);
|
|
@@ -1678,66 +1678,66 @@ protoOf(CliktCommand).p3y = function (error) {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
var tmp0_safe_receiver = (!(error == null) ? isInterface(error, ContextCliktError) : false) ? error : null;
|
|
1680
1680
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z8();
|
|
1681
|
-
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.
|
|
1681
|
+
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.k3w_1 : tmp1_elvis_lhs;
|
|
1682
1682
|
var ctx = tmp2_elvis_lhs == null ? createContext(this, emptyList(), null, emptyList()) : tmp2_elvis_lhs;
|
|
1683
|
-
var cmd = ctx.
|
|
1683
|
+
var cmd = ctx.q3w_1;
|
|
1684
1684
|
var programName = getCommandNameWithParents(cmd);
|
|
1685
|
-
var tmp_0 = ctx.
|
|
1686
|
-
return tmp_0.
|
|
1685
|
+
var tmp_0 = ctx.w3w_1(ctx);
|
|
1686
|
+
return tmp_0.p3y(error instanceof UsageError ? error : null, cmd.v3x(ctx), cmd.f3y(ctx), cmd.g3y(), programName);
|
|
1687
1687
|
};
|
|
1688
|
-
protoOf(CliktCommand).
|
|
1689
|
-
var msg = this.
|
|
1688
|
+
protoOf(CliktCommand).q3y = function (error) {
|
|
1689
|
+
var msg = this.o3y(error);
|
|
1690
1690
|
if (!(msg == null)) {
|
|
1691
|
-
var tmp1_elvis_lhs = error == null ? null : error.
|
|
1692
|
-
this.
|
|
1691
|
+
var tmp1_elvis_lhs = error == null ? null : error.s3y_1;
|
|
1692
|
+
this.t3y(msg, VOID, tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
1693
1693
|
}
|
|
1694
1694
|
};
|
|
1695
|
-
protoOf(CliktCommand).
|
|
1695
|
+
protoOf(CliktCommand).p3x = function () {
|
|
1696
1696
|
return emptyMap();
|
|
1697
1697
|
};
|
|
1698
|
-
protoOf(CliktCommand).
|
|
1698
|
+
protoOf(CliktCommand).u3y = function (message, trailingNewline, err) {
|
|
1699
1699
|
if (trailingNewline) {
|
|
1700
|
-
this.
|
|
1700
|
+
this.m3w().y3w_1.f3t(message, VOID, VOID, VOID, VOID, err);
|
|
1701
1701
|
} else {
|
|
1702
|
-
this.
|
|
1702
|
+
this.m3w().y3w_1.e3t(message, VOID, VOID, VOID, VOID, err);
|
|
1703
1703
|
}
|
|
1704
1704
|
};
|
|
1705
|
-
protoOf(CliktCommand).
|
|
1705
|
+
protoOf(CliktCommand).t3y = function (message, trailingNewline, err, $super) {
|
|
1706
1706
|
trailingNewline = trailingNewline === VOID ? true : trailingNewline;
|
|
1707
1707
|
err = err === VOID ? false : err;
|
|
1708
1708
|
var tmp;
|
|
1709
1709
|
if ($super === VOID) {
|
|
1710
|
-
this.
|
|
1710
|
+
this.u3y(message, trailingNewline, err);
|
|
1711
1711
|
tmp = Unit_instance;
|
|
1712
1712
|
} else {
|
|
1713
|
-
tmp = $super.
|
|
1713
|
+
tmp = $super.u3y.call(this, message, trailingNewline, err);
|
|
1714
1714
|
}
|
|
1715
1715
|
return tmp;
|
|
1716
1716
|
};
|
|
1717
|
-
protoOf(CliktCommand).
|
|
1717
|
+
protoOf(CliktCommand).v3y = function (argv, parentContext) {
|
|
1718
1718
|
createContext(this, argv, parentContext, emptyList());
|
|
1719
1719
|
generateCompletion(this);
|
|
1720
|
-
Parser_instance.
|
|
1720
|
+
Parser_instance.w3y(argv, this.m3w());
|
|
1721
1721
|
};
|
|
1722
|
-
protoOf(CliktCommand).
|
|
1722
|
+
protoOf(CliktCommand).x3y = function (argv, parentContext, $super) {
|
|
1723
1723
|
parentContext = parentContext === VOID ? null : parentContext;
|
|
1724
1724
|
var tmp;
|
|
1725
1725
|
if ($super === VOID) {
|
|
1726
|
-
this.
|
|
1726
|
+
this.v3y(argv, parentContext);
|
|
1727
1727
|
tmp = Unit_instance;
|
|
1728
1728
|
} else {
|
|
1729
|
-
tmp = $super.
|
|
1729
|
+
tmp = $super.v3y.call(this, argv, parentContext);
|
|
1730
1730
|
}
|
|
1731
1731
|
return tmp;
|
|
1732
1732
|
};
|
|
1733
|
-
protoOf(CliktCommand).
|
|
1733
|
+
protoOf(CliktCommand).y3y = function (argv) {
|
|
1734
1734
|
try {
|
|
1735
|
-
this.
|
|
1735
|
+
this.x3y(argv);
|
|
1736
1736
|
} catch ($p) {
|
|
1737
1737
|
if ($p instanceof CliktError) {
|
|
1738
1738
|
var e = $p;
|
|
1739
|
-
this.
|
|
1740
|
-
exitProcessMpp(e.
|
|
1739
|
+
this.q3y(e);
|
|
1740
|
+
exitProcessMpp(e.r3y_1);
|
|
1741
1741
|
} else {
|
|
1742
1742
|
throw $p;
|
|
1743
1743
|
}
|
|
@@ -1750,18 +1750,18 @@ protoOf(CliktCommand).toString = function () {
|
|
|
1750
1750
|
var this_0 = StringBuilder_init_$Create$();
|
|
1751
1751
|
// Inline function 'kotlin.contracts.contract' call
|
|
1752
1752
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1753
|
-
this_0.y7('<' + classSimpleName(this) + ' name=' + this.
|
|
1753
|
+
this_0.y7('<' + classSimpleName(this) + ' name=' + this.c3w_1);
|
|
1754
1754
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1755
|
-
if (!this.
|
|
1756
|
-
joinTo(this.
|
|
1755
|
+
if (!this.g3w_1.l()) {
|
|
1756
|
+
joinTo(this.g3w_1, this_0, VOID, ' options=[', ']');
|
|
1757
1757
|
}
|
|
1758
1758
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1759
|
-
if (!this.
|
|
1760
|
-
joinTo(this.
|
|
1759
|
+
if (!this.h3w_1.l()) {
|
|
1760
|
+
joinTo(this.h3w_1, this_0, VOID, ' arguments=[', ']');
|
|
1761
1761
|
}
|
|
1762
1762
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1763
|
-
if (!this.
|
|
1764
|
-
joinTo(this.
|
|
1763
|
+
if (!this.f3w_1.l()) {
|
|
1764
|
+
joinTo(this.f3w_1, this_0, VOID, ' subcommands=[', ']');
|
|
1765
1765
|
}
|
|
1766
1766
|
this_0.y7('>');
|
|
1767
1767
|
return this_0.toString();
|
|
@@ -1792,7 +1792,7 @@ function inferCommandName(_this__u8e3s4) {
|
|
|
1792
1792
|
return lowerUpperRegex.zb(nameWithoutSuffixes, transform).toLowerCase();
|
|
1793
1793
|
}
|
|
1794
1794
|
function get_terminal(_this__u8e3s4) {
|
|
1795
|
-
return _this__u8e3s4.
|
|
1795
|
+
return _this__u8e3s4.m3w().y3w_1;
|
|
1796
1796
|
}
|
|
1797
1797
|
function classSimpleName(_this__u8e3s4) {
|
|
1798
1798
|
// Inline function 'kotlin.text.orEmpty' call
|
|
@@ -1804,7 +1804,7 @@ function subcommands(_this__u8e3s4, commands) {
|
|
|
1804
1804
|
// Inline function 'kotlin.apply' call
|
|
1805
1805
|
// Inline function 'kotlin.contracts.contract' call
|
|
1806
1806
|
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1807
|
-
_this__u8e3s4.
|
|
1807
|
+
_this__u8e3s4.f3w_1 = plus_2(_this__u8e3s4.f3w_1, commands);
|
|
1808
1808
|
return _this__u8e3s4;
|
|
1809
1809
|
}
|
|
1810
1810
|
function inferCommandName$lambda(it) {
|
|
@@ -1830,36 +1830,36 @@ function Context$Companion$build$lambda(it) {
|
|
|
1830
1830
|
}
|
|
1831
1831
|
function Builder(command, parent) {
|
|
1832
1832
|
parent = parent === VOID ? null : parent;
|
|
1833
|
-
this.
|
|
1833
|
+
this.a3z_1 = parent;
|
|
1834
1834
|
var tmp = this;
|
|
1835
|
-
var tmp0_safe_receiver = this.
|
|
1836
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1837
|
-
tmp.
|
|
1838
|
-
this.
|
|
1835
|
+
var tmp0_safe_receiver = this.a3z_1;
|
|
1836
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r3w_1;
|
|
1837
|
+
tmp.b3z_1 = tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
1838
|
+
this.c3z_1 = true;
|
|
1839
1839
|
var tmp_0 = this;
|
|
1840
|
-
var tmp0_safe_receiver_0 = this.
|
|
1841
|
-
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
1842
|
-
tmp_0.
|
|
1840
|
+
var tmp0_safe_receiver_0 = this.a3z_1;
|
|
1841
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.u3w_1;
|
|
1842
|
+
tmp_0.d3z_1 = tmp1_elvis_lhs_0 == null ? true : tmp1_elvis_lhs_0;
|
|
1843
1843
|
var tmp_1 = this;
|
|
1844
|
-
var tmp0_safe_receiver_1 = this.
|
|
1845
|
-
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.
|
|
1846
|
-
tmp_1.
|
|
1844
|
+
var tmp0_safe_receiver_1 = this.a3z_1;
|
|
1845
|
+
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.v3w_1;
|
|
1846
|
+
tmp_1.e3z_1 = tmp1_elvis_lhs_1 == null ? setOf(['-h', '--help']) : tmp1_elvis_lhs_1;
|
|
1847
1847
|
var tmp_2 = this;
|
|
1848
|
-
var tmp0_safe_receiver_2 = this.
|
|
1849
|
-
tmp_2.
|
|
1848
|
+
var tmp0_safe_receiver_2 = this.a3z_1;
|
|
1849
|
+
tmp_2.f3z_1 = tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.w3w_1;
|
|
1850
1850
|
var tmp_3 = this;
|
|
1851
|
-
var tmp0_safe_receiver_3 = this.
|
|
1852
|
-
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.
|
|
1851
|
+
var tmp0_safe_receiver_3 = this.a3z_1;
|
|
1852
|
+
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.x3w_1;
|
|
1853
1853
|
var tmp_4;
|
|
1854
1854
|
if (tmp1_elvis_lhs_2 == null) {
|
|
1855
1855
|
tmp_4 = Context$Builder$tokenTransformer$lambda;
|
|
1856
1856
|
} else {
|
|
1857
1857
|
tmp_4 = tmp1_elvis_lhs_2;
|
|
1858
1858
|
}
|
|
1859
|
-
tmp_3.
|
|
1859
|
+
tmp_3.g3z_1 = tmp_4;
|
|
1860
1860
|
var tmp_5 = this;
|
|
1861
|
-
var tmp0_safe_receiver_4 = this.
|
|
1862
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.
|
|
1861
|
+
var tmp0_safe_receiver_4 = this.a3z_1;
|
|
1862
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.t3w_1;
|
|
1863
1863
|
var tmp_6;
|
|
1864
1864
|
if (tmp1_safe_receiver == null) {
|
|
1865
1865
|
tmp_6 = null;
|
|
@@ -1870,48 +1870,48 @@ function Builder(command, parent) {
|
|
|
1870
1870
|
var tmp_7 = tmp1_safe_receiver + '_';
|
|
1871
1871
|
// Inline function 'kotlin.text.uppercase' call
|
|
1872
1872
|
// Inline function 'kotlin.text.replace' call
|
|
1873
|
-
var this_0 = command.
|
|
1873
|
+
var this_0 = command.c3w_1;
|
|
1874
1874
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1875
1875
|
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').yb(this_0, '_').toUpperCase();
|
|
1876
1876
|
}
|
|
1877
|
-
tmp_5.
|
|
1877
|
+
tmp_5.h3z_1 = tmp_6;
|
|
1878
1878
|
var tmp_8 = this;
|
|
1879
|
-
var tmp0_safe_receiver_5 = this.
|
|
1880
|
-
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.
|
|
1881
|
-
tmp_8.
|
|
1882
|
-
this.
|
|
1879
|
+
var tmp0_safe_receiver_5 = this.a3z_1;
|
|
1880
|
+
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.y3w_1;
|
|
1881
|
+
tmp_8.i3z_1 = tmp1_elvis_lhs_3 == null ? Terminal_init_$Create$() : tmp1_elvis_lhs_3;
|
|
1882
|
+
this.j3z_1 = get_defaultArgFileReader();
|
|
1883
1883
|
var tmp_9 = this;
|
|
1884
|
-
var tmp0_safe_receiver_6 = this.
|
|
1885
|
-
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.
|
|
1886
|
-
tmp_9.
|
|
1884
|
+
var tmp0_safe_receiver_6 = this.a3z_1;
|
|
1885
|
+
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.a3x_1;
|
|
1886
|
+
tmp_9.k3z_1 = tmp1_elvis_lhs_4 == null ? true : tmp1_elvis_lhs_4;
|
|
1887
1887
|
var tmp_10 = this;
|
|
1888
|
-
var tmp0_safe_receiver_7 = this.
|
|
1889
|
-
tmp_10.
|
|
1890
|
-
this.
|
|
1891
|
-
this.
|
|
1888
|
+
var tmp0_safe_receiver_7 = this.a3z_1;
|
|
1889
|
+
tmp_10.l3z_1 = tmp0_safe_receiver_7 == null ? null : tmp0_safe_receiver_7.b3x_1;
|
|
1890
|
+
this.m3z_1 = get_DEFAULT_CORRECTION_SUGGESTOR();
|
|
1891
|
+
this.n3z_1 = get_defaultLocalization();
|
|
1892
1892
|
var tmp_11 = this;
|
|
1893
|
-
var tmp0_safe_receiver_8 = this.
|
|
1894
|
-
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.
|
|
1893
|
+
var tmp0_safe_receiver_8 = this.a3z_1;
|
|
1894
|
+
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.e3x_1;
|
|
1895
1895
|
var tmp_12;
|
|
1896
1896
|
if (tmp1_elvis_lhs_5 == null) {
|
|
1897
1897
|
tmp_12 = readEnvvar$ref();
|
|
1898
1898
|
} else {
|
|
1899
1899
|
tmp_12 = tmp1_elvis_lhs_5;
|
|
1900
1900
|
}
|
|
1901
|
-
tmp_11.
|
|
1901
|
+
tmp_11.o3z_1 = tmp_12;
|
|
1902
1902
|
var tmp_13 = this;
|
|
1903
|
-
var tmp0_safe_receiver_9 = this.
|
|
1904
|
-
tmp_13.
|
|
1903
|
+
var tmp0_safe_receiver_9 = this.a3z_1;
|
|
1904
|
+
tmp_13.p3z_1 = tmp0_safe_receiver_9 == null ? null : tmp0_safe_receiver_9.f3x_1;
|
|
1905
1905
|
}
|
|
1906
1906
|
function Companion() {
|
|
1907
1907
|
}
|
|
1908
|
-
protoOf(Companion).
|
|
1908
|
+
protoOf(Companion).y3x = function (command, parent, argv, block) {
|
|
1909
1909
|
// Inline function 'kotlin.with' call
|
|
1910
1910
|
// Inline function 'kotlin.contracts.contract' call
|
|
1911
1911
|
var $this$with = new Builder(command, parent);
|
|
1912
1912
|
block($this$with);
|
|
1913
1913
|
var tmp;
|
|
1914
|
-
if ($this$with.
|
|
1914
|
+
if ($this$with.b3z_1 && !command.z3v_1) {
|
|
1915
1915
|
var tmp_0;
|
|
1916
1916
|
if (parent == null) {
|
|
1917
1917
|
tmp_0 = null;
|
|
@@ -1922,11 +1922,11 @@ protoOf(Companion).z3x = function (command, parent, argv, block) {
|
|
|
1922
1922
|
var tmp$ret$1;
|
|
1923
1923
|
$l$block: {
|
|
1924
1924
|
// Inline function 'kotlin.sequences.any' call
|
|
1925
|
-
var tmp0_iterator = parent.
|
|
1925
|
+
var tmp0_iterator = parent.q3z().g();
|
|
1926
1926
|
while (tmp0_iterator.h()) {
|
|
1927
1927
|
var element = tmp0_iterator.i();
|
|
1928
1928
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
1929
|
-
if (element.
|
|
1929
|
+
if (element.q3w_1.z3v_1) {
|
|
1930
1930
|
tmp$ret$1 = true;
|
|
1931
1931
|
break $l$block;
|
|
1932
1932
|
}
|
|
@@ -1940,7 +1940,7 @@ protoOf(Companion).z3x = function (command, parent, argv, block) {
|
|
|
1940
1940
|
tmp = false;
|
|
1941
1941
|
}
|
|
1942
1942
|
var interspersed = tmp;
|
|
1943
|
-
var tmp1_elvis_lhs = $this$with.
|
|
1943
|
+
var tmp1_elvis_lhs = $this$with.f3z_1;
|
|
1944
1944
|
var tmp_1;
|
|
1945
1945
|
if (tmp1_elvis_lhs == null) {
|
|
1946
1946
|
tmp_1 = Context$Companion$build$lambda;
|
|
@@ -1948,56 +1948,56 @@ protoOf(Companion).z3x = function (command, parent, argv, block) {
|
|
|
1948
1948
|
tmp_1 = tmp1_elvis_lhs;
|
|
1949
1949
|
}
|
|
1950
1950
|
var formatter = tmp_1;
|
|
1951
|
-
return new Context(parent, command, interspersed, $this$with.
|
|
1951
|
+
return new Context(parent, command, interspersed, $this$with.c3z_1, $this$with.h3z_1, $this$with.d3z_1, toSet($this$with.e3z_1), formatter, $this$with.g3z_1, $this$with.i3z_1, $this$with.j3z_1, $this$with.k3z_1, $this$with.l3z_1, $this$with.m3z_1, $this$with.n3z_1, $this$with.o3z_1, $this$with.p3z_1, argv);
|
|
1952
1952
|
};
|
|
1953
1953
|
var Companion_instance_0;
|
|
1954
1954
|
function Companion_getInstance() {
|
|
1955
1955
|
return Companion_instance_0;
|
|
1956
1956
|
}
|
|
1957
1957
|
function Context$parentNames$lambda(it) {
|
|
1958
|
-
return it.
|
|
1958
|
+
return it.q3w_1.c3w_1;
|
|
1959
1959
|
}
|
|
1960
1960
|
function Context$ancestors$lambda(it) {
|
|
1961
|
-
return it.
|
|
1961
|
+
return it.p3w_1;
|
|
1962
1962
|
}
|
|
1963
1963
|
function Context$selfAndAncestors$lambda(it) {
|
|
1964
|
-
return it.
|
|
1964
|
+
return it.p3w_1;
|
|
1965
1965
|
}
|
|
1966
1966
|
function Context(parent, command, allowInterspersedArgs, allowGroupedShortOptions, autoEnvvarPrefix, printExtraMessages, helpOptionNames, helpFormatter, tokenTransformer, terminal, argumentFileReader, readEnvvarBeforeValueSource, valueSource, correctionSuggestor, localization, readEnvvar, obj, originalArgv) {
|
|
1967
|
-
this.
|
|
1968
|
-
this.
|
|
1969
|
-
this.
|
|
1970
|
-
this.
|
|
1971
|
-
this.
|
|
1972
|
-
this.
|
|
1973
|
-
this.
|
|
1974
|
-
this.
|
|
1975
|
-
this.
|
|
1976
|
-
this.
|
|
1977
|
-
this.
|
|
1978
|
-
this.
|
|
1979
|
-
this.
|
|
1980
|
-
this.
|
|
1981
|
-
this.
|
|
1982
|
-
this.
|
|
1983
|
-
this.
|
|
1984
|
-
this.
|
|
1985
|
-
this.
|
|
1986
|
-
this.
|
|
1967
|
+
this.p3w_1 = parent;
|
|
1968
|
+
this.q3w_1 = command;
|
|
1969
|
+
this.r3w_1 = allowInterspersedArgs;
|
|
1970
|
+
this.s3w_1 = allowGroupedShortOptions;
|
|
1971
|
+
this.t3w_1 = autoEnvvarPrefix;
|
|
1972
|
+
this.u3w_1 = printExtraMessages;
|
|
1973
|
+
this.v3w_1 = helpOptionNames;
|
|
1974
|
+
this.w3w_1 = helpFormatter;
|
|
1975
|
+
this.x3w_1 = tokenTransformer;
|
|
1976
|
+
this.y3w_1 = terminal;
|
|
1977
|
+
this.z3w_1 = argumentFileReader;
|
|
1978
|
+
this.a3x_1 = readEnvvarBeforeValueSource;
|
|
1979
|
+
this.b3x_1 = valueSource;
|
|
1980
|
+
this.c3x_1 = correctionSuggestor;
|
|
1981
|
+
this.d3x_1 = localization;
|
|
1982
|
+
this.e3x_1 = readEnvvar;
|
|
1983
|
+
this.f3x_1 = obj;
|
|
1984
|
+
this.g3x_1 = originalArgv;
|
|
1985
|
+
this.h3x_1 = null;
|
|
1986
|
+
this.i3x_1 = false;
|
|
1987
1987
|
var tmp = this;
|
|
1988
1988
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1989
|
-
tmp.
|
|
1989
|
+
tmp.j3x_1 = ArrayList_init_$Create$();
|
|
1990
1990
|
}
|
|
1991
|
-
protoOf(Context).
|
|
1992
|
-
var tmp = this.
|
|
1991
|
+
protoOf(Context).t3x = function () {
|
|
1992
|
+
var tmp = this.z3x();
|
|
1993
1993
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
1994
1994
|
};
|
|
1995
|
-
protoOf(Context).
|
|
1996
|
-
return plus_1(this.
|
|
1995
|
+
protoOf(Context).u3x = function () {
|
|
1996
|
+
return plus_1(this.t3x(), this.q3w_1.c3w_1);
|
|
1997
1997
|
};
|
|
1998
|
-
protoOf(Context).
|
|
1998
|
+
protoOf(Context).r3z = function () {
|
|
1999
1999
|
var err = null;
|
|
2000
|
-
var tmp0_iterator = asReversed_0(this.
|
|
2000
|
+
var tmp0_iterator = asReversed_0(this.j3x_1).g();
|
|
2001
2001
|
while (tmp0_iterator.h()) {
|
|
2002
2002
|
var c = tmp0_iterator.i();
|
|
2003
2003
|
try {
|
|
@@ -2015,18 +2015,18 @@ protoOf(Context).s3z = function () {
|
|
|
2015
2015
|
}
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
|
-
this.
|
|
2018
|
+
this.j3x_1.i2();
|
|
2019
2019
|
if (!(err == null))
|
|
2020
2020
|
throw err;
|
|
2021
2021
|
};
|
|
2022
|
-
protoOf(Context).
|
|
2023
|
-
return generateSequence(this.
|
|
2022
|
+
protoOf(Context).z3x = function () {
|
|
2023
|
+
return generateSequence(this.p3w_1, Context$ancestors$lambda);
|
|
2024
2024
|
};
|
|
2025
|
-
protoOf(Context).
|
|
2025
|
+
protoOf(Context).q3z = function () {
|
|
2026
2026
|
return generateSequence(this, Context$selfAndAncestors$lambda);
|
|
2027
2027
|
};
|
|
2028
|
-
protoOf(Context).
|
|
2029
|
-
return !(this.
|
|
2028
|
+
protoOf(Context).s3z = function () {
|
|
2029
|
+
return !(this.z3w_1 == null);
|
|
2030
2030
|
};
|
|
2031
2031
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
2032
2032
|
_init_properties_Context_kt__u684jh();
|
|
@@ -2069,16 +2069,16 @@ function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
|
2069
2069
|
return destination_1;
|
|
2070
2070
|
}
|
|
2071
2071
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2072
|
-
this.
|
|
2072
|
+
this.t3z_1 = function_0;
|
|
2073
2073
|
}
|
|
2074
2074
|
protoOf(sam$kotlin_Comparator$0).uc = function (a, b) {
|
|
2075
|
-
return this.
|
|
2075
|
+
return this.t3z_1(a, b);
|
|
2076
2076
|
};
|
|
2077
2077
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2078
2078
|
return this.uc(a, b);
|
|
2079
2079
|
};
|
|
2080
2080
|
protoOf(sam$kotlin_Comparator$0).p3 = function () {
|
|
2081
|
-
return this.
|
|
2081
|
+
return this.t3z_1;
|
|
2082
2082
|
};
|
|
2083
2083
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2084
2084
|
var tmp;
|
|
@@ -2200,7 +2200,7 @@ function NoOpCliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelp
|
|
|
2200
2200
|
hidden = hidden === VOID ? false : hidden;
|
|
2201
2201
|
CliktCommand.call(this, help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, hidden);
|
|
2202
2202
|
}
|
|
2203
|
-
protoOf(NoOpCliktCommand).
|
|
2203
|
+
protoOf(NoOpCliktCommand).z3y = function () {
|
|
2204
2204
|
return Unit_instance;
|
|
2205
2205
|
};
|
|
2206
2206
|
function StaticallyGroupedOption() {
|
|
@@ -2212,10 +2212,10 @@ function ParameterHolder() {
|
|
|
2212
2212
|
function FileNotFound(filename) {
|
|
2213
2213
|
UsageError.call(this, null);
|
|
2214
2214
|
captureStack(this, FileNotFound);
|
|
2215
|
-
this.
|
|
2215
|
+
this.w40_1 = filename;
|
|
2216
2216
|
}
|
|
2217
|
-
protoOf(FileNotFound).
|
|
2218
|
-
return localization.
|
|
2217
|
+
protoOf(FileNotFound).x40 = function (localization, formatter) {
|
|
2218
|
+
return localization.y40(this.w40_1);
|
|
2219
2219
|
};
|
|
2220
2220
|
function UsageError_init_$Init$(message, argument, statusCode, $this) {
|
|
2221
2221
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
@@ -2242,18 +2242,18 @@ function UsageError(message, paramName, statusCode) {
|
|
|
2242
2242
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
2243
2243
|
CliktError.call(this, message, VOID, statusCode);
|
|
2244
2244
|
captureStack(this, UsageError);
|
|
2245
|
-
this.
|
|
2246
|
-
this.
|
|
2245
|
+
this.b41_1 = paramName;
|
|
2246
|
+
this.c41_1 = null;
|
|
2247
2247
|
}
|
|
2248
|
-
protoOf(UsageError).
|
|
2248
|
+
protoOf(UsageError).x40 = function (localization, formatter) {
|
|
2249
2249
|
var tmp0_elvis_lhs = this.message;
|
|
2250
2250
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2251
2251
|
};
|
|
2252
|
-
protoOf(UsageError).
|
|
2253
|
-
this.
|
|
2252
|
+
protoOf(UsageError).d41 = function (_set____db54di) {
|
|
2253
|
+
this.c41_1 = _set____db54di;
|
|
2254
2254
|
};
|
|
2255
2255
|
protoOf(UsageError).z8 = function () {
|
|
2256
|
-
return this.
|
|
2256
|
+
return this.c41_1;
|
|
2257
2257
|
};
|
|
2258
2258
|
function CliktError(message, cause, statusCode, printError) {
|
|
2259
2259
|
message = message === VOID ? null : message;
|
|
@@ -2262,8 +2262,8 @@ function CliktError(message, cause, statusCode, printError) {
|
|
|
2262
2262
|
printError = printError === VOID ? true : printError;
|
|
2263
2263
|
RuntimeException_init_$Init$(message, cause, this);
|
|
2264
2264
|
captureStack(this, CliktError);
|
|
2265
|
-
this.
|
|
2266
|
-
this.
|
|
2265
|
+
this.r3y_1 = statusCode;
|
|
2266
|
+
this.s3y_1 = printError;
|
|
2267
2267
|
}
|
|
2268
2268
|
function ContextCliktError() {
|
|
2269
2269
|
}
|
|
@@ -2272,15 +2272,15 @@ function PrintHelpMessage(context, error, statusCode) {
|
|
|
2272
2272
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
2273
2273
|
CliktError.call(this, VOID, VOID, statusCode, false);
|
|
2274
2274
|
captureStack(this, PrintHelpMessage);
|
|
2275
|
-
this.
|
|
2276
|
-
this.
|
|
2275
|
+
this.g41_1 = context;
|
|
2276
|
+
this.h41_1 = error;
|
|
2277
2277
|
}
|
|
2278
2278
|
protoOf(PrintHelpMessage).z8 = function () {
|
|
2279
|
-
return this.
|
|
2279
|
+
return this.g41_1;
|
|
2280
2280
|
};
|
|
2281
2281
|
function Companion_0() {
|
|
2282
2282
|
}
|
|
2283
|
-
protoOf(Companion_0).
|
|
2283
|
+
protoOf(Companion_0).i41 = function (errors) {
|
|
2284
2284
|
var tmp;
|
|
2285
2285
|
switch (errors.j()) {
|
|
2286
2286
|
case 0:
|
|
@@ -2300,7 +2300,7 @@ protoOf(Companion_0).j41 = function (errors) {
|
|
|
2300
2300
|
var element = tmp0_iterator.i();
|
|
2301
2301
|
// Inline function 'com.github.ajalt.clikt.core.Companion.buildOrNull.<anonymous>' call
|
|
2302
2302
|
var tmp0_safe_receiver = element instanceof MultiUsageError ? element : null;
|
|
2303
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2303
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n41_1;
|
|
2304
2304
|
var list = tmp1_elvis_lhs == null ? listOf_0(element) : tmp1_elvis_lhs;
|
|
2305
2305
|
addAll(destination, list);
|
|
2306
2306
|
}
|
|
@@ -2316,16 +2316,16 @@ function Companion_getInstance_0() {
|
|
|
2316
2316
|
}
|
|
2317
2317
|
function MultiUsageError$formatMessage$lambda($localization, $formatter) {
|
|
2318
2318
|
return function (it) {
|
|
2319
|
-
return it.
|
|
2319
|
+
return it.x40($localization, $formatter);
|
|
2320
2320
|
};
|
|
2321
2321
|
}
|
|
2322
2322
|
function MultiUsageError(errors) {
|
|
2323
|
-
UsageError.call(this, null, VOID, first_0(errors).
|
|
2323
|
+
UsageError.call(this, null, VOID, first_0(errors).r3y_1);
|
|
2324
2324
|
captureStack(this, MultiUsageError);
|
|
2325
|
-
this.
|
|
2325
|
+
this.n41_1 = errors;
|
|
2326
2326
|
}
|
|
2327
|
-
protoOf(MultiUsageError).
|
|
2328
|
-
return joinToString(this.
|
|
2327
|
+
protoOf(MultiUsageError).x40 = function (localization, formatter) {
|
|
2328
|
+
return joinToString(this.n41_1, '\n', VOID, VOID, VOID, VOID, MultiUsageError$formatMessage$lambda(localization, formatter));
|
|
2329
2329
|
};
|
|
2330
2330
|
var Kind_Argument_instance;
|
|
2331
2331
|
var Kind_Option_instance;
|
|
@@ -2343,7 +2343,7 @@ function Kind(name, ordinal) {
|
|
|
2343
2343
|
function BadParameterValue_init_$Init$(message, argument, $this) {
|
|
2344
2344
|
UsageError_init_$Init$(message, argument, VOID, $this);
|
|
2345
2345
|
BadParameterValue.call($this);
|
|
2346
|
-
$this.
|
|
2346
|
+
$this.s41_1 = Kind_Argument_getInstance();
|
|
2347
2347
|
return $this;
|
|
2348
2348
|
}
|
|
2349
2349
|
function BadParameterValue_init_$Create$(message, argument) {
|
|
@@ -2354,7 +2354,7 @@ function BadParameterValue_init_$Create$(message, argument) {
|
|
|
2354
2354
|
function BadParameterValue_init_$Init$_0(message, option, $this) {
|
|
2355
2355
|
UsageError_init_$Init$_0(message, option, VOID, $this);
|
|
2356
2356
|
BadParameterValue.call($this);
|
|
2357
|
-
$this.
|
|
2357
|
+
$this.s41_1 = Kind_Option_getInstance();
|
|
2358
2358
|
return $this;
|
|
2359
2359
|
}
|
|
2360
2360
|
function BadParameterValue_init_$Create$_0(message, option) {
|
|
@@ -2365,7 +2365,7 @@ function BadParameterValue_init_$Create$_0(message, option) {
|
|
|
2365
2365
|
function BadParameterValue_init_$Init$_1(message, option, name, $this) {
|
|
2366
2366
|
UsageError.call($this, message, name);
|
|
2367
2367
|
BadParameterValue.call($this);
|
|
2368
|
-
$this.
|
|
2368
|
+
$this.s41_1 = Kind_Option_getInstance();
|
|
2369
2369
|
return $this;
|
|
2370
2370
|
}
|
|
2371
2371
|
function BadParameterValue_init_$Create$_1(message, option, name) {
|
|
@@ -2381,7 +2381,7 @@ function Kind_Option_getInstance() {
|
|
|
2381
2381
|
Kind_initEntries();
|
|
2382
2382
|
return Kind_Option_instance;
|
|
2383
2383
|
}
|
|
2384
|
-
protoOf(BadParameterValue).
|
|
2384
|
+
protoOf(BadParameterValue).x40 = function (localization, formatter) {
|
|
2385
2385
|
// Inline function 'kotlin.takeUnless' call
|
|
2386
2386
|
var this_0 = this.message;
|
|
2387
2387
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -2395,7 +2395,7 @@ protoOf(BadParameterValue).y40 = function (localization, formatter) {
|
|
|
2395
2395
|
tmp = null;
|
|
2396
2396
|
}
|
|
2397
2397
|
var m = tmp;
|
|
2398
|
-
var tmp0_safe_receiver = this.
|
|
2398
|
+
var tmp0_safe_receiver = this.b41_1;
|
|
2399
2399
|
var tmp_0;
|
|
2400
2400
|
if (tmp0_safe_receiver == null) {
|
|
2401
2401
|
tmp_0 = null;
|
|
@@ -2420,14 +2420,14 @@ protoOf(BadParameterValue).y40 = function (localization, formatter) {
|
|
|
2420
2420
|
// Inline function 'kotlin.let' call
|
|
2421
2421
|
// Inline function 'kotlin.contracts.contract' call
|
|
2422
2422
|
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2423
|
-
var tmp0_subject = this.
|
|
2423
|
+
var tmp0_subject = this.s41_1;
|
|
2424
2424
|
var tmp_3;
|
|
2425
2425
|
switch (tmp0_subject == null ? -1 : tmp0_subject.r2_1) {
|
|
2426
2426
|
case 0:
|
|
2427
|
-
tmp_3 = formatter.
|
|
2427
|
+
tmp_3 = formatter.t41(tmp1_safe_receiver);
|
|
2428
2428
|
break;
|
|
2429
2429
|
case 1:
|
|
2430
|
-
tmp_3 = formatter.
|
|
2430
|
+
tmp_3 = formatter.u41(tmp1_safe_receiver);
|
|
2431
2431
|
break;
|
|
2432
2432
|
case -1:
|
|
2433
2433
|
tmp_3 = tmp1_safe_receiver;
|
|
@@ -2441,13 +2441,13 @@ protoOf(BadParameterValue).y40 = function (localization, formatter) {
|
|
|
2441
2441
|
var p = tmp_2;
|
|
2442
2442
|
var tmp_4;
|
|
2443
2443
|
if (m == null && p == null) {
|
|
2444
|
-
tmp_4 = localization.
|
|
2444
|
+
tmp_4 = localization.y41();
|
|
2445
2445
|
} else if (m == null && !(p == null)) {
|
|
2446
|
-
tmp_4 = localization.
|
|
2446
|
+
tmp_4 = localization.x41(p);
|
|
2447
2447
|
} else if (!(m == null) && p == null) {
|
|
2448
|
-
tmp_4 = localization.
|
|
2448
|
+
tmp_4 = localization.w41(m);
|
|
2449
2449
|
} else if (!(m == null) && !(p == null)) {
|
|
2450
|
-
tmp_4 = localization.
|
|
2450
|
+
tmp_4 = localization.v41(p, m);
|
|
2451
2451
|
} else {
|
|
2452
2452
|
var message = 'impossible';
|
|
2453
2453
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -2465,64 +2465,64 @@ function NoSuchSubcommand(paramName, possibilities) {
|
|
|
2465
2465
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2466
2466
|
UsageError.call(this, null, paramName);
|
|
2467
2467
|
captureStack(this, NoSuchSubcommand);
|
|
2468
|
-
this.
|
|
2468
|
+
this.d42_1 = possibilities;
|
|
2469
2469
|
}
|
|
2470
|
-
protoOf(NoSuchSubcommand).
|
|
2471
|
-
var tmp0_safe_receiver = this.
|
|
2470
|
+
protoOf(NoSuchSubcommand).x40 = function (localization, formatter) {
|
|
2471
|
+
var tmp0_safe_receiver = this.b41_1;
|
|
2472
2472
|
var tmp;
|
|
2473
2473
|
if (tmp0_safe_receiver == null) {
|
|
2474
2474
|
tmp = null;
|
|
2475
2475
|
} else {
|
|
2476
2476
|
// Inline function 'kotlin.let' call
|
|
2477
2477
|
// Inline function 'kotlin.contracts.contract' call
|
|
2478
|
-
tmp = formatter.
|
|
2478
|
+
tmp = formatter.e42(tmp0_safe_receiver);
|
|
2479
2479
|
}
|
|
2480
2480
|
var tmp1_elvis_lhs = tmp;
|
|
2481
2481
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2482
2482
|
// Inline function 'kotlin.collections.map' call
|
|
2483
|
-
var this_0 = this.
|
|
2483
|
+
var this_0 = this.d42_1;
|
|
2484
2484
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2485
2485
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2486
2486
|
var tmp0_iterator = this_0.g();
|
|
2487
2487
|
while (tmp0_iterator.h()) {
|
|
2488
2488
|
var item = tmp0_iterator.i();
|
|
2489
|
-
var tmp$ret$2 = formatter.
|
|
2489
|
+
var tmp$ret$2 = formatter.e42(item);
|
|
2490
2490
|
destination.e(tmp$ret$2);
|
|
2491
2491
|
}
|
|
2492
|
-
return localization.
|
|
2492
|
+
return localization.f42(tmp_0, destination);
|
|
2493
2493
|
};
|
|
2494
2494
|
function NoSuchOption(paramName, possibilities) {
|
|
2495
2495
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2496
2496
|
UsageError.call(this, null, paramName);
|
|
2497
2497
|
captureStack(this, NoSuchOption);
|
|
2498
|
-
this.
|
|
2498
|
+
this.k42_1 = possibilities;
|
|
2499
2499
|
}
|
|
2500
|
-
protoOf(NoSuchOption).
|
|
2501
|
-
var tmp0_safe_receiver = this.
|
|
2500
|
+
protoOf(NoSuchOption).x40 = function (localization, formatter) {
|
|
2501
|
+
var tmp0_safe_receiver = this.b41_1;
|
|
2502
2502
|
var tmp;
|
|
2503
2503
|
if (tmp0_safe_receiver == null) {
|
|
2504
2504
|
tmp = null;
|
|
2505
2505
|
} else {
|
|
2506
2506
|
// Inline function 'kotlin.let' call
|
|
2507
2507
|
// Inline function 'kotlin.contracts.contract' call
|
|
2508
|
-
tmp = formatter.
|
|
2508
|
+
tmp = formatter.u41(tmp0_safe_receiver);
|
|
2509
2509
|
}
|
|
2510
2510
|
var tmp1_elvis_lhs = tmp;
|
|
2511
2511
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2512
2512
|
// Inline function 'kotlin.collections.map' call
|
|
2513
|
-
var this_0 = this.
|
|
2513
|
+
var this_0 = this.k42_1;
|
|
2514
2514
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2515
2515
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2516
2516
|
var tmp0_iterator = this_0.g();
|
|
2517
2517
|
while (tmp0_iterator.h()) {
|
|
2518
2518
|
var item = tmp0_iterator.i();
|
|
2519
|
-
var tmp$ret$2 = formatter.
|
|
2519
|
+
var tmp$ret$2 = formatter.u41(item);
|
|
2520
2520
|
destination.e(tmp$ret$2);
|
|
2521
2521
|
}
|
|
2522
|
-
return localization.
|
|
2522
|
+
return localization.l42(tmp_0, destination);
|
|
2523
2523
|
};
|
|
2524
2524
|
function IncorrectOptionValueCount_init_$Init$(option, paramName, $this) {
|
|
2525
|
-
IncorrectOptionValueCount.call($this, option.
|
|
2525
|
+
IncorrectOptionValueCount.call($this, option.n3x().d1_1, paramName);
|
|
2526
2526
|
return $this;
|
|
2527
2527
|
}
|
|
2528
2528
|
function IncorrectOptionValueCount_init_$Create$(option, paramName) {
|
|
@@ -2533,40 +2533,40 @@ function IncorrectOptionValueCount_init_$Create$(option, paramName) {
|
|
|
2533
2533
|
function IncorrectOptionValueCount(minValues, paramName) {
|
|
2534
2534
|
UsageError.call(this, null, paramName);
|
|
2535
2535
|
captureStack(this, IncorrectOptionValueCount);
|
|
2536
|
-
this.
|
|
2536
|
+
this.q42_1 = minValues;
|
|
2537
2537
|
}
|
|
2538
|
-
protoOf(IncorrectOptionValueCount).
|
|
2539
|
-
var tmp0_safe_receiver = this.
|
|
2538
|
+
protoOf(IncorrectOptionValueCount).x40 = function (localization, formatter) {
|
|
2539
|
+
var tmp0_safe_receiver = this.b41_1;
|
|
2540
2540
|
var tmp;
|
|
2541
2541
|
if (tmp0_safe_receiver == null) {
|
|
2542
2542
|
tmp = null;
|
|
2543
2543
|
} else {
|
|
2544
2544
|
// Inline function 'kotlin.let' call
|
|
2545
2545
|
// Inline function 'kotlin.contracts.contract' call
|
|
2546
|
-
tmp = formatter.
|
|
2546
|
+
tmp = formatter.u41(tmp0_safe_receiver);
|
|
2547
2547
|
}
|
|
2548
2548
|
var tmp1_elvis_lhs = tmp;
|
|
2549
|
-
return localization.
|
|
2549
|
+
return localization.r42(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.q42_1);
|
|
2550
2550
|
};
|
|
2551
2551
|
function MissingArgument(argument) {
|
|
2552
2552
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2553
2553
|
captureStack(this, MissingArgument);
|
|
2554
2554
|
}
|
|
2555
|
-
protoOf(MissingArgument).
|
|
2556
|
-
var tmp0_safe_receiver = this.
|
|
2555
|
+
protoOf(MissingArgument).x40 = function (localization, formatter) {
|
|
2556
|
+
var tmp0_safe_receiver = this.b41_1;
|
|
2557
2557
|
var tmp;
|
|
2558
2558
|
if (tmp0_safe_receiver == null) {
|
|
2559
2559
|
tmp = null;
|
|
2560
2560
|
} else {
|
|
2561
2561
|
// Inline function 'kotlin.let' call
|
|
2562
2562
|
// Inline function 'kotlin.contracts.contract' call
|
|
2563
|
-
tmp = formatter.
|
|
2563
|
+
tmp = formatter.t41(tmp0_safe_receiver);
|
|
2564
2564
|
}
|
|
2565
2565
|
var tmp1_elvis_lhs = tmp;
|
|
2566
|
-
return localization.
|
|
2566
|
+
return localization.w42(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2567
2567
|
};
|
|
2568
2568
|
function IncorrectArgumentValueCount_init_$Init$(argument, $this) {
|
|
2569
|
-
IncorrectArgumentValueCount.call($this, argument.
|
|
2569
|
+
IncorrectArgumentValueCount.call($this, argument.n3x(), argument);
|
|
2570
2570
|
return $this;
|
|
2571
2571
|
}
|
|
2572
2572
|
function IncorrectArgumentValueCount_init_$Create$(argument) {
|
|
@@ -2577,20 +2577,20 @@ function IncorrectArgumentValueCount_init_$Create$(argument) {
|
|
|
2577
2577
|
function IncorrectArgumentValueCount(nvalues, argument) {
|
|
2578
2578
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2579
2579
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2580
|
-
this.
|
|
2580
|
+
this.b43_1 = nvalues;
|
|
2581
2581
|
}
|
|
2582
|
-
protoOf(IncorrectArgumentValueCount).
|
|
2583
|
-
var tmp0_safe_receiver = this.
|
|
2582
|
+
protoOf(IncorrectArgumentValueCount).x40 = function (localization, formatter) {
|
|
2583
|
+
var tmp0_safe_receiver = this.b41_1;
|
|
2584
2584
|
var tmp;
|
|
2585
2585
|
if (tmp0_safe_receiver == null) {
|
|
2586
2586
|
tmp = null;
|
|
2587
2587
|
} else {
|
|
2588
2588
|
// Inline function 'kotlin.let' call
|
|
2589
2589
|
// Inline function 'kotlin.contracts.contract' call
|
|
2590
|
-
tmp = formatter.
|
|
2590
|
+
tmp = formatter.t41(tmp0_safe_receiver);
|
|
2591
2591
|
}
|
|
2592
2592
|
var tmp1_elvis_lhs = tmp;
|
|
2593
|
-
return localization.
|
|
2593
|
+
return localization.c43(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.b43_1);
|
|
2594
2594
|
};
|
|
2595
2595
|
function PrintMessage(message, statusCode, printError) {
|
|
2596
2596
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
@@ -2604,11 +2604,11 @@ function InvalidFileFormat(filename, message, lineno) {
|
|
|
2604
2604
|
lineno = lineno === VOID ? null : lineno;
|
|
2605
2605
|
UsageError.call(this, message);
|
|
2606
2606
|
captureStack(this, InvalidFileFormat);
|
|
2607
|
-
this.
|
|
2608
|
-
this.
|
|
2607
|
+
this.h43_1 = filename;
|
|
2608
|
+
this.i43_1 = lineno;
|
|
2609
2609
|
}
|
|
2610
|
-
protoOf(InvalidFileFormat).
|
|
2611
|
-
return this.
|
|
2610
|
+
protoOf(InvalidFileFormat).x40 = function (localization, formatter) {
|
|
2611
|
+
return this.i43_1 == null ? localization.k43(this.h43_1, ensureNotNull(this.message)) : localization.j43(this.h43_1, this.i43_1, ensureNotNull(this.message));
|
|
2612
2612
|
};
|
|
2613
2613
|
function ProgramResult() {
|
|
2614
2614
|
}
|
|
@@ -2616,18 +2616,18 @@ function MissingOption(option) {
|
|
|
2616
2616
|
UsageError_init_$Init$_2(option, VOID, this);
|
|
2617
2617
|
captureStack(this, MissingOption);
|
|
2618
2618
|
}
|
|
2619
|
-
protoOf(MissingOption).
|
|
2620
|
-
var tmp0_safe_receiver = this.
|
|
2619
|
+
protoOf(MissingOption).x40 = function (localization, formatter) {
|
|
2620
|
+
var tmp0_safe_receiver = this.b41_1;
|
|
2621
2621
|
var tmp;
|
|
2622
2622
|
if (tmp0_safe_receiver == null) {
|
|
2623
2623
|
tmp = null;
|
|
2624
2624
|
} else {
|
|
2625
2625
|
// Inline function 'kotlin.let' call
|
|
2626
2626
|
// Inline function 'kotlin.contracts.contract' call
|
|
2627
|
-
tmp = formatter.
|
|
2627
|
+
tmp = formatter.u41(tmp0_safe_receiver);
|
|
2628
2628
|
}
|
|
2629
2629
|
var tmp1_elvis_lhs = tmp;
|
|
2630
|
-
return localization.
|
|
2630
|
+
return localization.p43(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2631
2631
|
};
|
|
2632
2632
|
function get_defaultArgFileReader() {
|
|
2633
2633
|
_init_properties_ArgFileReader_kt__5nb90j();
|
|
@@ -2742,13 +2742,13 @@ function finalizeParameters(context, options, groups, invocationsByOptionByGroup
|
|
|
2742
2742
|
var it = tmp3_iterator.i();
|
|
2743
2743
|
try {
|
|
2744
2744
|
if (it instanceof Arg) {
|
|
2745
|
-
it.
|
|
2745
|
+
it.w43_1.y43(context, it.x43_1);
|
|
2746
2746
|
} else {
|
|
2747
2747
|
if (it instanceof Opt) {
|
|
2748
|
-
it.
|
|
2748
|
+
it.t43_1.v43(context, it.u43_1);
|
|
2749
2749
|
} else {
|
|
2750
2750
|
if (it instanceof Group) {
|
|
2751
|
-
it.
|
|
2751
|
+
it.q43_1.s43(context, it.r43_1);
|
|
2752
2752
|
}
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
@@ -2762,11 +2762,11 @@ function finalizeParameters(context, options, groups, invocationsByOptionByGroup
|
|
|
2762
2762
|
var e_0 = $p;
|
|
2763
2763
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2764
2764
|
errors.e(e_0);
|
|
2765
|
-
context.
|
|
2765
|
+
context.i3x_1 = true;
|
|
2766
2766
|
} else {
|
|
2767
2767
|
if ($p instanceof Abort) {
|
|
2768
2768
|
var e_1 = $p;
|
|
2769
|
-
if (!context.
|
|
2769
|
+
if (!context.i3x_1)
|
|
2770
2770
|
throw e_1;
|
|
2771
2771
|
} else {
|
|
2772
2772
|
throw $p;
|
|
@@ -2780,7 +2780,7 @@ function finalizeParameters(context, options, groups, invocationsByOptionByGroup
|
|
|
2780
2780
|
currentRound = toList_0(nextRound);
|
|
2781
2781
|
nextRound.i2();
|
|
2782
2782
|
}
|
|
2783
|
-
var tmp5_safe_receiver = Companion_instance_1.
|
|
2783
|
+
var tmp5_safe_receiver = Companion_instance_1.i41(errors);
|
|
2784
2784
|
if (tmp5_safe_receiver == null)
|
|
2785
2785
|
null;
|
|
2786
2786
|
else {
|
|
@@ -2793,18 +2793,18 @@ function Param() {
|
|
|
2793
2793
|
}
|
|
2794
2794
|
function Group(group, invs) {
|
|
2795
2795
|
Param.call(this);
|
|
2796
|
-
this.
|
|
2797
|
-
this.
|
|
2796
|
+
this.q43_1 = group;
|
|
2797
|
+
this.r43_1 = invs;
|
|
2798
2798
|
}
|
|
2799
2799
|
function Opt(option, invs) {
|
|
2800
2800
|
Param.call(this);
|
|
2801
|
-
this.
|
|
2802
|
-
this.
|
|
2801
|
+
this.t43_1 = option;
|
|
2802
|
+
this.u43_1 = invs;
|
|
2803
2803
|
}
|
|
2804
2804
|
function Arg(argument, invs) {
|
|
2805
2805
|
Param.call(this);
|
|
2806
|
-
this.
|
|
2807
|
-
this.
|
|
2806
|
+
this.w43_1 = argument;
|
|
2807
|
+
this.x43_1 = invs;
|
|
2808
2808
|
}
|
|
2809
2809
|
function get_ANSI_CODE_RE() {
|
|
2810
2810
|
_init_properties_MppH_kt__np0w85();
|
|
@@ -2820,29 +2820,29 @@ function _init_properties_MppH_kt__np0w85() {
|
|
|
2820
2820
|
}
|
|
2821
2821
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, acceptsNumberValueWithoutName, acceptsUnattachedValue, groupName) {
|
|
2822
2822
|
ParameterHelp.call(this);
|
|
2823
|
-
this.
|
|
2824
|
-
this.
|
|
2825
|
-
this.
|
|
2826
|
-
this.
|
|
2827
|
-
this.
|
|
2828
|
-
this.
|
|
2829
|
-
this.
|
|
2830
|
-
this.
|
|
2831
|
-
this.
|
|
2823
|
+
this.z43_1 = names;
|
|
2824
|
+
this.a44_1 = secondaryNames;
|
|
2825
|
+
this.b44_1 = metavar;
|
|
2826
|
+
this.c44_1 = help;
|
|
2827
|
+
this.d44_1 = nvalues;
|
|
2828
|
+
this.e44_1 = tags;
|
|
2829
|
+
this.f44_1 = acceptsNumberValueWithoutName;
|
|
2830
|
+
this.g44_1 = acceptsUnattachedValue;
|
|
2831
|
+
this.h44_1 = groupName;
|
|
2832
2832
|
}
|
|
2833
2833
|
protoOf(Option).toString = function () {
|
|
2834
|
-
return 'Option(names=' + toString_0(this.
|
|
2834
|
+
return 'Option(names=' + toString_0(this.z43_1) + ', secondaryNames=' + toString_0(this.a44_1) + ', metavar=' + this.b44_1 + ', help=' + this.c44_1 + ', nvalues=' + this.d44_1.toString() + ', tags=' + toString_0(this.e44_1) + ', acceptsNumberValueWithoutName=' + this.f44_1 + ', acceptsUnattachedValue=' + this.g44_1 + ', groupName=' + this.h44_1 + ')';
|
|
2835
2835
|
};
|
|
2836
2836
|
protoOf(Option).hashCode = function () {
|
|
2837
|
-
var result = hashCode(this.
|
|
2838
|
-
result = imul(result, 31) + hashCode(this.
|
|
2839
|
-
result = imul(result, 31) + (this.
|
|
2840
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2841
|
-
result = imul(result, 31) + this.
|
|
2842
|
-
result = imul(result, 31) + hashCode(this.
|
|
2837
|
+
var result = hashCode(this.z43_1);
|
|
2838
|
+
result = imul(result, 31) + hashCode(this.a44_1) | 0;
|
|
2839
|
+
result = imul(result, 31) + (this.b44_1 == null ? 0 : getStringHashCode(this.b44_1)) | 0;
|
|
2840
|
+
result = imul(result, 31) + getStringHashCode(this.c44_1) | 0;
|
|
2841
|
+
result = imul(result, 31) + this.d44_1.hashCode() | 0;
|
|
2842
|
+
result = imul(result, 31) + hashCode(this.e44_1) | 0;
|
|
2843
|
+
result = imul(result, 31) + getBooleanHashCode(this.f44_1) | 0;
|
|
2843
2844
|
result = imul(result, 31) + getBooleanHashCode(this.g44_1) | 0;
|
|
2844
|
-
result = imul(result, 31) +
|
|
2845
|
-
result = imul(result, 31) + (this.i44_1 == null ? 0 : getStringHashCode(this.i44_1)) | 0;
|
|
2845
|
+
result = imul(result, 31) + (this.h44_1 == null ? 0 : getStringHashCode(this.h44_1)) | 0;
|
|
2846
2846
|
return result;
|
|
2847
2847
|
};
|
|
2848
2848
|
protoOf(Option).equals = function (other) {
|
|
@@ -2851,43 +2851,43 @@ protoOf(Option).equals = function (other) {
|
|
|
2851
2851
|
if (!(other instanceof Option))
|
|
2852
2852
|
return false;
|
|
2853
2853
|
var tmp0_other_with_cast = other instanceof Option ? other : THROW_CCE();
|
|
2854
|
+
if (!equals(this.z43_1, tmp0_other_with_cast.z43_1))
|
|
2855
|
+
return false;
|
|
2854
2856
|
if (!equals(this.a44_1, tmp0_other_with_cast.a44_1))
|
|
2855
2857
|
return false;
|
|
2856
|
-
if (!
|
|
2858
|
+
if (!(this.b44_1 == tmp0_other_with_cast.b44_1))
|
|
2857
2859
|
return false;
|
|
2858
|
-
if (!(this.c44_1
|
|
2860
|
+
if (!(this.c44_1 === tmp0_other_with_cast.c44_1))
|
|
2859
2861
|
return false;
|
|
2860
|
-
if (!
|
|
2862
|
+
if (!this.d44_1.equals(tmp0_other_with_cast.d44_1))
|
|
2861
2863
|
return false;
|
|
2862
|
-
if (!this.e44_1
|
|
2864
|
+
if (!equals(this.e44_1, tmp0_other_with_cast.e44_1))
|
|
2863
2865
|
return false;
|
|
2864
|
-
if (!
|
|
2866
|
+
if (!(this.f44_1 === tmp0_other_with_cast.f44_1))
|
|
2865
2867
|
return false;
|
|
2866
2868
|
if (!(this.g44_1 === tmp0_other_with_cast.g44_1))
|
|
2867
2869
|
return false;
|
|
2868
|
-
if (!(this.h44_1
|
|
2869
|
-
return false;
|
|
2870
|
-
if (!(this.i44_1 == tmp0_other_with_cast.i44_1))
|
|
2870
|
+
if (!(this.h44_1 == tmp0_other_with_cast.h44_1))
|
|
2871
2871
|
return false;
|
|
2872
2872
|
return true;
|
|
2873
2873
|
};
|
|
2874
2874
|
function Argument(name, help, required, repeatable, tags) {
|
|
2875
2875
|
ParameterHelp.call(this);
|
|
2876
|
-
this.
|
|
2877
|
-
this.
|
|
2878
|
-
this.
|
|
2879
|
-
this.
|
|
2880
|
-
this.
|
|
2876
|
+
this.i44_1 = name;
|
|
2877
|
+
this.j44_1 = help;
|
|
2878
|
+
this.k44_1 = required;
|
|
2879
|
+
this.l44_1 = repeatable;
|
|
2880
|
+
this.m44_1 = tags;
|
|
2881
2881
|
}
|
|
2882
2882
|
protoOf(Argument).toString = function () {
|
|
2883
|
-
return 'Argument(name=' + this.
|
|
2883
|
+
return 'Argument(name=' + this.i44_1 + ', help=' + this.j44_1 + ', required=' + this.k44_1 + ', repeatable=' + this.l44_1 + ', tags=' + toString_0(this.m44_1) + ')';
|
|
2884
2884
|
};
|
|
2885
2885
|
protoOf(Argument).hashCode = function () {
|
|
2886
|
-
var result = getStringHashCode(this.
|
|
2887
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2886
|
+
var result = getStringHashCode(this.i44_1);
|
|
2887
|
+
result = imul(result, 31) + getStringHashCode(this.j44_1) | 0;
|
|
2888
|
+
result = imul(result, 31) + getBooleanHashCode(this.k44_1) | 0;
|
|
2888
2889
|
result = imul(result, 31) + getBooleanHashCode(this.l44_1) | 0;
|
|
2889
|
-
result = imul(result, 31) +
|
|
2890
|
-
result = imul(result, 31) + hashCode(this.n44_1) | 0;
|
|
2890
|
+
result = imul(result, 31) + hashCode(this.m44_1) | 0;
|
|
2891
2891
|
return result;
|
|
2892
2892
|
};
|
|
2893
2893
|
protoOf(Argument).equals = function (other) {
|
|
@@ -2896,31 +2896,31 @@ protoOf(Argument).equals = function (other) {
|
|
|
2896
2896
|
if (!(other instanceof Argument))
|
|
2897
2897
|
return false;
|
|
2898
2898
|
var tmp0_other_with_cast = other instanceof Argument ? other : THROW_CCE();
|
|
2899
|
+
if (!(this.i44_1 === tmp0_other_with_cast.i44_1))
|
|
2900
|
+
return false;
|
|
2899
2901
|
if (!(this.j44_1 === tmp0_other_with_cast.j44_1))
|
|
2900
2902
|
return false;
|
|
2901
2903
|
if (!(this.k44_1 === tmp0_other_with_cast.k44_1))
|
|
2902
2904
|
return false;
|
|
2903
2905
|
if (!(this.l44_1 === tmp0_other_with_cast.l44_1))
|
|
2904
2906
|
return false;
|
|
2905
|
-
if (!(this.m44_1
|
|
2906
|
-
return false;
|
|
2907
|
-
if (!equals(this.n44_1, tmp0_other_with_cast.n44_1))
|
|
2907
|
+
if (!equals(this.m44_1, tmp0_other_with_cast.m44_1))
|
|
2908
2908
|
return false;
|
|
2909
2909
|
return true;
|
|
2910
2910
|
};
|
|
2911
2911
|
function Subcommand(name, help, tags) {
|
|
2912
2912
|
ParameterHelp.call(this);
|
|
2913
|
-
this.
|
|
2914
|
-
this.
|
|
2915
|
-
this.
|
|
2913
|
+
this.n44_1 = name;
|
|
2914
|
+
this.o44_1 = help;
|
|
2915
|
+
this.p44_1 = tags;
|
|
2916
2916
|
}
|
|
2917
2917
|
protoOf(Subcommand).toString = function () {
|
|
2918
|
-
return 'Subcommand(name=' + this.
|
|
2918
|
+
return 'Subcommand(name=' + this.n44_1 + ', help=' + this.o44_1 + ', tags=' + toString_0(this.p44_1) + ')';
|
|
2919
2919
|
};
|
|
2920
2920
|
protoOf(Subcommand).hashCode = function () {
|
|
2921
|
-
var result = getStringHashCode(this.
|
|
2922
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2923
|
-
result = imul(result, 31) + hashCode(this.
|
|
2921
|
+
var result = getStringHashCode(this.n44_1);
|
|
2922
|
+
result = imul(result, 31) + getStringHashCode(this.o44_1) | 0;
|
|
2923
|
+
result = imul(result, 31) + hashCode(this.p44_1) | 0;
|
|
2924
2924
|
return result;
|
|
2925
2925
|
};
|
|
2926
2926
|
protoOf(Subcommand).equals = function (other) {
|
|
@@ -2929,25 +2929,25 @@ protoOf(Subcommand).equals = function (other) {
|
|
|
2929
2929
|
if (!(other instanceof Subcommand))
|
|
2930
2930
|
return false;
|
|
2931
2931
|
var tmp0_other_with_cast = other instanceof Subcommand ? other : THROW_CCE();
|
|
2932
|
-
if (!(this.
|
|
2932
|
+
if (!(this.n44_1 === tmp0_other_with_cast.n44_1))
|
|
2933
2933
|
return false;
|
|
2934
|
-
if (!(this.
|
|
2934
|
+
if (!(this.o44_1 === tmp0_other_with_cast.o44_1))
|
|
2935
2935
|
return false;
|
|
2936
|
-
if (!equals(this.
|
|
2936
|
+
if (!equals(this.p44_1, tmp0_other_with_cast.p44_1))
|
|
2937
2937
|
return false;
|
|
2938
2938
|
return true;
|
|
2939
2939
|
};
|
|
2940
2940
|
function Group_0(name, help) {
|
|
2941
2941
|
ParameterHelp.call(this);
|
|
2942
|
-
this.
|
|
2943
|
-
this.
|
|
2942
|
+
this.q44_1 = name;
|
|
2943
|
+
this.r44_1 = help;
|
|
2944
2944
|
}
|
|
2945
2945
|
protoOf(Group_0).toString = function () {
|
|
2946
|
-
return 'Group(name=' + this.
|
|
2946
|
+
return 'Group(name=' + this.q44_1 + ', help=' + this.r44_1 + ')';
|
|
2947
2947
|
};
|
|
2948
2948
|
protoOf(Group_0).hashCode = function () {
|
|
2949
|
-
var result = getStringHashCode(this.
|
|
2950
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2949
|
+
var result = getStringHashCode(this.q44_1);
|
|
2950
|
+
result = imul(result, 31) + getStringHashCode(this.r44_1) | 0;
|
|
2951
2951
|
return result;
|
|
2952
2952
|
};
|
|
2953
2953
|
protoOf(Group_0).equals = function (other) {
|
|
@@ -2956,9 +2956,9 @@ protoOf(Group_0).equals = function (other) {
|
|
|
2956
2956
|
if (!(other instanceof Group_0))
|
|
2957
2957
|
return false;
|
|
2958
2958
|
var tmp0_other_with_cast = other instanceof Group_0 ? other : THROW_CCE();
|
|
2959
|
-
if (!(this.
|
|
2959
|
+
if (!(this.q44_1 === tmp0_other_with_cast.q44_1))
|
|
2960
2960
|
return false;
|
|
2961
|
-
if (!(this.
|
|
2961
|
+
if (!(this.r44_1 === tmp0_other_with_cast.r44_1))
|
|
2962
2962
|
return false;
|
|
2963
2963
|
return true;
|
|
2964
2964
|
};
|
|
@@ -2988,15 +2988,15 @@ function RenderedSection_init_$Create$(title, content) {
|
|
|
2988
2988
|
return RenderedSection_init_$Init$(title, content, objectCreate(protoOf(RenderedSection)));
|
|
2989
2989
|
}
|
|
2990
2990
|
function RenderedSection(title, content) {
|
|
2991
|
-
this.
|
|
2992
|
-
this.
|
|
2991
|
+
this.l45_1 = title;
|
|
2992
|
+
this.m45_1 = content;
|
|
2993
2993
|
}
|
|
2994
2994
|
protoOf(RenderedSection).toString = function () {
|
|
2995
|
-
return 'RenderedSection(title=' + toString_0(this.
|
|
2995
|
+
return 'RenderedSection(title=' + toString_0(this.l45_1) + ', content=' + toString_0(this.m45_1) + ')';
|
|
2996
2996
|
};
|
|
2997
2997
|
protoOf(RenderedSection).hashCode = function () {
|
|
2998
|
-
var result = hashCode(this.
|
|
2999
|
-
result = imul(result, 31) + hashCode(this.
|
|
2998
|
+
var result = hashCode(this.l45_1);
|
|
2999
|
+
result = imul(result, 31) + hashCode(this.m45_1) | 0;
|
|
3000
3000
|
return result;
|
|
3001
3001
|
};
|
|
3002
3002
|
protoOf(RenderedSection).equals = function (other) {
|
|
@@ -3005,25 +3005,25 @@ protoOf(RenderedSection).equals = function (other) {
|
|
|
3005
3005
|
if (!(other instanceof RenderedSection))
|
|
3006
3006
|
return false;
|
|
3007
3007
|
var tmp0_other_with_cast = other instanceof RenderedSection ? other : THROW_CCE();
|
|
3008
|
-
if (!equals(this.
|
|
3008
|
+
if (!equals(this.l45_1, tmp0_other_with_cast.l45_1))
|
|
3009
3009
|
return false;
|
|
3010
|
-
if (!equals(this.
|
|
3010
|
+
if (!equals(this.m45_1, tmp0_other_with_cast.m45_1))
|
|
3011
3011
|
return false;
|
|
3012
3012
|
return true;
|
|
3013
3013
|
};
|
|
3014
3014
|
function DefinitionRow(term, description, marker) {
|
|
3015
3015
|
marker = marker === VOID ? null : marker;
|
|
3016
|
-
this.
|
|
3017
|
-
this.
|
|
3018
|
-
this.
|
|
3016
|
+
this.n45_1 = term;
|
|
3017
|
+
this.o45_1 = description;
|
|
3018
|
+
this.p45_1 = marker;
|
|
3019
3019
|
}
|
|
3020
3020
|
protoOf(DefinitionRow).toString = function () {
|
|
3021
|
-
return 'DefinitionRow(term=' + this.
|
|
3021
|
+
return 'DefinitionRow(term=' + this.n45_1 + ', description=' + this.o45_1 + ', marker=' + this.p45_1 + ')';
|
|
3022
3022
|
};
|
|
3023
3023
|
protoOf(DefinitionRow).hashCode = function () {
|
|
3024
|
-
var result = getStringHashCode(this.
|
|
3025
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3026
|
-
result = imul(result, 31) + (this.
|
|
3024
|
+
var result = getStringHashCode(this.n45_1);
|
|
3025
|
+
result = imul(result, 31) + getStringHashCode(this.o45_1) | 0;
|
|
3026
|
+
result = imul(result, 31) + (this.p45_1 == null ? 0 : getStringHashCode(this.p45_1)) | 0;
|
|
3027
3027
|
return result;
|
|
3028
3028
|
};
|
|
3029
3029
|
protoOf(DefinitionRow).equals = function (other) {
|
|
@@ -3032,25 +3032,25 @@ protoOf(DefinitionRow).equals = function (other) {
|
|
|
3032
3032
|
if (!(other instanceof DefinitionRow))
|
|
3033
3033
|
return false;
|
|
3034
3034
|
var tmp0_other_with_cast = other instanceof DefinitionRow ? other : THROW_CCE();
|
|
3035
|
-
if (!(this.
|
|
3035
|
+
if (!(this.n45_1 === tmp0_other_with_cast.n45_1))
|
|
3036
3036
|
return false;
|
|
3037
|
-
if (!(this.
|
|
3037
|
+
if (!(this.o45_1 === tmp0_other_with_cast.o45_1))
|
|
3038
3038
|
return false;
|
|
3039
|
-
if (!(this.
|
|
3039
|
+
if (!(this.p45_1 == tmp0_other_with_cast.p45_1))
|
|
3040
3040
|
return false;
|
|
3041
3041
|
return true;
|
|
3042
3042
|
};
|
|
3043
3043
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
3044
|
-
this.
|
|
3044
|
+
this.q45_1 = function_0;
|
|
3045
3045
|
}
|
|
3046
3046
|
protoOf(sam$kotlin_Comparator$0_0).uc = function (a, b) {
|
|
3047
|
-
return this.
|
|
3047
|
+
return this.q45_1(a, b);
|
|
3048
3048
|
};
|
|
3049
3049
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
3050
3050
|
return this.uc(a, b);
|
|
3051
3051
|
};
|
|
3052
3052
|
protoOf(sam$kotlin_Comparator$0_0).p3 = function () {
|
|
3053
|
-
return this.
|
|
3053
|
+
return this.q45_1;
|
|
3054
3054
|
};
|
|
3055
3055
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
3056
3056
|
var tmp;
|
|
@@ -3071,16 +3071,16 @@ protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
|
|
|
3071
3071
|
return hashCode(this.p3());
|
|
3072
3072
|
};
|
|
3073
3073
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
3074
|
-
this.
|
|
3074
|
+
this.r45_1 = function_0;
|
|
3075
3075
|
}
|
|
3076
3076
|
protoOf(sam$kotlin_Comparator$0_1).uc = function (a, b) {
|
|
3077
|
-
return this.
|
|
3077
|
+
return this.r45_1(a, b);
|
|
3078
3078
|
};
|
|
3079
3079
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
3080
3080
|
return this.uc(a, b);
|
|
3081
3081
|
};
|
|
3082
3082
|
protoOf(sam$kotlin_Comparator$0_1).p3 = function () {
|
|
3083
|
-
return this.
|
|
3083
|
+
return this.r45_1;
|
|
3084
3084
|
};
|
|
3085
3085
|
protoOf(sam$kotlin_Comparator$0_1).equals = function (other) {
|
|
3086
3086
|
var tmp;
|
|
@@ -3102,21 +3102,21 @@ protoOf(sam$kotlin_Comparator$0_1).hashCode = function () {
|
|
|
3102
3102
|
};
|
|
3103
3103
|
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
3104
3104
|
return function ($this$verticalLayout) {
|
|
3105
|
-
$this$verticalLayout.
|
|
3106
|
-
$this$verticalLayout.
|
|
3105
|
+
$this$verticalLayout.w3p(1);
|
|
3106
|
+
$this$verticalLayout.u3p(this$0.w45($error, $prolog, $epilog, $parameters, $programName));
|
|
3107
3107
|
return Unit_instance;
|
|
3108
3108
|
};
|
|
3109
3109
|
}
|
|
3110
3110
|
function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
|
|
3111
3111
|
return function ($this$definitionList) {
|
|
3112
|
-
$this$definitionList.
|
|
3113
|
-
$this$definitionList.
|
|
3114
|
-
$this$definitionList.
|
|
3112
|
+
$this$definitionList.v3t($prog, Text_init_$Create$(joinToString($usageParts, ' '), Whitespace_NORMAL_getInstance()));
|
|
3113
|
+
$this$definitionList.p3t_1 = true;
|
|
3114
|
+
$this$definitionList.s3t(1);
|
|
3115
3115
|
return Unit_instance;
|
|
3116
3116
|
};
|
|
3117
3117
|
}
|
|
3118
3118
|
function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
|
|
3119
|
-
$this$withPadding.
|
|
3119
|
+
$this$withPadding.l3k_1 = 2;
|
|
3120
3120
|
return Unit_instance;
|
|
3121
3121
|
}
|
|
3122
3122
|
function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
@@ -3129,24 +3129,24 @@ function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
|
3129
3129
|
}
|
|
3130
3130
|
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
3131
3131
|
return function ($this$definitionList) {
|
|
3132
|
-
var tmp0_iterator = this$0.
|
|
3132
|
+
var tmp0_iterator = this$0.x45($parameters).g();
|
|
3133
3133
|
while (tmp0_iterator.h()) {
|
|
3134
3134
|
var section = tmp0_iterator.i();
|
|
3135
|
-
$this$definitionList.
|
|
3135
|
+
$this$definitionList.w3t(section.l45_1, section.m45_1);
|
|
3136
3136
|
}
|
|
3137
3137
|
return Unit_instance;
|
|
3138
3138
|
};
|
|
3139
3139
|
}
|
|
3140
3140
|
function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
|
|
3141
|
-
$this$withPadding.
|
|
3142
|
-
$this$withPadding.
|
|
3143
|
-
$this$withPadding.
|
|
3141
|
+
$this$withPadding.i3k_1 = 1;
|
|
3142
|
+
$this$withPadding.l3k_1 = 2;
|
|
3143
|
+
$this$withPadding.k3k_1 = 1;
|
|
3144
3144
|
return Unit_instance;
|
|
3145
3145
|
}
|
|
3146
3146
|
function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
|
|
3147
3147
|
return function ($this$verticalLayout) {
|
|
3148
|
-
$this$verticalLayout.
|
|
3149
|
-
$this$verticalLayout.
|
|
3148
|
+
$this$verticalLayout.r3j($markdown);
|
|
3149
|
+
$this$verticalLayout.r3j(this$0.y45($options));
|
|
3150
3150
|
return Unit_instance;
|
|
3151
3151
|
};
|
|
3152
3152
|
}
|
|
@@ -3156,7 +3156,7 @@ function MordantHelpFormatter$renderParameterHelpText$lambda(this$0) {
|
|
|
3156
3156
|
var k = _name_for_destructuring_parameter_0__wldtmu.a1();
|
|
3157
3157
|
// Inline function 'kotlin.collections.component2' call
|
|
3158
3158
|
var v = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3159
|
-
return this$0.
|
|
3159
|
+
return this$0.z45(k, v);
|
|
3160
3160
|
};
|
|
3161
3161
|
}
|
|
3162
3162
|
function MordantHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
@@ -3165,7 +3165,7 @@ function MordantHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
|
3165
3165
|
var k = _name_for_destructuring_parameter_0__wldtmu.a1();
|
|
3166
3166
|
// Inline function 'kotlin.collections.component2' call
|
|
3167
3167
|
var v = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3168
|
-
return this$0.
|
|
3168
|
+
return this$0.a46(k, v);
|
|
3169
3169
|
};
|
|
3170
3170
|
}
|
|
3171
3171
|
function MordantHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -3178,28 +3178,28 @@ function MordantHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
|
3178
3178
|
}
|
|
3179
3179
|
function MordantHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
3180
3180
|
return function (it) {
|
|
3181
|
-
return this$0.
|
|
3181
|
+
return this$0.b46(it);
|
|
3182
3182
|
};
|
|
3183
3183
|
}
|
|
3184
3184
|
function MordantHelpFormatter$parameterFormatter$1(this$0) {
|
|
3185
|
-
this.
|
|
3185
|
+
this.c46_1 = this$0;
|
|
3186
3186
|
}
|
|
3187
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).v41 = function (name) {
|
|
3188
|
-
return this.d46_1.c46(name);
|
|
3189
|
-
};
|
|
3190
3187
|
protoOf(MordantHelpFormatter$parameterFormatter$1).u41 = function (name) {
|
|
3191
|
-
return this.
|
|
3188
|
+
return this.c46_1.b46(name);
|
|
3192
3189
|
};
|
|
3193
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3194
|
-
return this.
|
|
3190
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).t41 = function (name) {
|
|
3191
|
+
return this.c46_1.e46(this.c46_1.d46(name));
|
|
3192
|
+
};
|
|
3193
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).e42 = function (name) {
|
|
3194
|
+
return this.c46_1.f46(name);
|
|
3195
3195
|
};
|
|
3196
3196
|
function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
|
|
3197
3197
|
return function ($this$definitionList) {
|
|
3198
|
-
$this$definitionList.
|
|
3198
|
+
$this$definitionList.p3t_1 = true;
|
|
3199
3199
|
var tmp0_iterator = $rows.g();
|
|
3200
3200
|
while (tmp0_iterator.h()) {
|
|
3201
3201
|
var row = tmp0_iterator.i();
|
|
3202
|
-
$this$definitionList.
|
|
3202
|
+
$this$definitionList.w3t(this$0.g46(row), this$0.h46(row));
|
|
3203
3203
|
}
|
|
3204
3204
|
return Unit_instance;
|
|
3205
3205
|
};
|
|
@@ -3208,22 +3208,22 @@ function MordantHelpFormatter(context, requiredOptionMarker, showDefaultValues,
|
|
|
3208
3208
|
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
3209
3209
|
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
3210
3210
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
3211
|
-
this.
|
|
3212
|
-
this.
|
|
3213
|
-
this.
|
|
3214
|
-
this.
|
|
3211
|
+
this.s45_1 = context;
|
|
3212
|
+
this.t45_1 = requiredOptionMarker;
|
|
3213
|
+
this.u45_1 = showDefaultValues;
|
|
3214
|
+
this.v45_1 = showRequiredTag;
|
|
3215
3215
|
}
|
|
3216
|
-
protoOf(MordantHelpFormatter).
|
|
3217
|
-
return this.
|
|
3216
|
+
protoOf(MordantHelpFormatter).i46 = function () {
|
|
3217
|
+
return this.s45_1.d3x_1;
|
|
3218
3218
|
};
|
|
3219
|
-
protoOf(MordantHelpFormatter).
|
|
3220
|
-
return this.
|
|
3219
|
+
protoOf(MordantHelpFormatter).j46 = function () {
|
|
3220
|
+
return this.s45_1.y3w_1.j3h_1;
|
|
3221
3221
|
};
|
|
3222
|
-
protoOf(MordantHelpFormatter).
|
|
3222
|
+
protoOf(MordantHelpFormatter).p3y = function (error, prolog, epilog, parameters, programName) {
|
|
3223
3223
|
var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
|
|
3224
|
-
return this.
|
|
3224
|
+
return this.s45_1.y3w_1.g3t(widget);
|
|
3225
3225
|
};
|
|
3226
|
-
protoOf(MordantHelpFormatter).
|
|
3226
|
+
protoOf(MordantHelpFormatter).w45 = function (error, prolog, epilog, parameters, programName) {
|
|
3227
3227
|
// Inline function 'kotlin.collections.buildList' call
|
|
3228
3228
|
// Inline function 'kotlin.contracts.contract' call
|
|
3229
3229
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3231,26 +3231,26 @@ protoOf(MordantHelpFormatter).x45 = function (error, prolog, epilog, parameters,
|
|
|
3231
3231
|
var this_0 = ArrayList_init_$Create$();
|
|
3232
3232
|
// Inline function 'kotlin.contracts.contract' call
|
|
3233
3233
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectHelpParts.<anonymous>' call
|
|
3234
|
-
this_0.e(this.
|
|
3234
|
+
this_0.e(this.k46(parameters, programName));
|
|
3235
3235
|
if (error == null) {
|
|
3236
3236
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3237
3237
|
if (charSequenceLength(prolog) > 0) {
|
|
3238
|
-
this_0.e(this.
|
|
3238
|
+
this_0.e(this.m46(prolog));
|
|
3239
3239
|
}
|
|
3240
3240
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3241
3241
|
if (!parameters.l()) {
|
|
3242
|
-
this_0.e(this.
|
|
3242
|
+
this_0.e(this.n46(parameters));
|
|
3243
3243
|
}
|
|
3244
3244
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3245
3245
|
if (charSequenceLength(epilog) > 0) {
|
|
3246
|
-
this_0.e(this.
|
|
3246
|
+
this_0.e(this.o46(epilog));
|
|
3247
3247
|
}
|
|
3248
3248
|
} else {
|
|
3249
|
-
this_0.e(this.
|
|
3249
|
+
this_0.e(this.l46(parameters, error));
|
|
3250
3250
|
}
|
|
3251
3251
|
return this_0.q5();
|
|
3252
3252
|
};
|
|
3253
|
-
protoOf(MordantHelpFormatter).
|
|
3253
|
+
protoOf(MordantHelpFormatter).l46 = function (parameters, error) {
|
|
3254
3254
|
// Inline function 'kotlin.text.buildString' call
|
|
3255
3255
|
// Inline function 'kotlin.contracts.contract' call
|
|
3256
3256
|
// Inline function 'kotlin.apply' call
|
|
@@ -3258,7 +3258,7 @@ protoOf(MordantHelpFormatter).m46 = function (parameters, error) {
|
|
|
3258
3258
|
// Inline function 'kotlin.contracts.contract' call
|
|
3259
3259
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderError.<anonymous>' call
|
|
3260
3260
|
var tmp0_safe_receiver = error instanceof MultiUsageError ? error : null;
|
|
3261
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3261
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n41_1;
|
|
3262
3262
|
var errors = tmp1_elvis_lhs == null ? listOf_0(error) : tmp1_elvis_lhs;
|
|
3263
3263
|
var iterator = errors.g();
|
|
3264
3264
|
var index = 0;
|
|
@@ -3270,16 +3270,16 @@ protoOf(MordantHelpFormatter).m46 = function (parameters, error) {
|
|
|
3270
3270
|
// Inline function 'kotlin.text.appendLine' call
|
|
3271
3271
|
this_0.z7(_Char___init__impl__6a9atx(10));
|
|
3272
3272
|
}
|
|
3273
|
-
this_0.y7(this.
|
|
3273
|
+
this_0.y7(this.p46(this.i46().s44()));
|
|
3274
3274
|
this_0.y7(' ');
|
|
3275
|
-
this_0.y7(e.
|
|
3275
|
+
this_0.y7(e.x40(this.i46(), this.q46(this.s45_1)));
|
|
3276
3276
|
}
|
|
3277
3277
|
var tmp$ret$2 = this_0.toString();
|
|
3278
3278
|
return Text_init_$Create$(tmp$ret$2);
|
|
3279
3279
|
};
|
|
3280
|
-
protoOf(MordantHelpFormatter).
|
|
3281
|
-
var optionalStyle = this.
|
|
3282
|
-
var title = this.
|
|
3280
|
+
protoOf(MordantHelpFormatter).k46 = function (parameters, programName) {
|
|
3281
|
+
var optionalStyle = this.j46().o3i('muted');
|
|
3282
|
+
var title = this.r46(this.i46().c45());
|
|
3283
3283
|
var prog = title + ' ' + programName;
|
|
3284
3284
|
// Inline function 'kotlin.collections.buildList' call
|
|
3285
3285
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3313,8 +3313,8 @@ protoOf(MordantHelpFormatter).l46 = function (parameters, programName) {
|
|
|
3313
3313
|
tmp$ret$0 = false;
|
|
3314
3314
|
}
|
|
3315
3315
|
if (tmp$ret$0) {
|
|
3316
|
-
var metavar = this.
|
|
3317
|
-
this_0.e(optionalStyle.
|
|
3316
|
+
var metavar = this.d46(this.i46().g45());
|
|
3317
|
+
this_0.e(optionalStyle.j2k(this.s46(metavar)));
|
|
3318
3318
|
}
|
|
3319
3319
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3320
3320
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
@@ -3331,13 +3331,13 @@ protoOf(MordantHelpFormatter).l46 = function (parameters, programName) {
|
|
|
3331
3331
|
while (tmp0_iterator_1.h()) {
|
|
3332
3332
|
var item = tmp0_iterator_1.i();
|
|
3333
3333
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderUsage.<anonymous>.<anonymous>' call
|
|
3334
|
-
var name = this.
|
|
3335
|
-
if (!item.
|
|
3334
|
+
var name = this.d46(item.i44_1);
|
|
3335
|
+
if (!item.k44_1)
|
|
3336
|
+
name = this.s46(name);
|
|
3337
|
+
if (item.l44_1)
|
|
3336
3338
|
name = this.t46(name);
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
var style = item.l44_1 ? TextStyle() : optionalStyle;
|
|
3340
|
-
var tmp$ret$4 = style.k2k(name);
|
|
3339
|
+
var style = item.k44_1 ? TextStyle() : optionalStyle;
|
|
3340
|
+
var tmp$ret$4 = style.j2k(name);
|
|
3341
3341
|
this_0.e(tmp$ret$4);
|
|
3342
3342
|
}
|
|
3343
3343
|
var tmp$ret$6;
|
|
@@ -3365,10 +3365,10 @@ protoOf(MordantHelpFormatter).l46 = function (parameters, programName) {
|
|
|
3365
3365
|
tmp$ret$6 = false;
|
|
3366
3366
|
}
|
|
3367
3367
|
if (tmp$ret$6) {
|
|
3368
|
-
var commandMetavar = this.
|
|
3369
|
-
var argsMetavar = this.
|
|
3370
|
-
var repeatedArgs = this.
|
|
3371
|
-
this_0.e(optionalStyle.
|
|
3368
|
+
var commandMetavar = this.d46(this.i46().h45());
|
|
3369
|
+
var argsMetavar = this.d46(this.i46().i45());
|
|
3370
|
+
var repeatedArgs = this.t46(this.s46(argsMetavar));
|
|
3371
|
+
this_0.e(optionalStyle.j2k(commandMetavar + ' ' + repeatedArgs));
|
|
3372
3372
|
}
|
|
3373
3373
|
var usageParts = this_0.q5();
|
|
3374
3374
|
var tmp_1;
|
|
@@ -3379,17 +3379,17 @@ protoOf(MordantHelpFormatter).l46 = function (parameters, programName) {
|
|
|
3379
3379
|
}
|
|
3380
3380
|
return tmp_1;
|
|
3381
3381
|
};
|
|
3382
|
-
protoOf(MordantHelpFormatter).
|
|
3382
|
+
protoOf(MordantHelpFormatter).m46 = function (prolog) {
|
|
3383
3383
|
var tmp = new Markdown(prolog, true);
|
|
3384
3384
|
return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
|
|
3385
3385
|
};
|
|
3386
|
-
protoOf(MordantHelpFormatter).
|
|
3386
|
+
protoOf(MordantHelpFormatter).o46 = function (epilog) {
|
|
3387
3387
|
return new Markdown(epilog, true);
|
|
3388
3388
|
};
|
|
3389
|
-
protoOf(MordantHelpFormatter).
|
|
3389
|
+
protoOf(MordantHelpFormatter).u46 = function (title) {
|
|
3390
3390
|
return title + ':';
|
|
3391
3391
|
};
|
|
3392
|
-
protoOf(MordantHelpFormatter).
|
|
3392
|
+
protoOf(MordantHelpFormatter).v46 = function (parameters) {
|
|
3393
3393
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3394
3394
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3395
3395
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3408,7 +3408,7 @@ protoOf(MordantHelpFormatter).w46 = function (parameters) {
|
|
|
3408
3408
|
while (tmp0_iterator_0.h()) {
|
|
3409
3409
|
var element_0 = tmp0_iterator_0.i();
|
|
3410
3410
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3411
|
-
var tmp$ret$2 = element_0.
|
|
3411
|
+
var tmp$ret$2 = element_0.q44_1;
|
|
3412
3412
|
destination_0.n2(tmp$ret$2, element_0);
|
|
3413
3413
|
}
|
|
3414
3414
|
var groupsByName = destination_0;
|
|
@@ -3432,7 +3432,7 @@ protoOf(MordantHelpFormatter).w46 = function (parameters) {
|
|
|
3432
3432
|
while (tmp0_iterator_2.h()) {
|
|
3433
3433
|
var element_2 = tmp0_iterator_2.i();
|
|
3434
3434
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3435
|
-
var key = element_2.
|
|
3435
|
+
var key = element_2.h44_1;
|
|
3436
3436
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
3437
3437
|
var value = destination_2.g2(key);
|
|
3438
3438
|
var tmp;
|
|
@@ -3471,19 +3471,19 @@ protoOf(MordantHelpFormatter).w46 = function (parameters) {
|
|
|
3471
3471
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3472
3472
|
var title = item.sd();
|
|
3473
3473
|
var params = item.td();
|
|
3474
|
-
var renderedTitle = this.
|
|
3474
|
+
var renderedTitle = this.u46(title == null ? this.i46().d45() : title);
|
|
3475
3475
|
// Inline function 'kotlin.collections.get' call
|
|
3476
3476
|
var tmp1_safe_receiver = (isInterface(groupsByName, KtMap) ? groupsByName : THROW_CCE()).g2(title);
|
|
3477
|
-
var content = this.
|
|
3478
|
-
var tmp$ret$19 = RenderedSection_init_$Create$(this.
|
|
3477
|
+
var content = this.w46(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.r44_1, params);
|
|
3478
|
+
var tmp$ret$19 = RenderedSection_init_$Create$(this.x46(renderedTitle), content);
|
|
3479
3479
|
destination_4.e(tmp$ret$19);
|
|
3480
3480
|
}
|
|
3481
3481
|
return toList_0(destination_4);
|
|
3482
3482
|
};
|
|
3483
|
-
protoOf(MordantHelpFormatter).
|
|
3483
|
+
protoOf(MordantHelpFormatter).n46 = function (parameters) {
|
|
3484
3484
|
return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
|
|
3485
3485
|
};
|
|
3486
|
-
protoOf(MordantHelpFormatter).
|
|
3486
|
+
protoOf(MordantHelpFormatter).x45 = function (parameters) {
|
|
3487
3487
|
// Inline function 'kotlin.collections.buildList' call
|
|
3488
3488
|
// Inline function 'kotlin.contracts.contract' call
|
|
3489
3489
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3491,12 +3491,12 @@ protoOf(MordantHelpFormatter).y45 = function (parameters) {
|
|
|
3491
3491
|
var this_0 = ArrayList_init_$Create$();
|
|
3492
3492
|
// Inline function 'kotlin.contracts.contract' call
|
|
3493
3493
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectParameterSections.<anonymous>' call
|
|
3494
|
-
this_0.p(this.
|
|
3494
|
+
this_0.p(this.v46(parameters));
|
|
3495
|
+
this_0.p(this.y46(parameters));
|
|
3495
3496
|
this_0.p(this.z46(parameters));
|
|
3496
|
-
this_0.p(this.a47(parameters));
|
|
3497
3497
|
return this_0.q5();
|
|
3498
3498
|
};
|
|
3499
|
-
protoOf(MordantHelpFormatter).
|
|
3499
|
+
protoOf(MordantHelpFormatter).w46 = function (help, parameters) {
|
|
3500
3500
|
// Inline function 'kotlin.collections.map' call
|
|
3501
3501
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3502
3502
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(parameters, 10));
|
|
@@ -3505,28 +3505,28 @@ protoOf(MordantHelpFormatter).x46 = function (help, parameters) {
|
|
|
3505
3505
|
var item = tmp0_iterator.i();
|
|
3506
3506
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>' call
|
|
3507
3507
|
var tmp;
|
|
3508
|
-
if (item.
|
|
3509
|
-
tmp = plus_0(listOf_0(this.
|
|
3508
|
+
if (item.f44_1) {
|
|
3509
|
+
tmp = plus_0(listOf_0(this.a47(item)), item.z43_1);
|
|
3510
3510
|
} else {
|
|
3511
|
-
tmp = item.
|
|
3511
|
+
tmp = item.z43_1;
|
|
3512
3512
|
}
|
|
3513
3513
|
var unjoinedNames = tmp;
|
|
3514
|
-
var names = mutableListOf([this.
|
|
3514
|
+
var names = mutableListOf([this.b47(unjoinedNames)]);
|
|
3515
3515
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3516
|
-
if (!item.
|
|
3516
|
+
if (!item.a44_1.l()) {
|
|
3517
3517
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3518
|
-
var element = this.
|
|
3518
|
+
var element = this.b47(item.a44_1);
|
|
3519
3519
|
names.e(element);
|
|
3520
3520
|
}
|
|
3521
|
-
var tmp_0 = joinToString(names, ' / ', VOID, this.
|
|
3522
|
-
var tmp_1 = this.
|
|
3521
|
+
var tmp_0 = joinToString(names, ' / ', VOID, this.c47(item));
|
|
3522
|
+
var tmp_1 = this.d47(item.c44_1, item.e44_1);
|
|
3523
3523
|
var tmp0_subject = 'required';
|
|
3524
3524
|
var tmp_2;
|
|
3525
3525
|
// Inline function 'kotlin.collections.contains' call
|
|
3526
3526
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3527
|
-
var this_0 = item.
|
|
3527
|
+
var this_0 = item.e44_1;
|
|
3528
3528
|
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).f2(tmp0_subject)) {
|
|
3529
|
-
var tmp1_safe_receiver = this.
|
|
3529
|
+
var tmp1_safe_receiver = this.t45_1;
|
|
3530
3530
|
var tmp_3;
|
|
3531
3531
|
if (tmp1_safe_receiver == null) {
|
|
3532
3532
|
tmp_3 = null;
|
|
@@ -3534,7 +3534,7 @@ protoOf(MordantHelpFormatter).x46 = function (help, parameters) {
|
|
|
3534
3534
|
// Inline function 'kotlin.let' call
|
|
3535
3535
|
// Inline function 'kotlin.contracts.contract' call
|
|
3536
3536
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>.<anonymous>' call
|
|
3537
|
-
tmp_3 = this.
|
|
3537
|
+
tmp_3 = this.e47(tmp1_safe_receiver);
|
|
3538
3538
|
}
|
|
3539
3539
|
tmp_2 = tmp_3;
|
|
3540
3540
|
} else {
|
|
@@ -3545,12 +3545,12 @@ protoOf(MordantHelpFormatter).x46 = function (help, parameters) {
|
|
|
3545
3545
|
}
|
|
3546
3546
|
var options = destination;
|
|
3547
3547
|
if (help == null)
|
|
3548
|
-
return this.
|
|
3548
|
+
return this.y45(options);
|
|
3549
3549
|
var tmp_4 = new Markdown(help, true);
|
|
3550
3550
|
var markdown = withPadding(tmp_4, false, MordantHelpFormatter$renderOptionGroup$lambda);
|
|
3551
3551
|
return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
|
|
3552
3552
|
};
|
|
3553
|
-
protoOf(MordantHelpFormatter).
|
|
3553
|
+
protoOf(MordantHelpFormatter).y46 = function (parameters) {
|
|
3554
3554
|
// Inline function 'kotlin.collections.map' call
|
|
3555
3555
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3556
3556
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3568,7 +3568,7 @@ protoOf(MordantHelpFormatter).z46 = function (parameters) {
|
|
|
3568
3568
|
while (tmp0_iterator_0.h()) {
|
|
3569
3569
|
var item = tmp0_iterator_0.i();
|
|
3570
3570
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3571
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3571
|
+
var tmp$ret$2 = new DefinitionRow(this.e46(this.d46(item.i44_1)), this.d47(item.j44_1, item.m44_1));
|
|
3572
3572
|
destination_0.e(tmp$ret$2);
|
|
3573
3573
|
}
|
|
3574
3574
|
var arguments_0 = destination_0;
|
|
@@ -3594,7 +3594,7 @@ protoOf(MordantHelpFormatter).z46 = function (parameters) {
|
|
|
3594
3594
|
var element_0 = tmp0_iterator_1.i();
|
|
3595
3595
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3596
3596
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3597
|
-
var this_0 = element_0.
|
|
3597
|
+
var this_0 = element_0.o45_1;
|
|
3598
3598
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
3599
3599
|
tmp$ret$5 = false;
|
|
3600
3600
|
break $l$block_0;
|
|
@@ -3606,10 +3606,10 @@ protoOf(MordantHelpFormatter).z46 = function (parameters) {
|
|
|
3606
3606
|
}
|
|
3607
3607
|
if (tmp)
|
|
3608
3608
|
return emptyList();
|
|
3609
|
-
var title = this.
|
|
3610
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3609
|
+
var title = this.x46(this.u46(this.i46().e45()));
|
|
3610
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.y45(arguments_0)));
|
|
3611
3611
|
};
|
|
3612
|
-
protoOf(MordantHelpFormatter).
|
|
3612
|
+
protoOf(MordantHelpFormatter).z46 = function (parameters) {
|
|
3613
3613
|
// Inline function 'kotlin.collections.map' call
|
|
3614
3614
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3615
3615
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3627,16 +3627,16 @@ protoOf(MordantHelpFormatter).a47 = function (parameters) {
|
|
|
3627
3627
|
while (tmp0_iterator_0.h()) {
|
|
3628
3628
|
var item = tmp0_iterator_0.i();
|
|
3629
3629
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderCommands.<anonymous>' call
|
|
3630
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3630
|
+
var tmp$ret$2 = new DefinitionRow(this.f46(item.n44_1), this.d47(item.o44_1, item.p44_1));
|
|
3631
3631
|
destination_0.e(tmp$ret$2);
|
|
3632
3632
|
}
|
|
3633
3633
|
var commands = destination_0;
|
|
3634
3634
|
if (commands.l())
|
|
3635
3635
|
return emptyList();
|
|
3636
|
-
var title = this.
|
|
3637
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3636
|
+
var title = this.x46(this.u46(this.i46().f45()));
|
|
3637
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.y45(commands)));
|
|
3638
3638
|
};
|
|
3639
|
-
protoOf(MordantHelpFormatter).
|
|
3639
|
+
protoOf(MordantHelpFormatter).d47 = function (help, tags) {
|
|
3640
3640
|
var tmp = asSequence(tags);
|
|
3641
3641
|
var tmp_0 = filter(tmp, MordantHelpFormatter$renderParameterHelpText$lambda(this));
|
|
3642
3642
|
var renderedTags = joinToString_0(tmp_0, ' ', VOID, VOID, VOID, VOID, MordantHelpFormatter$renderParameterHelpText$lambda_0(this));
|
|
@@ -3654,12 +3654,12 @@ protoOf(MordantHelpFormatter).e47 = function (help, tags) {
|
|
|
3654
3654
|
}
|
|
3655
3655
|
return tmp_1;
|
|
3656
3656
|
};
|
|
3657
|
-
protoOf(MordantHelpFormatter).
|
|
3657
|
+
protoOf(MordantHelpFormatter).z45 = function (tag, value) {
|
|
3658
3658
|
var tmp;
|
|
3659
3659
|
switch (tag) {
|
|
3660
3660
|
case 'default':
|
|
3661
3661
|
var tmp_0;
|
|
3662
|
-
if (this.
|
|
3662
|
+
if (this.u45_1) {
|
|
3663
3663
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
3664
3664
|
tmp_0 = !isBlank(value);
|
|
3665
3665
|
} else {
|
|
@@ -3669,7 +3669,7 @@ protoOf(MordantHelpFormatter).a46 = function (tag, value) {
|
|
|
3669
3669
|
tmp = tmp_0;
|
|
3670
3670
|
break;
|
|
3671
3671
|
case 'required':
|
|
3672
|
-
tmp = this.
|
|
3672
|
+
tmp = this.v45_1;
|
|
3673
3673
|
break;
|
|
3674
3674
|
default:
|
|
3675
3675
|
tmp = true;
|
|
@@ -3677,7 +3677,7 @@ protoOf(MordantHelpFormatter).a46 = function (tag, value) {
|
|
|
3677
3677
|
}
|
|
3678
3678
|
return tmp;
|
|
3679
3679
|
};
|
|
3680
|
-
protoOf(MordantHelpFormatter).
|
|
3680
|
+
protoOf(MordantHelpFormatter).b47 = function (names) {
|
|
3681
3681
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
3682
3682
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
3683
3683
|
var tmp = MordantHelpFormatter$joinNamesForOption$lambda;
|
|
@@ -3685,77 +3685,77 @@ protoOf(MordantHelpFormatter).c47 = function (names) {
|
|
|
3685
3685
|
var tmp_0 = sortedWith(names, tmp$ret$0);
|
|
3686
3686
|
return joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, MordantHelpFormatter$joinNamesForOption$lambda_0(this));
|
|
3687
3687
|
};
|
|
3688
|
-
protoOf(MordantHelpFormatter).
|
|
3688
|
+
protoOf(MordantHelpFormatter).a46 = function (tag, value) {
|
|
3689
3689
|
var t;
|
|
3690
3690
|
switch (tag) {
|
|
3691
3691
|
case 'default':
|
|
3692
|
-
t = this.
|
|
3692
|
+
t = this.i46().j45();
|
|
3693
3693
|
break;
|
|
3694
3694
|
case 'required':
|
|
3695
|
-
t = this.
|
|
3695
|
+
t = this.i46().k45();
|
|
3696
3696
|
break;
|
|
3697
3697
|
default:
|
|
3698
3698
|
t = tag;
|
|
3699
3699
|
break;
|
|
3700
3700
|
}
|
|
3701
3701
|
var fullTag = isBlank(value) ? '(' + t + ')' : '(' + t + ': ' + value + ')';
|
|
3702
|
-
return tag === 'required' ? this.
|
|
3702
|
+
return tag === 'required' ? this.e47(fullTag) : this.f47(fullTag);
|
|
3703
3703
|
};
|
|
3704
|
-
protoOf(MordantHelpFormatter).
|
|
3705
|
-
var tmp0_elvis_lhs = option.
|
|
3706
|
-
var metavar = this.
|
|
3707
|
-
return toString(first(first_1(option.
|
|
3704
|
+
protoOf(MordantHelpFormatter).a47 = function (option) {
|
|
3705
|
+
var tmp0_elvis_lhs = option.b44_1;
|
|
3706
|
+
var metavar = this.d46(tmp0_elvis_lhs == null ? this.i46().b45() : tmp0_elvis_lhs);
|
|
3707
|
+
return toString(first(first_1(option.z43_1))) + metavar;
|
|
3708
3708
|
};
|
|
3709
|
-
protoOf(MordantHelpFormatter).
|
|
3709
|
+
protoOf(MordantHelpFormatter).d46 = function (name) {
|
|
3710
3710
|
// Inline function 'kotlin.text.lowercase' call
|
|
3711
3711
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3712
3712
|
return '<' + name.toLowerCase() + '>';
|
|
3713
3713
|
};
|
|
3714
|
+
protoOf(MordantHelpFormatter).e47 = function (name) {
|
|
3715
|
+
return this.j46().o3i('danger').j2k(name);
|
|
3716
|
+
};
|
|
3714
3717
|
protoOf(MordantHelpFormatter).f47 = function (name) {
|
|
3715
|
-
return this.
|
|
3718
|
+
return this.j46().o3i('muted').j2k(name);
|
|
3716
3719
|
};
|
|
3717
|
-
protoOf(MordantHelpFormatter).
|
|
3718
|
-
return this.
|
|
3720
|
+
protoOf(MordantHelpFormatter).b46 = function (name) {
|
|
3721
|
+
return this.j46().o3i('info').j2k(name);
|
|
3719
3722
|
};
|
|
3720
|
-
protoOf(MordantHelpFormatter).
|
|
3721
|
-
return this.
|
|
3723
|
+
protoOf(MordantHelpFormatter).e46 = function (name) {
|
|
3724
|
+
return this.j46().o3i('info').j2k(name);
|
|
3722
3725
|
};
|
|
3723
3726
|
protoOf(MordantHelpFormatter).f46 = function (name) {
|
|
3724
|
-
return this.
|
|
3725
|
-
};
|
|
3726
|
-
protoOf(MordantHelpFormatter).g46 = function (name) {
|
|
3727
|
-
return this.k46().p3i('info').k2k(name);
|
|
3727
|
+
return this.j46().o3i('info').j2k(name);
|
|
3728
3728
|
};
|
|
3729
|
-
protoOf(MordantHelpFormatter).
|
|
3730
|
-
return this.
|
|
3729
|
+
protoOf(MordantHelpFormatter).x46 = function (title) {
|
|
3730
|
+
return this.j46().o3i('warning').j2k(title);
|
|
3731
3731
|
};
|
|
3732
|
-
protoOf(MordantHelpFormatter).
|
|
3733
|
-
return this.
|
|
3732
|
+
protoOf(MordantHelpFormatter).r46 = function (title) {
|
|
3733
|
+
return this.j46().o3i('warning').j2k(title);
|
|
3734
3734
|
};
|
|
3735
|
-
protoOf(MordantHelpFormatter).
|
|
3736
|
-
return this.
|
|
3735
|
+
protoOf(MordantHelpFormatter).p46 = function (title) {
|
|
3736
|
+
return this.j46().o3i('danger').j2k(title);
|
|
3737
3737
|
};
|
|
3738
|
-
protoOf(MordantHelpFormatter).
|
|
3739
|
-
var style = this.
|
|
3740
|
-
return style.
|
|
3738
|
+
protoOf(MordantHelpFormatter).g47 = function (metavar) {
|
|
3739
|
+
var style = this.j46().o3i('warning').n3g(this.j46().o3i('muted'));
|
|
3740
|
+
return style.j2k(metavar);
|
|
3741
3741
|
};
|
|
3742
|
-
protoOf(MordantHelpFormatter).
|
|
3742
|
+
protoOf(MordantHelpFormatter).q46 = function (context) {
|
|
3743
3743
|
return new MordantHelpFormatter$parameterFormatter$1(this);
|
|
3744
3744
|
};
|
|
3745
|
-
protoOf(MordantHelpFormatter).
|
|
3745
|
+
protoOf(MordantHelpFormatter).s46 = function (metavar) {
|
|
3746
3746
|
return '[' + metavar + ']';
|
|
3747
3747
|
};
|
|
3748
|
-
protoOf(MordantHelpFormatter).
|
|
3748
|
+
protoOf(MordantHelpFormatter).t46 = function (metavar) {
|
|
3749
3749
|
return metavar + '...';
|
|
3750
3750
|
};
|
|
3751
|
-
protoOf(MordantHelpFormatter).
|
|
3751
|
+
protoOf(MordantHelpFormatter).h47 = function (metavar) {
|
|
3752
3752
|
return '=' + metavar;
|
|
3753
3753
|
};
|
|
3754
|
-
protoOf(MordantHelpFormatter).
|
|
3755
|
-
if (option.
|
|
3754
|
+
protoOf(MordantHelpFormatter).c47 = function (option) {
|
|
3755
|
+
if (option.b44_1 == null)
|
|
3756
3756
|
return '';
|
|
3757
3757
|
// Inline function 'kotlin.text.trim' call
|
|
3758
|
-
var this_0 = option.
|
|
3758
|
+
var this_0 = option.b44_1;
|
|
3759
3759
|
// Inline function 'kotlin.text.trim' call
|
|
3760
3760
|
var this_1 = isCharSequence(this_0) ? this_0 : THROW_CCE();
|
|
3761
3761
|
var startIndex = 0;
|
|
@@ -3781,25 +3781,25 @@ protoOf(MordantHelpFormatter).d47 = function (option) {
|
|
|
3781
3781
|
var tmp$ret$1 = charSequenceSubSequence(this_1, startIndex, endIndex + 1 | 0);
|
|
3782
3782
|
var metavar = toString_0(tmp$ret$1);
|
|
3783
3783
|
if (!contains(metavar, _Char___init__impl__6a9atx(124)))
|
|
3784
|
-
metavar = this.
|
|
3785
|
-
metavar = this.
|
|
3786
|
-
if (option.
|
|
3787
|
-
metavar = this.u46(metavar);
|
|
3788
|
-
metavar = this.i47(metavar);
|
|
3789
|
-
if (option.e44_1.d1_1 === 0)
|
|
3784
|
+
metavar = this.d46(metavar);
|
|
3785
|
+
metavar = this.g47(metavar);
|
|
3786
|
+
if (option.d44_1.e1_1 > 1)
|
|
3790
3787
|
metavar = this.t46(metavar);
|
|
3788
|
+
metavar = this.h47(metavar);
|
|
3789
|
+
if (option.d44_1.d1_1 === 0)
|
|
3790
|
+
metavar = this.s46(metavar);
|
|
3791
3791
|
return metavar;
|
|
3792
3792
|
};
|
|
3793
|
-
protoOf(MordantHelpFormatter).
|
|
3793
|
+
protoOf(MordantHelpFormatter).g46 = function (row) {
|
|
3794
3794
|
var tmp;
|
|
3795
3795
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3796
|
-
var this_0 = row.
|
|
3796
|
+
var this_0 = row.p45_1;
|
|
3797
3797
|
// Inline function 'kotlin.contracts.contract' call
|
|
3798
3798
|
if (this_0 == null || charSequenceLength(this_0) === 0) {
|
|
3799
3799
|
tmp = ' ';
|
|
3800
3800
|
} else {
|
|
3801
3801
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3802
|
-
var this_1 = drop(' ', this.
|
|
3802
|
+
var this_1 = drop(' ', this.i47(row.p45_1));
|
|
3803
3803
|
// Inline function 'kotlin.contracts.contract' call
|
|
3804
3804
|
var tmp_0;
|
|
3805
3805
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -3810,18 +3810,18 @@ protoOf(MordantHelpFormatter).h46 = function (row) {
|
|
|
3810
3810
|
tmp_0 = this_1;
|
|
3811
3811
|
}
|
|
3812
3812
|
var tmp$ret$3 = tmp_0;
|
|
3813
|
-
tmp = row.
|
|
3813
|
+
tmp = row.p45_1 + tmp$ret$3;
|
|
3814
3814
|
}
|
|
3815
3815
|
var termPrefix = tmp;
|
|
3816
|
-
return Text_init_$Create$(termPrefix + row.
|
|
3816
|
+
return Text_init_$Create$(termPrefix + row.n45_1, Whitespace_PRE_WRAP_getInstance());
|
|
3817
3817
|
};
|
|
3818
|
-
protoOf(MordantHelpFormatter).
|
|
3819
|
-
return isBlank(row.
|
|
3818
|
+
protoOf(MordantHelpFormatter).h46 = function (row) {
|
|
3819
|
+
return isBlank(row.o45_1) ? Text_init_$Create$('') : new Markdown(row.o45_1, true);
|
|
3820
3820
|
};
|
|
3821
|
-
protoOf(MordantHelpFormatter).
|
|
3821
|
+
protoOf(MordantHelpFormatter).y45 = function (rows) {
|
|
3822
3822
|
return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
|
|
3823
3823
|
};
|
|
3824
|
-
protoOf(MordantHelpFormatter).
|
|
3824
|
+
protoOf(MordantHelpFormatter).i47 = function (_this__u8e3s4) {
|
|
3825
3825
|
return get_graphemeLengthMpp(_this__u8e3s4);
|
|
3826
3826
|
};
|
|
3827
3827
|
function Argument_0() {
|
|
@@ -3840,137 +3840,137 @@ function argument(_this__u8e3s4, name, help, helpTags, completionCandidates) {
|
|
|
3840
3840
|
return new ProcessedArgumentImpl(name, 1, true, tmp, helpTags, completionCandidates, argument$lambda_0, defaultAllProcessor(), defaultValidator());
|
|
3841
3841
|
}
|
|
3842
3842
|
function ArgumentTransformContext(argument, context) {
|
|
3843
|
-
this.
|
|
3844
|
-
this.
|
|
3843
|
+
this.s47_1 = argument;
|
|
3844
|
+
this.t47_1 = context;
|
|
3845
3845
|
}
|
|
3846
3846
|
protoOf(ArgumentTransformContext).z8 = function () {
|
|
3847
|
-
return this.
|
|
3847
|
+
return this.t47_1;
|
|
3848
3848
|
};
|
|
3849
|
-
protoOf(ArgumentTransformContext).
|
|
3850
|
-
return this.
|
|
3849
|
+
protoOf(ArgumentTransformContext).m3x = function () {
|
|
3850
|
+
return this.s47_1.m3x();
|
|
3851
3851
|
};
|
|
3852
3852
|
protoOf(ArgumentTransformContext).s2 = function () {
|
|
3853
|
-
return this.
|
|
3853
|
+
return this.s47_1.s2();
|
|
3854
3854
|
};
|
|
3855
|
-
protoOf(ArgumentTransformContext).
|
|
3856
|
-
return this.
|
|
3855
|
+
protoOf(ArgumentTransformContext).n3x = function () {
|
|
3856
|
+
return this.s47_1.n3x();
|
|
3857
3857
|
};
|
|
3858
|
-
protoOf(ArgumentTransformContext).
|
|
3859
|
-
return this.
|
|
3858
|
+
protoOf(ArgumentTransformContext).j47 = function () {
|
|
3859
|
+
return this.s47_1.j47();
|
|
3860
3860
|
};
|
|
3861
|
-
protoOf(ArgumentTransformContext).
|
|
3862
|
-
this.
|
|
3861
|
+
protoOf(ArgumentTransformContext).y43 = function (context, values) {
|
|
3862
|
+
this.s47_1.y43(context, values);
|
|
3863
3863
|
};
|
|
3864
|
-
protoOf(ArgumentTransformContext).
|
|
3865
|
-
return this.
|
|
3864
|
+
protoOf(ArgumentTransformContext).x3x = function (context) {
|
|
3865
|
+
return this.s47_1.x3x(context);
|
|
3866
3866
|
};
|
|
3867
|
-
protoOf(ArgumentTransformContext).
|
|
3868
|
-
return this.
|
|
3867
|
+
protoOf(ArgumentTransformContext).h3y = function (context) {
|
|
3868
|
+
return this.s47_1.h3y(context);
|
|
3869
3869
|
};
|
|
3870
|
-
protoOf(ArgumentTransformContext).
|
|
3871
|
-
this.
|
|
3870
|
+
protoOf(ArgumentTransformContext).k47 = function (context) {
|
|
3871
|
+
this.s47_1.k47(context);
|
|
3872
3872
|
};
|
|
3873
|
-
protoOf(ArgumentTransformContext).
|
|
3874
|
-
throw BadParameterValue_init_$Create$(message, this.
|
|
3873
|
+
protoOf(ArgumentTransformContext).u47 = function (message) {
|
|
3874
|
+
throw BadParameterValue_init_$Create$(message, this.s47_1);
|
|
3875
3875
|
};
|
|
3876
3876
|
function transformAll(_this__u8e3s4, nvalues, required, defaultForHelp, transform) {
|
|
3877
3877
|
nvalues = nvalues === VOID ? null : nvalues;
|
|
3878
3878
|
required = required === VOID ? null : required;
|
|
3879
3879
|
defaultForHelp = defaultForHelp === VOID ? null : defaultForHelp;
|
|
3880
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
3880
|
+
var tags = toMutableMap(_this__u8e3s4.m40());
|
|
3881
3881
|
if (!(defaultForHelp == null)) {
|
|
3882
3882
|
// Inline function 'kotlin.collections.set' call
|
|
3883
3883
|
tags.n2('default', defaultForHelp);
|
|
3884
3884
|
} else {
|
|
3885
3885
|
tags.o2('default');
|
|
3886
3886
|
}
|
|
3887
|
-
var tmp = _this__u8e3s4.
|
|
3887
|
+
var tmp = _this__u8e3s4.m47();
|
|
3888
3888
|
var tmp_0 = defaultValidator();
|
|
3889
|
-
var tmp_1 = nvalues == null ? _this__u8e3s4.
|
|
3890
|
-
return _this__u8e3s4.
|
|
3889
|
+
var tmp_1 = nvalues == null ? _this__u8e3s4.n3x() : nvalues;
|
|
3890
|
+
return _this__u8e3s4.q47(tmp, transform, tmp_0, VOID, tmp_1, required == null ? _this__u8e3s4.j47() : required, VOID, tags);
|
|
3891
3891
|
}
|
|
3892
3892
|
function ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, explicitCompletionCandidates, transformValue, transformAll, transformValidator) {
|
|
3893
|
-
this.
|
|
3894
|
-
this.
|
|
3895
|
-
this.
|
|
3896
|
-
this.
|
|
3897
|
-
this.
|
|
3898
|
-
this.
|
|
3899
|
-
this.
|
|
3900
|
-
this.
|
|
3901
|
-
this.
|
|
3893
|
+
this.v47_1 = name;
|
|
3894
|
+
this.w47_1 = nvalues;
|
|
3895
|
+
this.x47_1 = required;
|
|
3896
|
+
this.y47_1 = helpGetter;
|
|
3897
|
+
this.z47_1 = helpTags;
|
|
3898
|
+
this.a48_1 = explicitCompletionCandidates;
|
|
3899
|
+
this.b48_1 = transformValue;
|
|
3900
|
+
this.c48_1 = transformAll;
|
|
3901
|
+
this.d48_1 = transformValidator;
|
|
3902
3902
|
// Inline function 'kotlin.require' call
|
|
3903
3903
|
// Inline function 'kotlin.contracts.contract' call
|
|
3904
|
-
if (!!(this.
|
|
3904
|
+
if (!!(this.w47_1 === 0)) {
|
|
3905
3905
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.<anonymous>' call
|
|
3906
3906
|
var message = 'Arguments cannot have nvalues == 0';
|
|
3907
3907
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3908
3908
|
}
|
|
3909
|
-
this.
|
|
3909
|
+
this.e48_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
3910
3910
|
}
|
|
3911
3911
|
protoOf(ProcessedArgumentImpl).s2 = function () {
|
|
3912
|
+
return this.v47_1;
|
|
3913
|
+
};
|
|
3914
|
+
protoOf(ProcessedArgumentImpl).n3x = function () {
|
|
3912
3915
|
return this.w47_1;
|
|
3913
3916
|
};
|
|
3914
|
-
protoOf(ProcessedArgumentImpl).
|
|
3917
|
+
protoOf(ProcessedArgumentImpl).j47 = function () {
|
|
3915
3918
|
return this.x47_1;
|
|
3916
3919
|
};
|
|
3917
|
-
protoOf(ProcessedArgumentImpl).
|
|
3920
|
+
protoOf(ProcessedArgumentImpl).l47 = function () {
|
|
3918
3921
|
return this.y47_1;
|
|
3919
3922
|
};
|
|
3920
|
-
protoOf(ProcessedArgumentImpl).
|
|
3923
|
+
protoOf(ProcessedArgumentImpl).m40 = function () {
|
|
3921
3924
|
return this.z47_1;
|
|
3922
3925
|
};
|
|
3923
|
-
protoOf(ProcessedArgumentImpl).
|
|
3926
|
+
protoOf(ProcessedArgumentImpl).o47 = function () {
|
|
3924
3927
|
return this.a48_1;
|
|
3925
3928
|
};
|
|
3926
|
-
protoOf(ProcessedArgumentImpl).
|
|
3929
|
+
protoOf(ProcessedArgumentImpl).m47 = function () {
|
|
3927
3930
|
return this.b48_1;
|
|
3928
3931
|
};
|
|
3929
3932
|
protoOf(ProcessedArgumentImpl).n47 = function () {
|
|
3930
3933
|
return this.c48_1;
|
|
3931
3934
|
};
|
|
3932
|
-
protoOf(ProcessedArgumentImpl).
|
|
3933
|
-
|
|
3934
|
-
};
|
|
3935
|
-
protoOf(ProcessedArgumentImpl).y3x = function (context) {
|
|
3936
|
-
var tmp0_safe_receiver = this.z47_1;
|
|
3935
|
+
protoOf(ProcessedArgumentImpl).x3x = function (context) {
|
|
3936
|
+
var tmp0_safe_receiver = this.y47_1;
|
|
3937
3937
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
3938
3938
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3939
3939
|
};
|
|
3940
|
-
protoOf(ProcessedArgumentImpl).
|
|
3941
|
-
return this.
|
|
3940
|
+
protoOf(ProcessedArgumentImpl).f48 = function (_set____db54di) {
|
|
3941
|
+
return this.e48_1.i48(this, value$factory(), _set____db54di);
|
|
3942
3942
|
};
|
|
3943
3943
|
protoOf(ProcessedArgumentImpl).b1 = function () {
|
|
3944
|
-
return this.
|
|
3944
|
+
return this.e48_1.j48(this, value$factory_0());
|
|
3945
3945
|
};
|
|
3946
|
-
protoOf(ProcessedArgumentImpl).
|
|
3947
|
-
var tmp0_elvis_lhs = this.
|
|
3946
|
+
protoOf(ProcessedArgumentImpl).m3x = function () {
|
|
3947
|
+
var tmp0_elvis_lhs = this.a48_1;
|
|
3948
3948
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
3949
3949
|
};
|
|
3950
|
-
protoOf(ProcessedArgumentImpl).
|
|
3951
|
-
return new Argument(this.
|
|
3950
|
+
protoOf(ProcessedArgumentImpl).h3y = function (context) {
|
|
3951
|
+
return new Argument(this.v47_1, this.x3x(context), this.x47_1 || this.w47_1 > 1, this.w47_1 < 0, this.z47_1);
|
|
3952
3952
|
};
|
|
3953
|
-
protoOf(ProcessedArgumentImpl).
|
|
3953
|
+
protoOf(ProcessedArgumentImpl).k48 = function (thisRef, property) {
|
|
3954
3954
|
return this.b1();
|
|
3955
3955
|
};
|
|
3956
|
-
protoOf(ProcessedArgumentImpl).
|
|
3957
|
-
return this.
|
|
3956
|
+
protoOf(ProcessedArgumentImpl).l48 = function (thisRef, property) {
|
|
3957
|
+
return this.k48(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3958
3958
|
};
|
|
3959
|
-
protoOf(ProcessedArgumentImpl).
|
|
3960
|
-
if (isBlank(this.
|
|
3959
|
+
protoOf(ProcessedArgumentImpl).m48 = function (thisRef, property) {
|
|
3960
|
+
if (isBlank(this.v47_1)) {
|
|
3961
3961
|
var tmp = this;
|
|
3962
3962
|
// Inline function 'kotlin.text.uppercase' call
|
|
3963
3963
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3964
3964
|
var tmp$ret$1 = property.callableName.toUpperCase();
|
|
3965
|
-
tmp.
|
|
3965
|
+
tmp.v47_1 = replace_0(tmp$ret$1, '-', '_');
|
|
3966
3966
|
}
|
|
3967
|
-
thisRef.
|
|
3967
|
+
thisRef.n3y(this);
|
|
3968
3968
|
return this;
|
|
3969
3969
|
};
|
|
3970
|
-
protoOf(ProcessedArgumentImpl).
|
|
3971
|
-
return this.
|
|
3970
|
+
protoOf(ProcessedArgumentImpl).r47 = function (thisRef, property) {
|
|
3971
|
+
return this.m48(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3972
3972
|
};
|
|
3973
|
-
protoOf(ProcessedArgumentImpl).
|
|
3973
|
+
protoOf(ProcessedArgumentImpl).y43 = function (context, values) {
|
|
3974
3974
|
var ctx = new ArgumentTransformContext(this, context);
|
|
3975
3975
|
// Inline function 'kotlin.collections.map' call
|
|
3976
3976
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3979,15 +3979,15 @@ protoOf(ProcessedArgumentImpl).z43 = function (context, values) {
|
|
|
3979
3979
|
while (tmp0_iterator.h()) {
|
|
3980
3980
|
var item = tmp0_iterator.i();
|
|
3981
3981
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.finalize.<anonymous>' call
|
|
3982
|
-
var tmp$ret$0 = this.
|
|
3982
|
+
var tmp$ret$0 = this.b48_1(ctx, item);
|
|
3983
3983
|
destination.e(tmp$ret$0);
|
|
3984
3984
|
}
|
|
3985
|
-
this.
|
|
3985
|
+
this.f48(this.c48_1(ctx, destination));
|
|
3986
3986
|
};
|
|
3987
|
-
protoOf(ProcessedArgumentImpl).
|
|
3988
|
-
this.
|
|
3987
|
+
protoOf(ProcessedArgumentImpl).k47 = function (context) {
|
|
3988
|
+
this.d48_1(new ArgumentTransformContext(this, context), this.b1());
|
|
3989
3989
|
};
|
|
3990
|
-
protoOf(ProcessedArgumentImpl).
|
|
3990
|
+
protoOf(ProcessedArgumentImpl).p47 = function (transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) {
|
|
3991
3991
|
return new ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, completionCandidates, transformValue, transformAll, validator);
|
|
3992
3992
|
};
|
|
3993
3993
|
protoOf(ProcessedArgumentImpl).toString = function () {
|
|
@@ -3997,7 +3997,7 @@ protoOf(ProcessedArgumentImpl).toString = function () {
|
|
|
3997
3997
|
var this_0 = StringBuilder_init_$Create$();
|
|
3998
3998
|
// Inline function 'kotlin.contracts.contract' call
|
|
3999
3999
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>' call
|
|
4000
|
-
this_0.y7(this.
|
|
4000
|
+
this_0.y7(this.v47_1);
|
|
4001
4001
|
// Inline function 'kotlin.onSuccess' call
|
|
4002
4002
|
// Inline function 'kotlin.runCatching' call
|
|
4003
4003
|
var tmp;
|
|
@@ -4035,7 +4035,7 @@ function defaultValidator() {
|
|
|
4035
4035
|
}
|
|
4036
4036
|
function optional$lambda($this_optional) {
|
|
4037
4037
|
return function ($this$transformAll, it) {
|
|
4038
|
-
return it.l() ? null : $this_optional.
|
|
4038
|
+
return it.l() ? null : $this_optional.n47()($this$transformAll, it);
|
|
4039
4039
|
};
|
|
4040
4040
|
}
|
|
4041
4041
|
function argument$lambda($help) {
|
|
@@ -4056,14 +4056,14 @@ function value$factory() {
|
|
|
4056
4056
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4057
4057
|
return receiver.b1();
|
|
4058
4058
|
}, function (receiver, value) {
|
|
4059
|
-
return receiver.
|
|
4059
|
+
return receiver.f48(value);
|
|
4060
4060
|
});
|
|
4061
4061
|
}
|
|
4062
4062
|
function value$factory_0() {
|
|
4063
4063
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4064
4064
|
return receiver.b1();
|
|
4065
4065
|
}, function (receiver, value) {
|
|
4066
|
-
return receiver.
|
|
4066
|
+
return receiver.f48(value);
|
|
4067
4067
|
});
|
|
4068
4068
|
}
|
|
4069
4069
|
function ParameterGroup() {
|
|
@@ -4075,29 +4075,29 @@ function UNINITIALIZED_getInstance() {
|
|
|
4075
4075
|
return UNINITIALIZED_instance;
|
|
4076
4076
|
}
|
|
4077
4077
|
function NullableLateinit(errorMessage) {
|
|
4078
|
-
this.
|
|
4079
|
-
this.
|
|
4078
|
+
this.g48_1 = errorMessage;
|
|
4079
|
+
this.h48_1 = UNINITIALIZED_instance;
|
|
4080
4080
|
}
|
|
4081
|
-
protoOf(NullableLateinit).
|
|
4082
|
-
if (this.
|
|
4083
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4081
|
+
protoOf(NullableLateinit).j48 = function (thisRef, property) {
|
|
4082
|
+
if (this.h48_1 === UNINITIALIZED_instance)
|
|
4083
|
+
throw IllegalStateException_init_$Create$(this.g48_1);
|
|
4084
4084
|
try {
|
|
4085
|
-
var tmp = this.
|
|
4085
|
+
var tmp = this.h48_1;
|
|
4086
4086
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
4087
4087
|
} catch ($p) {
|
|
4088
4088
|
if ($p instanceof ClassCastException) {
|
|
4089
4089
|
var e = $p;
|
|
4090
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4090
|
+
throw IllegalStateException_init_$Create$(this.g48_1);
|
|
4091
4091
|
} else {
|
|
4092
4092
|
throw $p;
|
|
4093
4093
|
}
|
|
4094
4094
|
}
|
|
4095
4095
|
};
|
|
4096
|
-
protoOf(NullableLateinit).
|
|
4097
|
-
return this.
|
|
4096
|
+
protoOf(NullableLateinit).l48 = function (thisRef, property) {
|
|
4097
|
+
return this.j48(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
4098
4098
|
};
|
|
4099
|
-
protoOf(NullableLateinit).
|
|
4100
|
-
this.
|
|
4099
|
+
protoOf(NullableLateinit).i48 = function (thisRef, property, value) {
|
|
4100
|
+
this.h48_1 = value;
|
|
4101
4101
|
};
|
|
4102
4102
|
function eagerOption(_this__u8e3s4, names, help, hidden, helpTags, groupName, action) {
|
|
4103
4103
|
help = help === VOID ? '' : help;
|
|
@@ -4108,12 +4108,12 @@ function eagerOption(_this__u8e3s4, names, help, hidden, helpTags, groupName, ac
|
|
|
4108
4108
|
// Inline function 'kotlin.collections.toTypedArray' call
|
|
4109
4109
|
var tmp$ret$0 = copyToArray(names);
|
|
4110
4110
|
var this_0 = flag(option(_this__u8e3s4, tmp$ret$0.slice(), help, VOID, hidden, VOID, helpTags, VOID, VOID, true), []);
|
|
4111
|
-
var tmp = this_0.
|
|
4112
|
-
var tmp_0 = this_0.
|
|
4113
|
-
var tmp_1 = this_0.
|
|
4114
|
-
var o = this_0.
|
|
4115
|
-
o.
|
|
4116
|
-
_this__u8e3s4.
|
|
4111
|
+
var tmp = this_0.m47();
|
|
4112
|
+
var tmp_0 = this_0.o48();
|
|
4113
|
+
var tmp_1 = this_0.n47();
|
|
4114
|
+
var o = this_0.p48(tmp, tmp_0, tmp_1, eagerOption$lambda(action));
|
|
4115
|
+
o.r40(groupName);
|
|
4116
|
+
_this__u8e3s4.m3y(o);
|
|
4117
4117
|
return _this__u8e3s4;
|
|
4118
4118
|
}
|
|
4119
4119
|
function eagerOption$lambda($action) {
|
|
@@ -4133,16 +4133,16 @@ function flag(_this__u8e3s4, secondaryNames, default_1, defaultForHelp) {
|
|
|
4133
4133
|
function nullableFlag(_this__u8e3s4, secondaryNames) {
|
|
4134
4134
|
var tmp = boolean(_this__u8e3s4);
|
|
4135
4135
|
var tmp_0 = numberRangeToNumber(0, 0);
|
|
4136
|
-
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).
|
|
4136
|
+
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).q48(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toSet_0(secondaryNames));
|
|
4137
4137
|
}
|
|
4138
4138
|
function nullableFlag$lambda($secondaryNames) {
|
|
4139
4139
|
return function ($this$transformValues, it) {
|
|
4140
4140
|
var tmp;
|
|
4141
4141
|
if (it.j() > 1) {
|
|
4142
|
-
$this$transformValues.
|
|
4142
|
+
$this$transformValues.u47($this$transformValues.t48_1.d3x_1.x44($this$transformValues.r48_1));
|
|
4143
4143
|
}
|
|
4144
4144
|
var tmp0_elvis_lhs = lastOrNull(it);
|
|
4145
|
-
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.
|
|
4145
|
+
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.r48_1) : tmp0_elvis_lhs;
|
|
4146
4146
|
};
|
|
4147
4147
|
}
|
|
4148
4148
|
function Option_0() {
|
|
@@ -4151,7 +4151,7 @@ function longestName(_this__u8e3s4) {
|
|
|
4151
4151
|
var tmp$ret$0;
|
|
4152
4152
|
$l$block_0: {
|
|
4153
4153
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
4154
|
-
var iterator = _this__u8e3s4.
|
|
4154
|
+
var iterator = _this__u8e3s4.n3w().g();
|
|
4155
4155
|
if (!iterator.h()) {
|
|
4156
4156
|
tmp$ret$0 = null;
|
|
4157
4157
|
break $l$block_0;
|
|
@@ -4242,13 +4242,13 @@ function OptionDelegate() {
|
|
|
4242
4242
|
}
|
|
4243
4243
|
function Parsed(values) {
|
|
4244
4244
|
FinalValue.call(this);
|
|
4245
|
-
this.
|
|
4245
|
+
this.x48_1 = values;
|
|
4246
4246
|
}
|
|
4247
4247
|
protoOf(Parsed).toString = function () {
|
|
4248
|
-
return 'Parsed(values=' + toString_0(this.
|
|
4248
|
+
return 'Parsed(values=' + toString_0(this.x48_1) + ')';
|
|
4249
4249
|
};
|
|
4250
4250
|
protoOf(Parsed).hashCode = function () {
|
|
4251
|
-
return hashCode(this.
|
|
4251
|
+
return hashCode(this.x48_1);
|
|
4252
4252
|
};
|
|
4253
4253
|
protoOf(Parsed).equals = function (other) {
|
|
4254
4254
|
if (this === other)
|
|
@@ -4256,19 +4256,19 @@ protoOf(Parsed).equals = function (other) {
|
|
|
4256
4256
|
if (!(other instanceof Parsed))
|
|
4257
4257
|
return false;
|
|
4258
4258
|
var tmp0_other_with_cast = other instanceof Parsed ? other : THROW_CCE();
|
|
4259
|
-
if (!equals(this.
|
|
4259
|
+
if (!equals(this.x48_1, tmp0_other_with_cast.x48_1))
|
|
4260
4260
|
return false;
|
|
4261
4261
|
return true;
|
|
4262
4262
|
};
|
|
4263
4263
|
function Sourced(values) {
|
|
4264
4264
|
FinalValue.call(this);
|
|
4265
|
-
this.
|
|
4265
|
+
this.y48_1 = values;
|
|
4266
4266
|
}
|
|
4267
4267
|
protoOf(Sourced).toString = function () {
|
|
4268
|
-
return 'Sourced(values=' + toString_0(this.
|
|
4268
|
+
return 'Sourced(values=' + toString_0(this.y48_1) + ')';
|
|
4269
4269
|
};
|
|
4270
4270
|
protoOf(Sourced).hashCode = function () {
|
|
4271
|
-
return hashCode(this.
|
|
4271
|
+
return hashCode(this.y48_1);
|
|
4272
4272
|
};
|
|
4273
4273
|
protoOf(Sourced).equals = function (other) {
|
|
4274
4274
|
if (this === other)
|
|
@@ -4276,21 +4276,21 @@ protoOf(Sourced).equals = function (other) {
|
|
|
4276
4276
|
if (!(other instanceof Sourced))
|
|
4277
4277
|
return false;
|
|
4278
4278
|
var tmp0_other_with_cast = other instanceof Sourced ? other : THROW_CCE();
|
|
4279
|
-
if (!equals(this.
|
|
4279
|
+
if (!equals(this.y48_1, tmp0_other_with_cast.y48_1))
|
|
4280
4280
|
return false;
|
|
4281
4281
|
return true;
|
|
4282
4282
|
};
|
|
4283
4283
|
function Envvar(key, value) {
|
|
4284
4284
|
FinalValue.call(this);
|
|
4285
|
-
this.
|
|
4286
|
-
this.
|
|
4285
|
+
this.z48_1 = key;
|
|
4286
|
+
this.a49_1 = value;
|
|
4287
4287
|
}
|
|
4288
4288
|
protoOf(Envvar).toString = function () {
|
|
4289
|
-
return 'Envvar(key=' + this.
|
|
4289
|
+
return 'Envvar(key=' + this.z48_1 + ', value=' + this.a49_1 + ')';
|
|
4290
4290
|
};
|
|
4291
4291
|
protoOf(Envvar).hashCode = function () {
|
|
4292
|
-
var result = getStringHashCode(this.
|
|
4293
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4292
|
+
var result = getStringHashCode(this.z48_1);
|
|
4293
|
+
result = imul(result, 31) + getStringHashCode(this.a49_1) | 0;
|
|
4294
4294
|
return result;
|
|
4295
4295
|
};
|
|
4296
4296
|
protoOf(Envvar).equals = function (other) {
|
|
@@ -4299,9 +4299,9 @@ protoOf(Envvar).equals = function (other) {
|
|
|
4299
4299
|
if (!(other instanceof Envvar))
|
|
4300
4300
|
return false;
|
|
4301
4301
|
var tmp0_other_with_cast = other instanceof Envvar ? other : THROW_CCE();
|
|
4302
|
-
if (!(this.
|
|
4302
|
+
if (!(this.z48_1 === tmp0_other_with_cast.z48_1))
|
|
4303
4303
|
return false;
|
|
4304
|
-
if (!(this.
|
|
4304
|
+
if (!(this.a49_1 === tmp0_other_with_cast.a49_1))
|
|
4305
4305
|
return false;
|
|
4306
4306
|
return true;
|
|
4307
4307
|
};
|
|
@@ -4313,7 +4313,7 @@ function getFinalValue(_this__u8e3s4, context, invocations, envvar) {
|
|
|
4313
4313
|
if (!invocations.l()) {
|
|
4314
4314
|
tmp = new Parsed(invocations);
|
|
4315
4315
|
} else {
|
|
4316
|
-
if (context.
|
|
4316
|
+
if (context.a3x_1) {
|
|
4317
4317
|
var tmp0_elvis_lhs = readEnvVar(_this__u8e3s4, context, envvar);
|
|
4318
4318
|
tmp = tmp0_elvis_lhs == null ? readValueSource(_this__u8e3s4, context) : tmp0_elvis_lhs;
|
|
4319
4319
|
} else {
|
|
@@ -4362,7 +4362,7 @@ function inferOptionNames(names, propertyName) {
|
|
|
4362
4362
|
return setOf_0(normalizedName);
|
|
4363
4363
|
}
|
|
4364
4364
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
4365
|
-
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.
|
|
4365
|
+
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.n3w(), envvar, context.t3w_1);
|
|
4366
4366
|
var tmp;
|
|
4367
4367
|
if (tmp0_elvis_lhs == null) {
|
|
4368
4368
|
return null;
|
|
@@ -4370,7 +4370,7 @@ function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
|
4370
4370
|
tmp = tmp0_elvis_lhs;
|
|
4371
4371
|
}
|
|
4372
4372
|
var env = tmp;
|
|
4373
|
-
var tmp1_safe_receiver = context.
|
|
4373
|
+
var tmp1_safe_receiver = context.e3x_1(env);
|
|
4374
4374
|
var tmp_0;
|
|
4375
4375
|
if (tmp1_safe_receiver == null) {
|
|
4376
4376
|
tmp_0 = null;
|
|
@@ -4383,8 +4383,8 @@ function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
|
4383
4383
|
return tmp_0;
|
|
4384
4384
|
}
|
|
4385
4385
|
function readValueSource(_this__u8e3s4, context) {
|
|
4386
|
-
var tmp0_safe_receiver = context.
|
|
4387
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4386
|
+
var tmp0_safe_receiver = context.b3x_1;
|
|
4387
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b49(context, _this__u8e3s4);
|
|
4388
4388
|
var tmp;
|
|
4389
4389
|
if (tmp1_safe_receiver == null) {
|
|
4390
4390
|
tmp = null;
|
|
@@ -4416,56 +4416,56 @@ function inferOptionNames$lambda(it) {
|
|
|
4416
4416
|
return toString(charSequenceGet(it.b1(), 0)) + '-' + toString(charSequenceGet(it.b1(), 1));
|
|
4417
4417
|
}
|
|
4418
4418
|
function OptionTransformContext(option, context) {
|
|
4419
|
-
this.
|
|
4420
|
-
this.
|
|
4419
|
+
this.b3y_1 = option;
|
|
4420
|
+
this.c3y_1 = context;
|
|
4421
4421
|
}
|
|
4422
4422
|
protoOf(OptionTransformContext).z8 = function () {
|
|
4423
|
-
return this.
|
|
4423
|
+
return this.c3y_1;
|
|
4424
4424
|
};
|
|
4425
|
-
protoOf(OptionTransformContext).
|
|
4426
|
-
return this.
|
|
4425
|
+
protoOf(OptionTransformContext).l3y = function () {
|
|
4426
|
+
return this.b3y_1.l3y();
|
|
4427
4427
|
};
|
|
4428
|
-
protoOf(OptionTransformContext).
|
|
4429
|
-
return this.
|
|
4428
|
+
protoOf(OptionTransformContext).p40 = function () {
|
|
4429
|
+
return this.b3y_1.p40();
|
|
4430
4430
|
};
|
|
4431
|
-
protoOf(OptionTransformContext).
|
|
4432
|
-
return this.
|
|
4431
|
+
protoOf(OptionTransformContext).m3x = function () {
|
|
4432
|
+
return this.b3y_1.m3x();
|
|
4433
4433
|
};
|
|
4434
|
-
protoOf(OptionTransformContext).
|
|
4435
|
-
return this.
|
|
4434
|
+
protoOf(OptionTransformContext).o40 = function () {
|
|
4435
|
+
return this.b3y_1.o40();
|
|
4436
4436
|
};
|
|
4437
|
-
protoOf(OptionTransformContext).
|
|
4438
|
-
return this.
|
|
4437
|
+
protoOf(OptionTransformContext).m40 = function () {
|
|
4438
|
+
return this.b3y_1.m40();
|
|
4439
4439
|
};
|
|
4440
|
-
protoOf(OptionTransformContext).
|
|
4441
|
-
return this.
|
|
4440
|
+
protoOf(OptionTransformContext).l3x = function () {
|
|
4441
|
+
return this.b3y_1.l3x();
|
|
4442
4442
|
};
|
|
4443
|
-
protoOf(OptionTransformContext).
|
|
4444
|
-
return this.
|
|
4443
|
+
protoOf(OptionTransformContext).n3w = function () {
|
|
4444
|
+
return this.b3y_1.n3w();
|
|
4445
4445
|
};
|
|
4446
|
-
protoOf(OptionTransformContext).
|
|
4447
|
-
return this.
|
|
4446
|
+
protoOf(OptionTransformContext).n3x = function () {
|
|
4447
|
+
return this.b3y_1.n3x();
|
|
4448
4448
|
};
|
|
4449
|
-
protoOf(OptionTransformContext).
|
|
4450
|
-
return this.
|
|
4449
|
+
protoOf(OptionTransformContext).o3w = function () {
|
|
4450
|
+
return this.b3y_1.o3w();
|
|
4451
4451
|
};
|
|
4452
|
-
protoOf(OptionTransformContext).
|
|
4453
|
-
this.
|
|
4452
|
+
protoOf(OptionTransformContext).v43 = function (context, invocations) {
|
|
4453
|
+
this.b3y_1.v43(context, invocations);
|
|
4454
4454
|
};
|
|
4455
|
-
protoOf(OptionTransformContext).
|
|
4456
|
-
return this.
|
|
4455
|
+
protoOf(OptionTransformContext).u48 = function (context) {
|
|
4456
|
+
return this.b3y_1.u48(context);
|
|
4457
4457
|
};
|
|
4458
|
-
protoOf(OptionTransformContext).
|
|
4459
|
-
return this.
|
|
4458
|
+
protoOf(OptionTransformContext).w3x = function (context) {
|
|
4459
|
+
return this.b3y_1.w3x(context);
|
|
4460
4460
|
};
|
|
4461
|
-
protoOf(OptionTransformContext).
|
|
4462
|
-
return this.
|
|
4461
|
+
protoOf(OptionTransformContext).h3y = function (context) {
|
|
4462
|
+
return this.b3y_1.h3y(context);
|
|
4463
4463
|
};
|
|
4464
|
-
protoOf(OptionTransformContext).
|
|
4465
|
-
this.
|
|
4464
|
+
protoOf(OptionTransformContext).k47 = function (context) {
|
|
4465
|
+
this.b3y_1.k47(context);
|
|
4466
4466
|
};
|
|
4467
|
-
protoOf(OptionTransformContext).
|
|
4468
|
-
throw BadParameterValue_init_$Create$_0(message, this.
|
|
4467
|
+
protoOf(OptionTransformContext).u47 = function (message) {
|
|
4468
|
+
throw BadParameterValue_init_$Create$_0(message, this.b3y_1);
|
|
4469
4469
|
};
|
|
4470
4470
|
function OptionWithValues() {
|
|
4471
4471
|
}
|
|
@@ -4498,146 +4498,146 @@ function option(_this__u8e3s4, names, help, metavar, hidden, envvar, helpTags, c
|
|
|
4498
4498
|
return new OptionWithValuesImpl(tmp1_names, tmp2_metavarGetter, tmp3_nvalues, tmp_0, hidden, helpTags, valueSourceKey, envvar, null, completionCandidates, tmp4_secondaryNames, false, true, eager, option$lambda_1, tmp5_transformEach, tmp6_transformAll, tmp7_transformValidator);
|
|
4499
4499
|
}
|
|
4500
4500
|
function OptionCallTransformContext(name, option, context) {
|
|
4501
|
-
this.
|
|
4502
|
-
this.
|
|
4503
|
-
this.
|
|
4501
|
+
this.r48_1 = name;
|
|
4502
|
+
this.s48_1 = option;
|
|
4503
|
+
this.t48_1 = context;
|
|
4504
4504
|
}
|
|
4505
4505
|
protoOf(OptionCallTransformContext).z8 = function () {
|
|
4506
|
-
return this.
|
|
4506
|
+
return this.t48_1;
|
|
4507
4507
|
};
|
|
4508
|
-
protoOf(OptionCallTransformContext).
|
|
4509
|
-
return this.
|
|
4508
|
+
protoOf(OptionCallTransformContext).l3y = function () {
|
|
4509
|
+
return this.s48_1.l3y();
|
|
4510
4510
|
};
|
|
4511
|
-
protoOf(OptionCallTransformContext).
|
|
4512
|
-
return this.
|
|
4511
|
+
protoOf(OptionCallTransformContext).p40 = function () {
|
|
4512
|
+
return this.s48_1.p40();
|
|
4513
4513
|
};
|
|
4514
|
-
protoOf(OptionCallTransformContext).
|
|
4515
|
-
return this.
|
|
4514
|
+
protoOf(OptionCallTransformContext).m3x = function () {
|
|
4515
|
+
return this.s48_1.m3x();
|
|
4516
4516
|
};
|
|
4517
|
-
protoOf(OptionCallTransformContext).
|
|
4518
|
-
return this.
|
|
4517
|
+
protoOf(OptionCallTransformContext).o40 = function () {
|
|
4518
|
+
return this.s48_1.o40();
|
|
4519
4519
|
};
|
|
4520
|
-
protoOf(OptionCallTransformContext).
|
|
4521
|
-
return this.
|
|
4520
|
+
protoOf(OptionCallTransformContext).m40 = function () {
|
|
4521
|
+
return this.s48_1.m40();
|
|
4522
4522
|
};
|
|
4523
|
-
protoOf(OptionCallTransformContext).
|
|
4524
|
-
return this.
|
|
4523
|
+
protoOf(OptionCallTransformContext).l3x = function () {
|
|
4524
|
+
return this.s48_1.l3x();
|
|
4525
4525
|
};
|
|
4526
|
-
protoOf(OptionCallTransformContext).
|
|
4527
|
-
return this.
|
|
4526
|
+
protoOf(OptionCallTransformContext).n3w = function () {
|
|
4527
|
+
return this.s48_1.n3w();
|
|
4528
4528
|
};
|
|
4529
|
-
protoOf(OptionCallTransformContext).
|
|
4530
|
-
return this.
|
|
4529
|
+
protoOf(OptionCallTransformContext).n3x = function () {
|
|
4530
|
+
return this.s48_1.n3x();
|
|
4531
4531
|
};
|
|
4532
|
-
protoOf(OptionCallTransformContext).
|
|
4533
|
-
return this.
|
|
4532
|
+
protoOf(OptionCallTransformContext).o3w = function () {
|
|
4533
|
+
return this.s48_1.o3w();
|
|
4534
4534
|
};
|
|
4535
|
-
protoOf(OptionCallTransformContext).
|
|
4536
|
-
this.
|
|
4535
|
+
protoOf(OptionCallTransformContext).v43 = function (context, invocations) {
|
|
4536
|
+
this.s48_1.v43(context, invocations);
|
|
4537
4537
|
};
|
|
4538
|
-
protoOf(OptionCallTransformContext).
|
|
4539
|
-
return this.
|
|
4538
|
+
protoOf(OptionCallTransformContext).u48 = function (context) {
|
|
4539
|
+
return this.s48_1.u48(context);
|
|
4540
4540
|
};
|
|
4541
|
-
protoOf(OptionCallTransformContext).
|
|
4542
|
-
return this.
|
|
4541
|
+
protoOf(OptionCallTransformContext).w3x = function (context) {
|
|
4542
|
+
return this.s48_1.w3x(context);
|
|
4543
4543
|
};
|
|
4544
|
-
protoOf(OptionCallTransformContext).
|
|
4545
|
-
return this.
|
|
4544
|
+
protoOf(OptionCallTransformContext).h3y = function (context) {
|
|
4545
|
+
return this.s48_1.h3y(context);
|
|
4546
4546
|
};
|
|
4547
|
-
protoOf(OptionCallTransformContext).
|
|
4548
|
-
this.
|
|
4547
|
+
protoOf(OptionCallTransformContext).k47 = function (context) {
|
|
4548
|
+
this.s48_1.k47(context);
|
|
4549
4549
|
};
|
|
4550
|
-
protoOf(OptionCallTransformContext).
|
|
4551
|
-
throw BadParameterValue_init_$Create$_1(message, this.
|
|
4550
|
+
protoOf(OptionCallTransformContext).u47 = function (message) {
|
|
4551
|
+
throw BadParameterValue_init_$Create$_1(message, this.s48_1, this.r48_1);
|
|
4552
4552
|
};
|
|
4553
4553
|
function OptionWithValuesImpl$metavar$lambda($this$null) {
|
|
4554
|
-
return $this$null.
|
|
4554
|
+
return $this$null.d3x_1.a45();
|
|
4555
4555
|
}
|
|
4556
4556
|
function OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, explicitCompletionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, transformValidator) {
|
|
4557
|
-
this.
|
|
4558
|
-
this.
|
|
4559
|
-
this.
|
|
4560
|
-
this.
|
|
4561
|
-
this.
|
|
4562
|
-
this.
|
|
4563
|
-
this.
|
|
4564
|
-
this.
|
|
4565
|
-
this.
|
|
4566
|
-
this.
|
|
4567
|
-
this.
|
|
4568
|
-
this.
|
|
4569
|
-
this.
|
|
4570
|
-
this.
|
|
4571
|
-
this.
|
|
4572
|
-
this.
|
|
4573
|
-
this.
|
|
4557
|
+
this.i49_1 = metavarGetter;
|
|
4558
|
+
this.j49_1 = nvalues;
|
|
4559
|
+
this.k49_1 = helpGetter;
|
|
4560
|
+
this.l49_1 = hidden;
|
|
4561
|
+
this.m49_1 = helpTags;
|
|
4562
|
+
this.n49_1 = valueSourceKey;
|
|
4563
|
+
this.o49_1 = envvar;
|
|
4564
|
+
this.p49_1 = valueSplit;
|
|
4565
|
+
this.q49_1 = explicitCompletionCandidates;
|
|
4566
|
+
this.r49_1 = secondaryNames;
|
|
4567
|
+
this.s49_1 = acceptsNumberValueWithoutName;
|
|
4568
|
+
this.t49_1 = acceptsUnattachedValue;
|
|
4569
|
+
this.u49_1 = eager;
|
|
4570
|
+
this.v49_1 = transformValue;
|
|
4571
|
+
this.w49_1 = transformEach;
|
|
4572
|
+
this.x49_1 = transformAll;
|
|
4573
|
+
this.y49_1 = transformValidator;
|
|
4574
|
+
this.z49_1 = null;
|
|
4574
4575
|
this.a4a_1 = null;
|
|
4575
|
-
this.b4a_1 =
|
|
4576
|
-
this.c4a_1 =
|
|
4577
|
-
this.d4a_1 = names;
|
|
4576
|
+
this.b4a_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4577
|
+
this.c4a_1 = names;
|
|
4578
4578
|
}
|
|
4579
|
-
protoOf(OptionWithValuesImpl).
|
|
4579
|
+
protoOf(OptionWithValuesImpl).e49 = function () {
|
|
4580
|
+
return this.i49_1;
|
|
4581
|
+
};
|
|
4582
|
+
protoOf(OptionWithValuesImpl).n3x = function () {
|
|
4580
4583
|
return this.j49_1;
|
|
4581
4584
|
};
|
|
4582
|
-
protoOf(OptionWithValuesImpl).
|
|
4585
|
+
protoOf(OptionWithValuesImpl).l47 = function () {
|
|
4583
4586
|
return this.k49_1;
|
|
4584
4587
|
};
|
|
4585
|
-
protoOf(OptionWithValuesImpl).
|
|
4588
|
+
protoOf(OptionWithValuesImpl).l3x = function () {
|
|
4586
4589
|
return this.l49_1;
|
|
4587
4590
|
};
|
|
4588
|
-
protoOf(OptionWithValuesImpl).
|
|
4591
|
+
protoOf(OptionWithValuesImpl).m40 = function () {
|
|
4589
4592
|
return this.m49_1;
|
|
4590
4593
|
};
|
|
4591
4594
|
protoOf(OptionWithValuesImpl).n40 = function () {
|
|
4592
4595
|
return this.n49_1;
|
|
4593
4596
|
};
|
|
4594
|
-
protoOf(OptionWithValuesImpl).
|
|
4597
|
+
protoOf(OptionWithValuesImpl).c49 = function () {
|
|
4595
4598
|
return this.o49_1;
|
|
4596
4599
|
};
|
|
4597
|
-
protoOf(OptionWithValuesImpl).
|
|
4600
|
+
protoOf(OptionWithValuesImpl).f49 = function () {
|
|
4598
4601
|
return this.p49_1;
|
|
4599
4602
|
};
|
|
4600
|
-
protoOf(OptionWithValuesImpl).
|
|
4603
|
+
protoOf(OptionWithValuesImpl).o47 = function () {
|
|
4601
4604
|
return this.q49_1;
|
|
4602
4605
|
};
|
|
4603
|
-
protoOf(OptionWithValuesImpl).
|
|
4606
|
+
protoOf(OptionWithValuesImpl).o3w = function () {
|
|
4604
4607
|
return this.r49_1;
|
|
4605
4608
|
};
|
|
4606
|
-
protoOf(OptionWithValuesImpl).
|
|
4609
|
+
protoOf(OptionWithValuesImpl).l3y = function () {
|
|
4607
4610
|
return this.s49_1;
|
|
4608
4611
|
};
|
|
4609
|
-
protoOf(OptionWithValuesImpl).
|
|
4612
|
+
protoOf(OptionWithValuesImpl).p40 = function () {
|
|
4610
4613
|
return this.t49_1;
|
|
4611
4614
|
};
|
|
4612
|
-
protoOf(OptionWithValuesImpl).
|
|
4615
|
+
protoOf(OptionWithValuesImpl).o40 = function () {
|
|
4613
4616
|
return this.u49_1;
|
|
4614
4617
|
};
|
|
4615
|
-
protoOf(OptionWithValuesImpl).
|
|
4618
|
+
protoOf(OptionWithValuesImpl).m47 = function () {
|
|
4616
4619
|
return this.v49_1;
|
|
4617
4620
|
};
|
|
4618
|
-
protoOf(OptionWithValuesImpl).
|
|
4621
|
+
protoOf(OptionWithValuesImpl).o48 = function () {
|
|
4619
4622
|
return this.w49_1;
|
|
4620
4623
|
};
|
|
4621
|
-
protoOf(OptionWithValuesImpl).
|
|
4624
|
+
protoOf(OptionWithValuesImpl).n47 = function () {
|
|
4622
4625
|
return this.x49_1;
|
|
4623
4626
|
};
|
|
4624
|
-
protoOf(OptionWithValuesImpl).
|
|
4627
|
+
protoOf(OptionWithValuesImpl).d49 = function () {
|
|
4625
4628
|
return this.y49_1;
|
|
4626
4629
|
};
|
|
4627
|
-
protoOf(OptionWithValuesImpl).
|
|
4630
|
+
protoOf(OptionWithValuesImpl).q40 = function () {
|
|
4628
4631
|
return this.z49_1;
|
|
4629
4632
|
};
|
|
4630
|
-
protoOf(OptionWithValuesImpl).r40 = function () {
|
|
4631
|
-
|
|
4632
|
-
};
|
|
4633
|
-
protoOf(OptionWithValuesImpl).s40 = function (_set____db54di) {
|
|
4634
|
-
this.b4a_1 = _set____db54di;
|
|
4633
|
+
protoOf(OptionWithValuesImpl).r40 = function (_set____db54di) {
|
|
4634
|
+
this.a4a_1 = _set____db54di;
|
|
4635
4635
|
};
|
|
4636
|
-
protoOf(OptionWithValuesImpl).
|
|
4637
|
-
return this.
|
|
4636
|
+
protoOf(OptionWithValuesImpl).l40 = function () {
|
|
4637
|
+
return this.a4a_1;
|
|
4638
4638
|
};
|
|
4639
|
-
protoOf(OptionWithValuesImpl).
|
|
4640
|
-
var tmp0_elvis_lhs = this.
|
|
4639
|
+
protoOf(OptionWithValuesImpl).u48 = function (context) {
|
|
4640
|
+
var tmp0_elvis_lhs = this.i49_1;
|
|
4641
4641
|
var tmp;
|
|
4642
4642
|
if (tmp0_elvis_lhs == null) {
|
|
4643
4643
|
tmp = OptionWithValuesImpl$metavar$lambda;
|
|
@@ -4646,30 +4646,30 @@ protoOf(OptionWithValuesImpl).v48 = function (context) {
|
|
|
4646
4646
|
}
|
|
4647
4647
|
return tmp(context);
|
|
4648
4648
|
};
|
|
4649
|
-
protoOf(OptionWithValuesImpl).
|
|
4650
|
-
return this.
|
|
4649
|
+
protoOf(OptionWithValuesImpl).f48 = function (_set____db54di) {
|
|
4650
|
+
return this.b4a_1.i48(this, value$factory_1(), _set____db54di);
|
|
4651
4651
|
};
|
|
4652
4652
|
protoOf(OptionWithValuesImpl).b1 = function () {
|
|
4653
|
-
return this.
|
|
4653
|
+
return this.b4a_1.j48(this, value$factory_2());
|
|
4654
4654
|
};
|
|
4655
|
-
protoOf(OptionWithValuesImpl).
|
|
4656
|
-
return this.
|
|
4655
|
+
protoOf(OptionWithValuesImpl).n3w = function () {
|
|
4656
|
+
return this.c4a_1;
|
|
4657
4657
|
};
|
|
4658
|
-
protoOf(OptionWithValuesImpl).
|
|
4659
|
-
var tmp0_elvis_lhs = this.
|
|
4658
|
+
protoOf(OptionWithValuesImpl).m3x = function () {
|
|
4659
|
+
var tmp0_elvis_lhs = this.q49_1;
|
|
4660
4660
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
4661
4661
|
};
|
|
4662
|
-
protoOf(OptionWithValuesImpl).
|
|
4663
|
-
var tmp0_safe_receiver = this.
|
|
4662
|
+
protoOf(OptionWithValuesImpl).w3x = function (context) {
|
|
4663
|
+
var tmp0_safe_receiver = this.k49_1;
|
|
4664
4664
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
4665
4665
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4666
4666
|
};
|
|
4667
|
-
protoOf(OptionWithValuesImpl).
|
|
4668
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
4667
|
+
protoOf(OptionWithValuesImpl).v43 = function (context, invocations) {
|
|
4668
|
+
var v = getFinalValue(this, context, invocations, this.o49_1);
|
|
4669
4669
|
var tmp;
|
|
4670
4670
|
if (v instanceof Parsed) {
|
|
4671
4671
|
var tmp_0;
|
|
4672
|
-
if (this.
|
|
4672
|
+
if (this.p49_1 == null) {
|
|
4673
4673
|
tmp_0 = invocations;
|
|
4674
4674
|
} else {
|
|
4675
4675
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4681,17 +4681,17 @@ protoOf(OptionWithValuesImpl).w43 = function (context, invocations) {
|
|
|
4681
4681
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4682
4682
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4683
4683
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4684
|
-
var this_0 = item.
|
|
4684
|
+
var this_0 = item.f4a_1;
|
|
4685
4685
|
var destination_0 = ArrayList_init_$Create$();
|
|
4686
4686
|
var tmp0_iterator_0 = this_0.g();
|
|
4687
4687
|
while (tmp0_iterator_0.h()) {
|
|
4688
4688
|
var element = tmp0_iterator_0.i();
|
|
4689
4689
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4690
4690
|
// Inline function 'kotlin.text.split' call
|
|
4691
|
-
var list = this.
|
|
4691
|
+
var list = this.p49_1.bc(element, 0);
|
|
4692
4692
|
addAll(destination_0, list);
|
|
4693
4693
|
}
|
|
4694
|
-
var tmp$ret$4 = item.
|
|
4694
|
+
var tmp$ret$4 = item.g4a(VOID, destination_0);
|
|
4695
4695
|
destination.e(tmp$ret$4);
|
|
4696
4696
|
}
|
|
4697
4697
|
tmp_0 = destination;
|
|
@@ -4700,27 +4700,27 @@ protoOf(OptionWithValuesImpl).w43 = function (context, invocations) {
|
|
|
4700
4700
|
} else {
|
|
4701
4701
|
if (v instanceof Sourced) {
|
|
4702
4702
|
// Inline function 'kotlin.collections.map' call
|
|
4703
|
-
var this_1 = v.
|
|
4703
|
+
var this_1 = v.y48_1;
|
|
4704
4704
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4705
4705
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
4706
4706
|
var tmp0_iterator_1 = this_1.g();
|
|
4707
4707
|
while (tmp0_iterator_1.h()) {
|
|
4708
4708
|
var item_0 = tmp0_iterator_1.i();
|
|
4709
4709
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4710
|
-
var tmp$ret$7 = new Invocation('', item_0.
|
|
4710
|
+
var tmp$ret$7 = new Invocation('', item_0.d4a_1);
|
|
4711
4711
|
destination_1.e(tmp$ret$7);
|
|
4712
4712
|
}
|
|
4713
4713
|
tmp = destination_1;
|
|
4714
4714
|
} else {
|
|
4715
4715
|
if (v instanceof Envvar) {
|
|
4716
4716
|
var tmp_1;
|
|
4717
|
-
if (this.
|
|
4718
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4717
|
+
if (this.p49_1 == null) {
|
|
4718
|
+
tmp_1 = listOf_0(new Invocation(v.z48_1, listOf_0(v.a49_1)));
|
|
4719
4719
|
} else {
|
|
4720
4720
|
// Inline function 'kotlin.text.split' call
|
|
4721
|
-
var this_2 = v.
|
|
4722
|
-
var tmp$ret$10 = this.
|
|
4723
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4721
|
+
var this_2 = v.a49_1;
|
|
4722
|
+
var tmp$ret$10 = this.p49_1.bc(this_2, 0);
|
|
4723
|
+
tmp_1 = listOf_0(new Invocation(v.z48_1, tmp$ret$10));
|
|
4724
4724
|
}
|
|
4725
4725
|
tmp = tmp_1;
|
|
4726
4726
|
} else {
|
|
@@ -4737,39 +4737,39 @@ protoOf(OptionWithValuesImpl).w43 = function (context, invocations) {
|
|
|
4737
4737
|
while (tmp0_iterator_2.h()) {
|
|
4738
4738
|
var item_1 = tmp0_iterator_2.i();
|
|
4739
4739
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4740
|
-
var tc = new OptionCallTransformContext(item_1.
|
|
4740
|
+
var tc = new OptionCallTransformContext(item_1.e4a_1, this, context);
|
|
4741
4741
|
// Inline function 'kotlin.collections.map' call
|
|
4742
|
-
var this_3 = item_1.
|
|
4742
|
+
var this_3 = item_1.f4a_1;
|
|
4743
4743
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4744
4744
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_3, 10));
|
|
4745
4745
|
var tmp0_iterator_3 = this_3.g();
|
|
4746
4746
|
while (tmp0_iterator_3.h()) {
|
|
4747
4747
|
var item_2 = tmp0_iterator_3.i();
|
|
4748
4748
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4749
|
-
var tmp$ret$11 = this.
|
|
4749
|
+
var tmp$ret$11 = this.v49_1(tc, item_2);
|
|
4750
4750
|
destination_3.e(tmp$ret$11);
|
|
4751
4751
|
}
|
|
4752
|
-
var tmp$ret$14 = this.
|
|
4752
|
+
var tmp$ret$14 = this.w49_1(tc, destination_3);
|
|
4753
4753
|
destination_2.e(tmp$ret$14);
|
|
4754
4754
|
}
|
|
4755
|
-
this.
|
|
4755
|
+
this.f48(this.x49_1(tmp_2, destination_2));
|
|
4756
4756
|
};
|
|
4757
|
-
protoOf(OptionWithValuesImpl).
|
|
4758
|
-
this.
|
|
4759
|
-
thisRef.
|
|
4757
|
+
protoOf(OptionWithValuesImpl).v48 = function (thisRef, property) {
|
|
4758
|
+
this.c4a_1 = inferOptionNames(this.c4a_1, property.callableName);
|
|
4759
|
+
thisRef.m3y(this);
|
|
4760
4760
|
return this;
|
|
4761
4761
|
};
|
|
4762
|
-
protoOf(OptionWithValuesImpl).
|
|
4763
|
-
return this.
|
|
4762
|
+
protoOf(OptionWithValuesImpl).r47 = function (thisRef, property) {
|
|
4763
|
+
return this.v48((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4764
4764
|
};
|
|
4765
|
-
protoOf(OptionWithValuesImpl).
|
|
4766
|
-
this.
|
|
4765
|
+
protoOf(OptionWithValuesImpl).k47 = function (context) {
|
|
4766
|
+
this.y49_1(new OptionTransformContext(this, context), this.b1());
|
|
4767
4767
|
};
|
|
4768
|
-
protoOf(OptionWithValuesImpl).
|
|
4768
|
+
protoOf(OptionWithValuesImpl).g49 = function (transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4769
4769
|
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, validator);
|
|
4770
4770
|
};
|
|
4771
|
-
protoOf(OptionWithValuesImpl).
|
|
4772
|
-
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.
|
|
4771
|
+
protoOf(OptionWithValuesImpl).h49 = function (validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4772
|
+
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.v49_1, this.w49_1, this.x49_1, validator);
|
|
4773
4773
|
};
|
|
4774
4774
|
protoOf(OptionWithValuesImpl).toString = function () {
|
|
4775
4775
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -4808,8 +4808,8 @@ protoOf(OptionWithValuesImpl).toString = function () {
|
|
|
4808
4808
|
}
|
|
4809
4809
|
return this_0.toString();
|
|
4810
4810
|
};
|
|
4811
|
-
protoOf(OptionWithValuesImpl).
|
|
4812
|
-
return this.
|
|
4811
|
+
protoOf(OptionWithValuesImpl).l48 = function (thisRef, property) {
|
|
4812
|
+
return this.w48((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4813
4813
|
};
|
|
4814
4814
|
function defaultEachProcessor() {
|
|
4815
4815
|
return defaultEachProcessor$lambda;
|
|
@@ -4846,14 +4846,14 @@ function value$factory_1() {
|
|
|
4846
4846
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4847
4847
|
return receiver.b1();
|
|
4848
4848
|
}, function (receiver, value) {
|
|
4849
|
-
return receiver.
|
|
4849
|
+
return receiver.f48(value);
|
|
4850
4850
|
});
|
|
4851
4851
|
}
|
|
4852
4852
|
function value$factory_2() {
|
|
4853
4853
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4854
4854
|
return receiver.b1();
|
|
4855
4855
|
}, function (receiver, value) {
|
|
4856
|
-
return receiver.
|
|
4856
|
+
return receiver.f48(value);
|
|
4857
4857
|
});
|
|
4858
4858
|
}
|
|
4859
4859
|
function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
@@ -4861,11 +4861,11 @@ function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
|
4861
4861
|
return transformAll_0(_this__u8e3s4, defaultForHelp, VOID, default$lambda(value));
|
|
4862
4862
|
}
|
|
4863
4863
|
function transformAll_0(_this__u8e3s4, defaultForHelp, showAsRequired, transform) {
|
|
4864
|
-
defaultForHelp = defaultForHelp === VOID ? _this__u8e3s4.
|
|
4864
|
+
defaultForHelp = defaultForHelp === VOID ? _this__u8e3s4.m40().g2('default') : defaultForHelp;
|
|
4865
4865
|
var tmp;
|
|
4866
4866
|
if (showAsRequired === VOID) {
|
|
4867
4867
|
// Inline function 'kotlin.collections.contains' call
|
|
4868
|
-
var this_0 = _this__u8e3s4.
|
|
4868
|
+
var this_0 = _this__u8e3s4.m40();
|
|
4869
4869
|
// Inline function 'kotlin.collections.containsKey' call
|
|
4870
4870
|
var key = 'required';
|
|
4871
4871
|
tmp = (isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).f2(key);
|
|
@@ -4873,7 +4873,7 @@ function transformAll_0(_this__u8e3s4, defaultForHelp, showAsRequired, transform
|
|
|
4873
4873
|
tmp = showAsRequired;
|
|
4874
4874
|
}
|
|
4875
4875
|
showAsRequired = tmp;
|
|
4876
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
4876
|
+
var tags = toMutableMap(_this__u8e3s4.m40());
|
|
4877
4877
|
if (showAsRequired) {
|
|
4878
4878
|
// Inline function 'kotlin.collections.set' call
|
|
4879
4879
|
var key_0 = 'required';
|
|
@@ -4887,7 +4887,7 @@ function transformAll_0(_this__u8e3s4, defaultForHelp, showAsRequired, transform
|
|
|
4887
4887
|
} else {
|
|
4888
4888
|
tags.o2('default');
|
|
4889
4889
|
}
|
|
4890
|
-
return _this__u8e3s4.
|
|
4890
|
+
return _this__u8e3s4.p48(_this__u8e3s4.m47(), _this__u8e3s4.o48(), transform, defaultValidator_0(), VOID, VOID, VOID, VOID, VOID, tags);
|
|
4891
4891
|
}
|
|
4892
4892
|
function multiple(_this__u8e3s4, default_0, required) {
|
|
4893
4893
|
default_0 = default_0 === VOID ? emptyList() : default_0;
|
|
@@ -4904,7 +4904,7 @@ function multiple$lambda($required, $default) {
|
|
|
4904
4904
|
return function ($this$transformAll, it) {
|
|
4905
4905
|
var tmp;
|
|
4906
4906
|
if (it.l() && $required) {
|
|
4907
|
-
throw new MissingOption($this$transformAll.
|
|
4907
|
+
throw new MissingOption($this$transformAll.b3y_1);
|
|
4908
4908
|
} else if (it.l() && !$required) {
|
|
4909
4909
|
tmp = $default;
|
|
4910
4910
|
} else {
|
|
@@ -4935,34 +4935,34 @@ function transformValues(_this__u8e3s4, nvalues, transform) {
|
|
|
4935
4935
|
var message_1 = 'Cannot set nvalues = 1. Use convert() instead.';
|
|
4936
4936
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
4937
4937
|
}
|
|
4938
|
-
var tmp = _this__u8e3s4.
|
|
4938
|
+
var tmp = _this__u8e3s4.m47();
|
|
4939
4939
|
var tmp_0 = defaultAllProcessor_0();
|
|
4940
4940
|
var tmp_1 = defaultValidator_0();
|
|
4941
4941
|
var tmp_2;
|
|
4942
4942
|
if (nvalues.equals(numberRangeToNumber(0, 0))) {
|
|
4943
4943
|
tmp_2 = transformValues$lambda;
|
|
4944
4944
|
} else {
|
|
4945
|
-
tmp_2 = _this__u8e3s4.
|
|
4945
|
+
tmp_2 = _this__u8e3s4.e49();
|
|
4946
4946
|
}
|
|
4947
|
-
return _this__u8e3s4.
|
|
4947
|
+
return _this__u8e3s4.p48(tmp, transform, tmp_0, tmp_1, VOID, tmp_2, nvalues);
|
|
4948
4948
|
}
|
|
4949
4949
|
function transformValues$lambda($this$null) {
|
|
4950
4950
|
return null;
|
|
4951
4951
|
}
|
|
4952
4952
|
function HelpTransformContext(context) {
|
|
4953
|
-
this.
|
|
4953
|
+
this.h4a_1 = context;
|
|
4954
4954
|
}
|
|
4955
4955
|
protoOf(HelpTransformContext).z8 = function () {
|
|
4956
|
-
return this.
|
|
4956
|
+
return this.h4a_1;
|
|
4957
4957
|
};
|
|
4958
|
-
protoOf(HelpTransformContext).
|
|
4958
|
+
protoOf(HelpTransformContext).u47 = function (message) {
|
|
4959
4959
|
throw new UsageError(message);
|
|
4960
4960
|
};
|
|
4961
4961
|
protoOf(HelpTransformContext).toString = function () {
|
|
4962
|
-
return 'HelpTransformContext(context=' + toString_0(this.
|
|
4962
|
+
return 'HelpTransformContext(context=' + toString_0(this.h4a_1) + ')';
|
|
4963
4963
|
};
|
|
4964
4964
|
protoOf(HelpTransformContext).hashCode = function () {
|
|
4965
|
-
return hashCode(this.
|
|
4965
|
+
return hashCode(this.h4a_1);
|
|
4966
4966
|
};
|
|
4967
4967
|
protoOf(HelpTransformContext).equals = function (other) {
|
|
4968
4968
|
if (this === other)
|
|
@@ -4970,7 +4970,7 @@ protoOf(HelpTransformContext).equals = function (other) {
|
|
|
4970
4970
|
if (!(other instanceof HelpTransformContext))
|
|
4971
4971
|
return false;
|
|
4972
4972
|
var tmp0_other_with_cast = other instanceof HelpTransformContext ? other : THROW_CCE();
|
|
4973
|
-
if (!equals(this.
|
|
4973
|
+
if (!equals(this.h4a_1, tmp0_other_with_cast.h4a_1))
|
|
4974
4974
|
return false;
|
|
4975
4975
|
return true;
|
|
4976
4976
|
};
|
|
@@ -4983,10 +4983,10 @@ function boolean(_this__u8e3s4) {
|
|
|
4983
4983
|
var tmp = defaultEachProcessor();
|
|
4984
4984
|
var tmp_0 = defaultAllProcessor_0();
|
|
4985
4985
|
var tmp_1 = defaultValidator_0();
|
|
4986
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
4986
|
+
var tmp0_elvis_lhs = _this__u8e3s4.e49();
|
|
4987
4987
|
var tmp_2 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
4988
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
4989
|
-
return _this__u8e3s4.
|
|
4988
|
+
var tmp1_elvis_lhs = _this__u8e3s4.o47();
|
|
4989
|
+
return _this__u8e3s4.p48(valueTransform, tmp, tmp_0, tmp_1, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
|
|
4990
4990
|
}
|
|
4991
4991
|
function valueToBool(_this__u8e3s4, value) {
|
|
4992
4992
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5010,7 +5010,7 @@ function valueToBool(_this__u8e3s4, value) {
|
|
|
5010
5010
|
tmp = false;
|
|
5011
5011
|
break;
|
|
5012
5012
|
default:
|
|
5013
|
-
_this__u8e3s4.
|
|
5013
|
+
_this__u8e3s4.u47(_this__u8e3s4.z8().d3x_1.y44(value));
|
|
5014
5014
|
break;
|
|
5015
5015
|
}
|
|
5016
5016
|
return tmp;
|
|
@@ -5025,18 +5025,18 @@ function boolean$lambda_0($this) {
|
|
|
5025
5025
|
var tmp;
|
|
5026
5026
|
try {
|
|
5027
5027
|
// Inline function 'com.github.ajalt.clikt.parameters.types.boolean.<anonymous>' call
|
|
5028
|
-
var it_0 = $this.
|
|
5028
|
+
var it_0 = $this.m47()($this$null, it);
|
|
5029
5029
|
tmp = valueToBool($this$null, it_0);
|
|
5030
5030
|
} catch ($p) {
|
|
5031
5031
|
var tmp_0;
|
|
5032
5032
|
if ($p instanceof UsageError) {
|
|
5033
5033
|
var err = $p;
|
|
5034
5034
|
var tmp_1 = err;
|
|
5035
|
-
var tmp0_elvis_lhs = err.
|
|
5035
|
+
var tmp0_elvis_lhs = err.b41_1;
|
|
5036
5036
|
var tmp_2;
|
|
5037
5037
|
if (tmp0_elvis_lhs == null) {
|
|
5038
5038
|
// Inline function 'kotlin.takeUnless' call
|
|
5039
|
-
var this_0 = $this$null.
|
|
5039
|
+
var this_0 = $this$null.r48_1;
|
|
5040
5040
|
// Inline function 'kotlin.contracts.contract' call
|
|
5041
5041
|
var tmp_3;
|
|
5042
5042
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
@@ -5051,13 +5051,13 @@ function boolean$lambda_0($this) {
|
|
|
5051
5051
|
tmp_2 = tmp0_elvis_lhs;
|
|
5052
5052
|
}
|
|
5053
5053
|
var tmp1_elvis_lhs = tmp_2;
|
|
5054
|
-
tmp_1.
|
|
5054
|
+
tmp_1.b41_1 = tmp1_elvis_lhs == null ? longestName($this$null.s48_1) : tmp1_elvis_lhs;
|
|
5055
5055
|
throw err;
|
|
5056
5056
|
} else {
|
|
5057
5057
|
if ($p instanceof Exception) {
|
|
5058
5058
|
var err_0 = $p;
|
|
5059
5059
|
var tmp2_elvis_lhs = err_0.message;
|
|
5060
|
-
$this$null.
|
|
5060
|
+
$this$null.u47(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
5061
5061
|
} else {
|
|
5062
5062
|
throw $p;
|
|
5063
5063
|
}
|
|
@@ -5108,16 +5108,16 @@ function choice(_this__u8e3s4, choices, metavar, ignoreCase) {
|
|
|
5108
5108
|
var tmp_1 = defaultEachProcessor();
|
|
5109
5109
|
var tmp_2 = defaultAllProcessor_0();
|
|
5110
5110
|
var tmp_3 = defaultValidator_0();
|
|
5111
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5111
|
+
var tmp0_elvis_lhs = _this__u8e3s4.e49();
|
|
5112
5112
|
var tmp_4 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
5113
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
5114
|
-
return _this__u8e3s4.
|
|
5113
|
+
var tmp1_elvis_lhs = _this__u8e3s4.o47();
|
|
5114
|
+
return _this__u8e3s4.p48(valueTransform, tmp_1, tmp_2, tmp_3, VOID, tmp_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? completionCandidates : tmp1_elvis_lhs);
|
|
5115
5115
|
}
|
|
5116
5116
|
function mvar(choices) {
|
|
5117
5117
|
return joinToString(choices, '|', '(', ')');
|
|
5118
5118
|
}
|
|
5119
5119
|
function errorMessage(context, choice, choices) {
|
|
5120
|
-
return context.
|
|
5120
|
+
return context.d3x_1.z44(choice, toList_0(choices.h2()));
|
|
5121
5121
|
}
|
|
5122
5122
|
function choice_0(_this__u8e3s4, choices, ignoreCase) {
|
|
5123
5123
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -5156,8 +5156,8 @@ function choice_0(_this__u8e3s4, choices, ignoreCase) {
|
|
|
5156
5156
|
var conv = choice$lambda_1(_this__u8e3s4, c, ignoreCase, choices);
|
|
5157
5157
|
var tmp_1 = defaultAllProcessor();
|
|
5158
5158
|
var tmp_2 = defaultValidator();
|
|
5159
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5160
|
-
return _this__u8e3s4.
|
|
5159
|
+
var tmp0_elvis_lhs = _this__u8e3s4.o47();
|
|
5160
|
+
return _this__u8e3s4.q47(conv, tmp_1, tmp_2, VOID, VOID, VOID, VOID, VOID, tmp0_elvis_lhs == null ? completionCandidates : tmp0_elvis_lhs);
|
|
5161
5161
|
}
|
|
5162
5162
|
function choice$lambda($metavar) {
|
|
5163
5163
|
return function ($this$convert) {
|
|
@@ -5169,7 +5169,7 @@ function choice$lambda_0($this, $c, $ignoreCase, $choices) {
|
|
|
5169
5169
|
var tmp;
|
|
5170
5170
|
try {
|
|
5171
5171
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5172
|
-
var it_0 = $this.
|
|
5172
|
+
var it_0 = $this.m47()($this$null, it);
|
|
5173
5173
|
var tmp_0;
|
|
5174
5174
|
if ($ignoreCase) {
|
|
5175
5175
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5181,7 +5181,7 @@ function choice$lambda_0($this, $c, $ignoreCase, $choices) {
|
|
|
5181
5181
|
var tmp0_elvis_lhs = $c.g2(tmp_0);
|
|
5182
5182
|
var tmp_1;
|
|
5183
5183
|
if (tmp0_elvis_lhs == null) {
|
|
5184
|
-
$this$null.
|
|
5184
|
+
$this$null.u47(errorMessage($this$null.t48_1, it_0, $choices));
|
|
5185
5185
|
} else {
|
|
5186
5186
|
tmp_1 = tmp0_elvis_lhs;
|
|
5187
5187
|
}
|
|
@@ -5191,11 +5191,11 @@ function choice$lambda_0($this, $c, $ignoreCase, $choices) {
|
|
|
5191
5191
|
if ($p instanceof UsageError) {
|
|
5192
5192
|
var err = $p;
|
|
5193
5193
|
var tmp_3 = err;
|
|
5194
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5194
|
+
var tmp0_elvis_lhs_0 = err.b41_1;
|
|
5195
5195
|
var tmp_4;
|
|
5196
5196
|
if (tmp0_elvis_lhs_0 == null) {
|
|
5197
5197
|
// Inline function 'kotlin.takeUnless' call
|
|
5198
|
-
var this_0 = $this$null.
|
|
5198
|
+
var this_0 = $this$null.r48_1;
|
|
5199
5199
|
// Inline function 'kotlin.contracts.contract' call
|
|
5200
5200
|
var tmp_5;
|
|
5201
5201
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
@@ -5210,13 +5210,13 @@ function choice$lambda_0($this, $c, $ignoreCase, $choices) {
|
|
|
5210
5210
|
tmp_4 = tmp0_elvis_lhs_0;
|
|
5211
5211
|
}
|
|
5212
5212
|
var tmp1_elvis_lhs = tmp_4;
|
|
5213
|
-
tmp_3.
|
|
5213
|
+
tmp_3.b41_1 = tmp1_elvis_lhs == null ? longestName($this$null.s48_1) : tmp1_elvis_lhs;
|
|
5214
5214
|
throw err;
|
|
5215
5215
|
} else {
|
|
5216
5216
|
if ($p instanceof Exception) {
|
|
5217
5217
|
var err_0 = $p;
|
|
5218
5218
|
var tmp2_elvis_lhs = err_0.message;
|
|
5219
|
-
$this$null.
|
|
5219
|
+
$this$null.u47(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
5220
5220
|
} else {
|
|
5221
5221
|
throw $p;
|
|
5222
5222
|
}
|
|
@@ -5231,7 +5231,7 @@ function choice$lambda_1($this, $c, $ignoreCase, $choices) {
|
|
|
5231
5231
|
var tmp;
|
|
5232
5232
|
try {
|
|
5233
5233
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5234
|
-
var it_0 = $this.
|
|
5234
|
+
var it_0 = $this.m47()($this$null, it);
|
|
5235
5235
|
var tmp_0;
|
|
5236
5236
|
if ($ignoreCase) {
|
|
5237
5237
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5243,7 +5243,7 @@ function choice$lambda_1($this, $c, $ignoreCase, $choices) {
|
|
|
5243
5243
|
var tmp0_elvis_lhs = $c.g2(tmp_0);
|
|
5244
5244
|
var tmp_1;
|
|
5245
5245
|
if (tmp0_elvis_lhs == null) {
|
|
5246
|
-
$this$null.
|
|
5246
|
+
$this$null.u47(errorMessage($this$null.t47_1, it_0, $choices));
|
|
5247
5247
|
} else {
|
|
5248
5248
|
tmp_1 = tmp0_elvis_lhs;
|
|
5249
5249
|
}
|
|
@@ -5253,14 +5253,14 @@ function choice$lambda_1($this, $c, $ignoreCase, $choices) {
|
|
|
5253
5253
|
if ($p instanceof UsageError) {
|
|
5254
5254
|
var err = $p;
|
|
5255
5255
|
var tmp_3 = err;
|
|
5256
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5257
|
-
tmp_3.
|
|
5256
|
+
var tmp0_elvis_lhs_0 = err.b41_1;
|
|
5257
|
+
tmp_3.b41_1 = tmp0_elvis_lhs_0 == null ? $this$null.s47_1.s2() : tmp0_elvis_lhs_0;
|
|
5258
5258
|
throw err;
|
|
5259
5259
|
} else {
|
|
5260
5260
|
if ($p instanceof Exception) {
|
|
5261
5261
|
var err_0 = $p;
|
|
5262
5262
|
var tmp1_elvis_lhs = err_0.message;
|
|
5263
|
-
$this$null.
|
|
5263
|
+
$this$null.u47(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
5264
5264
|
} else {
|
|
5265
5265
|
throw $p;
|
|
5266
5266
|
}
|
|
@@ -5271,23 +5271,23 @@ function choice$lambda_1($this, $c, $ignoreCase, $choices) {
|
|
|
5271
5271
|
};
|
|
5272
5272
|
}
|
|
5273
5273
|
function Invocation(name, values) {
|
|
5274
|
-
this.
|
|
5275
|
-
this.
|
|
5274
|
+
this.e4a_1 = name;
|
|
5275
|
+
this.f4a_1 = values;
|
|
5276
5276
|
}
|
|
5277
|
-
protoOf(Invocation).
|
|
5277
|
+
protoOf(Invocation).i4a = function (name, values) {
|
|
5278
5278
|
return new Invocation(name, values);
|
|
5279
5279
|
};
|
|
5280
|
-
protoOf(Invocation).
|
|
5281
|
-
name = name === VOID ? this.
|
|
5282
|
-
values = values === VOID ? this.
|
|
5283
|
-
return $super === VOID ? this.
|
|
5280
|
+
protoOf(Invocation).g4a = function (name, values, $super) {
|
|
5281
|
+
name = name === VOID ? this.e4a_1 : name;
|
|
5282
|
+
values = values === VOID ? this.f4a_1 : values;
|
|
5283
|
+
return $super === VOID ? this.i4a(name, values) : $super.i4a.call(this, name, values);
|
|
5284
5284
|
};
|
|
5285
5285
|
protoOf(Invocation).toString = function () {
|
|
5286
|
-
return 'Invocation(name=' + this.
|
|
5286
|
+
return 'Invocation(name=' + this.e4a_1 + ', values=' + toString_0(this.f4a_1) + ')';
|
|
5287
5287
|
};
|
|
5288
5288
|
protoOf(Invocation).hashCode = function () {
|
|
5289
|
-
var result = getStringHashCode(this.
|
|
5290
|
-
result = imul(result, 31) + hashCode(this.
|
|
5289
|
+
var result = getStringHashCode(this.e4a_1);
|
|
5290
|
+
result = imul(result, 31) + hashCode(this.f4a_1) | 0;
|
|
5291
5291
|
return result;
|
|
5292
5292
|
};
|
|
5293
5293
|
protoOf(Invocation).equals = function (other) {
|
|
@@ -5296,18 +5296,18 @@ protoOf(Invocation).equals = function (other) {
|
|
|
5296
5296
|
if (!(other instanceof Invocation))
|
|
5297
5297
|
return false;
|
|
5298
5298
|
var tmp0_other_with_cast = other instanceof Invocation ? other : THROW_CCE();
|
|
5299
|
-
if (!(this.
|
|
5299
|
+
if (!(this.e4a_1 === tmp0_other_with_cast.e4a_1))
|
|
5300
5300
|
return false;
|
|
5301
|
-
if (!equals(this.
|
|
5301
|
+
if (!equals(this.f4a_1, tmp0_other_with_cast.f4a_1))
|
|
5302
5302
|
return false;
|
|
5303
5303
|
return true;
|
|
5304
5304
|
};
|
|
5305
5305
|
function parse($this, argv, context, canRun) {
|
|
5306
5306
|
var tokens = argv;
|
|
5307
|
-
var command = context.
|
|
5308
|
-
var aliases = command.
|
|
5307
|
+
var command = context.q3w_1;
|
|
5308
|
+
var aliases = command.p3x();
|
|
5309
5309
|
// Inline function 'kotlin.collections.associateBy' call
|
|
5310
|
-
var this_0 = command.
|
|
5310
|
+
var this_0 = command.f3w_1;
|
|
5311
5311
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
5312
5312
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
5313
5313
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
@@ -5315,7 +5315,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5315
5315
|
while (tmp0_iterator.h()) {
|
|
5316
5316
|
var element = tmp0_iterator.i();
|
|
5317
5317
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5318
|
-
var tmp$ret$0 = element.
|
|
5318
|
+
var tmp$ret$0 = element.c3w_1;
|
|
5319
5319
|
destination.n2(tmp$ret$0, element);
|
|
5320
5320
|
}
|
|
5321
5321
|
var subcommands = destination;
|
|
@@ -5323,7 +5323,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5323
5323
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
5324
5324
|
var optionsByName = LinkedHashMap_init_$Create$_0();
|
|
5325
5325
|
// Inline function 'kotlin.collections.find' call
|
|
5326
|
-
var this_1 = command.
|
|
5326
|
+
var this_1 = command.g3w_1;
|
|
5327
5327
|
var tmp$ret$5;
|
|
5328
5328
|
$l$block: {
|
|
5329
5329
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -5331,7 +5331,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5331
5331
|
while (tmp0_iterator_0.h()) {
|
|
5332
5332
|
var element_0 = tmp0_iterator_0.i();
|
|
5333
5333
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5334
|
-
if (element_0.
|
|
5334
|
+
if (element_0.l3y()) {
|
|
5335
5335
|
tmp$ret$5 = element_0;
|
|
5336
5336
|
break $l$block;
|
|
5337
5337
|
}
|
|
@@ -5339,7 +5339,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5339
5339
|
tmp$ret$5 = null;
|
|
5340
5340
|
}
|
|
5341
5341
|
var numberOption = tmp$ret$5;
|
|
5342
|
-
var arguments_0 = command.
|
|
5342
|
+
var arguments_0 = command.h3w_1;
|
|
5343
5343
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
5344
5344
|
var prefixes = LinkedHashSet_init_$Create$();
|
|
5345
5345
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
@@ -5347,11 +5347,11 @@ function parse($this, argv, context, canRun) {
|
|
|
5347
5347
|
var tmp$ret$10;
|
|
5348
5348
|
$l$block_0: {
|
|
5349
5349
|
// Inline function 'kotlin.sequences.any' call
|
|
5350
|
-
var tmp0_iterator_1 = context.
|
|
5350
|
+
var tmp0_iterator_1 = context.z3x().g();
|
|
5351
5351
|
while (tmp0_iterator_1.h()) {
|
|
5352
5352
|
var element_1 = tmp0_iterator_1.i();
|
|
5353
5353
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5354
|
-
if (element_1.
|
|
5354
|
+
if (element_1.q3w_1.z3v_1) {
|
|
5355
5355
|
tmp$ret$10 = true;
|
|
5356
5356
|
break $l$block_0;
|
|
5357
5357
|
}
|
|
@@ -5363,24 +5363,24 @@ function parse($this, argv, context, canRun) {
|
|
|
5363
5363
|
var positionalArgs = ArrayList_init_$Create$();
|
|
5364
5364
|
var subcommand = null;
|
|
5365
5365
|
var canParseOptions = true;
|
|
5366
|
-
var canExpandAtFiles = context.
|
|
5366
|
+
var canExpandAtFiles = context.s3z();
|
|
5367
5367
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5368
5368
|
var invocations = ArrayList_init_$Create$();
|
|
5369
5369
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5370
5370
|
var errors = ArrayList_init_$Create$();
|
|
5371
5371
|
var i = {_v: 0};
|
|
5372
5372
|
var minAliasI = 0;
|
|
5373
|
-
var tmp0_iterator_2 = command.
|
|
5373
|
+
var tmp0_iterator_2 = command.g3w_1.g();
|
|
5374
5374
|
while (tmp0_iterator_2.h()) {
|
|
5375
5375
|
var option = tmp0_iterator_2.i();
|
|
5376
5376
|
// Inline function 'kotlin.require' call
|
|
5377
5377
|
var tmp;
|
|
5378
5378
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5379
|
-
if (!option.
|
|
5379
|
+
if (!option.n3w().l()) {
|
|
5380
5380
|
tmp = true;
|
|
5381
5381
|
} else {
|
|
5382
5382
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5383
|
-
tmp = !option.
|
|
5383
|
+
tmp = !option.o3w().l();
|
|
5384
5384
|
}
|
|
5385
5385
|
// Inline function 'kotlin.contracts.contract' call
|
|
5386
5386
|
if (!tmp) {
|
|
@@ -5390,12 +5390,12 @@ function parse($this, argv, context, canRun) {
|
|
|
5390
5390
|
}
|
|
5391
5391
|
// Inline function 'kotlin.require' call
|
|
5392
5392
|
// Inline function 'kotlin.contracts.contract' call
|
|
5393
|
-
if (!(option.
|
|
5393
|
+
if (!(option.p40() || option.n3x().e1_1 <= 1)) {
|
|
5394
5394
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5395
5395
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
5396
5396
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5397
5397
|
}
|
|
5398
|
-
var tmp1_iterator = plus(option.
|
|
5398
|
+
var tmp1_iterator = plus(option.n3w(), option.o3w()).g();
|
|
5399
5399
|
while (tmp1_iterator.h()) {
|
|
5400
5400
|
var name = tmp1_iterator.i();
|
|
5401
5401
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -5410,12 +5410,12 @@ function parse($this, argv, context, canRun) {
|
|
|
5410
5410
|
}
|
|
5411
5411
|
}
|
|
5412
5412
|
prefixes.m2('');
|
|
5413
|
-
if (tokens.l() && command.
|
|
5413
|
+
if (tokens.l() && command.w3v_1) {
|
|
5414
5414
|
throw new PrintHelpMessage(context, true);
|
|
5415
5415
|
}
|
|
5416
5416
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
5417
5417
|
var tok = tokens.k(i._v);
|
|
5418
|
-
var normTok = context.
|
|
5418
|
+
var normTok = context.x3w_1(context, tok);
|
|
5419
5419
|
var prefix = splitOptionPrefix(tok).ee_1;
|
|
5420
5420
|
var tmp_0;
|
|
5421
5421
|
if (canExpandAtFiles && startsWith(tok, '@')) {
|
|
@@ -5443,8 +5443,8 @@ function parse($this, argv, context, canRun) {
|
|
|
5443
5443
|
canParseOptions = false;
|
|
5444
5444
|
canExpandAtFiles = false;
|
|
5445
5445
|
} else {
|
|
5446
|
-
if (canParseOptions && (prefix.length > 1 && prefixes.o1(prefix) || longNames.o1(normTok) || parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) || !context.
|
|
5447
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.
|
|
5446
|
+
if (canParseOptions && (prefix.length > 1 && prefixes.o1(prefix) || longNames.o1(normTok) || parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) || !context.s3w_1)) {
|
|
5447
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.a3w_1, context, tokens, tok, i._v, optionsByName, subcommandNames));
|
|
5448
5448
|
} else {
|
|
5449
5449
|
var tmp_1;
|
|
5450
5450
|
var tmp_2;
|
|
@@ -5460,7 +5460,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5460
5460
|
tmp_1 = false;
|
|
5461
5461
|
}
|
|
5462
5462
|
if (tmp_1) {
|
|
5463
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.
|
|
5463
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.a3w_1, context, tokens, tok, i._v, optionsByName, numberOption, subcommandNames));
|
|
5464
5464
|
} else {
|
|
5465
5465
|
var tmp_3;
|
|
5466
5466
|
if (i._v >= minAliasI) {
|
|
@@ -5482,7 +5482,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5482
5482
|
i._v = i._v + 1 | 0;
|
|
5483
5483
|
break loop;
|
|
5484
5484
|
} else {
|
|
5485
|
-
if (!context.
|
|
5485
|
+
if (!context.r3w_1)
|
|
5486
5486
|
canParseOptions = false;
|
|
5487
5487
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5488
5488
|
var element_4 = to(i._v, tokens.k(i._v));
|
|
@@ -5502,7 +5502,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5502
5502
|
while (tmp0_iterator_3.h()) {
|
|
5503
5503
|
var element_5 = tmp0_iterator_3.i();
|
|
5504
5504
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5505
|
-
var key = element_5.
|
|
5505
|
+
var key = element_5.j4a_1;
|
|
5506
5506
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5507
5507
|
var value = destination_0.g2(key);
|
|
5508
5508
|
var tmp_4;
|
|
@@ -5516,7 +5516,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5516
5516
|
}
|
|
5517
5517
|
var list = tmp_4;
|
|
5518
5518
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5519
|
-
var tmp$ret$28 = element_5.
|
|
5519
|
+
var tmp$ret$28 = element_5.m4a();
|
|
5520
5520
|
list.e(tmp$ret$28);
|
|
5521
5521
|
}
|
|
5522
5522
|
var invocationsByOption = destination_0;
|
|
@@ -5527,9 +5527,9 @@ function parse($this, argv, context, canRun) {
|
|
|
5527
5527
|
while (tmp0_iterator_4.h()) {
|
|
5528
5528
|
var element_6 = tmp0_iterator_4.i();
|
|
5529
5529
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5530
|
-
var tmp_5 = element_6.
|
|
5530
|
+
var tmp_5 = element_6.j4a_1;
|
|
5531
5531
|
var tmp0_safe_receiver = isInterface(tmp_5, GroupableOption) ? tmp_5 : null;
|
|
5532
|
-
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5532
|
+
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q40();
|
|
5533
5533
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5534
5534
|
var value_0 = destination_1.g2(key_0);
|
|
5535
5535
|
var tmp_6;
|
|
@@ -5565,7 +5565,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5565
5565
|
while (tmp0_iterator_6.h()) {
|
|
5566
5566
|
var element_8 = tmp0_iterator_6.i();
|
|
5567
5567
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5568
|
-
var key_1 = element_8.
|
|
5568
|
+
var key_1 = element_8.j4a_1;
|
|
5569
5569
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5570
5570
|
var value_1 = destination_3.g2(key_1);
|
|
5571
5571
|
var tmp_8;
|
|
@@ -5579,7 +5579,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5579
5579
|
}
|
|
5580
5580
|
var list_1 = tmp_8;
|
|
5581
5581
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5582
|
-
var tmp$ret$41 = element_8.
|
|
5582
|
+
var tmp$ret$41 = element_8.m4a();
|
|
5583
5583
|
list_1.e(tmp$ret$41);
|
|
5584
5584
|
}
|
|
5585
5585
|
var result = LinkedHashMap_init_$Create$_0();
|
|
@@ -5588,7 +5588,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5588
5588
|
while (tmp0_iterator_7.h()) {
|
|
5589
5589
|
var entry = tmp0_iterator_7.i();
|
|
5590
5590
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5591
|
-
if (!entry.a1().
|
|
5591
|
+
if (!entry.a1().o40()) {
|
|
5592
5592
|
result.n2(entry.a1(), entry.b1());
|
|
5593
5593
|
}
|
|
5594
5594
|
}
|
|
@@ -5597,16 +5597,16 @@ function parse($this, argv, context, canRun) {
|
|
|
5597
5597
|
var invocationsByOptionByGroup = destination_2;
|
|
5598
5598
|
// Inline function 'kotlin.collections.filter' call
|
|
5599
5599
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5600
|
-
var this_2 = command.
|
|
5600
|
+
var this_2 = command.g3w_1;
|
|
5601
5601
|
var destination_4 = ArrayList_init_$Create$();
|
|
5602
5602
|
var tmp0_iterator_8 = this_2.g();
|
|
5603
5603
|
while (tmp0_iterator_8.h()) {
|
|
5604
5604
|
var element_9 = tmp0_iterator_8.i();
|
|
5605
5605
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5606
5606
|
var tmp_9;
|
|
5607
|
-
if (!element_9.
|
|
5607
|
+
if (!element_9.o40()) {
|
|
5608
5608
|
var tmp0_safe_receiver_0 = isInterface(element_9, GroupableOption) ? element_9 : null;
|
|
5609
|
-
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
5609
|
+
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.q40()) == null;
|
|
5610
5610
|
} else {
|
|
5611
5611
|
tmp_9 = false;
|
|
5612
5612
|
}
|
|
@@ -5634,16 +5634,16 @@ function parse($this, argv, context, canRun) {
|
|
|
5634
5634
|
} catch ($p) {
|
|
5635
5635
|
if ($p instanceof UsageError) {
|
|
5636
5636
|
var e = $p;
|
|
5637
|
-
e.
|
|
5637
|
+
e.d41(context);
|
|
5638
5638
|
throw e;
|
|
5639
5639
|
} else {
|
|
5640
5640
|
throw $p;
|
|
5641
5641
|
}
|
|
5642
5642
|
}
|
|
5643
5643
|
if (!(subcommand == null)) {
|
|
5644
|
-
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.
|
|
5644
|
+
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.m3w(), true);
|
|
5645
5645
|
var tmp_11;
|
|
5646
|
-
if (command.
|
|
5646
|
+
if (command.z3v_1) {
|
|
5647
5647
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5648
5648
|
tmp_11 = !nextTokens.l();
|
|
5649
5649
|
} else {
|
|
@@ -5655,7 +5655,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5655
5655
|
return nextTokens;
|
|
5656
5656
|
}
|
|
5657
5657
|
}finally {
|
|
5658
|
-
context.
|
|
5658
|
+
context.r3z();
|
|
5659
5659
|
}
|
|
5660
5660
|
return drop_0(tokens, i._v);
|
|
5661
5661
|
}
|
|
@@ -5671,13 +5671,13 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5671
5671
|
var o = element.a1();
|
|
5672
5672
|
// Inline function 'kotlin.collections.component2' call
|
|
5673
5673
|
var inv = element.b1();
|
|
5674
|
-
if (o.
|
|
5675
|
-
o.
|
|
5676
|
-
o.
|
|
5674
|
+
if (o.o40()) {
|
|
5675
|
+
o.v43(context, inv);
|
|
5676
|
+
o.k47(context);
|
|
5677
5677
|
}
|
|
5678
5678
|
}
|
|
5679
5679
|
var argsParseResult = parseArguments($this, nextArgvI, positionalArgs, arguments_0);
|
|
5680
|
-
var tmp0_safe_receiver = argsParseResult.
|
|
5680
|
+
var tmp0_safe_receiver = argsParseResult.p4a_1;
|
|
5681
5681
|
if (tmp0_safe_receiver == null)
|
|
5682
5682
|
null;
|
|
5683
5683
|
else {
|
|
@@ -5685,9 +5685,9 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5685
5685
|
// Inline function 'kotlin.contracts.contract' call
|
|
5686
5686
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5687
5687
|
errors.e(tmp0_safe_receiver);
|
|
5688
|
-
context.
|
|
5688
|
+
context.i3x_1 = true;
|
|
5689
5689
|
}
|
|
5690
|
-
var excessResult = handleExcessArguments($this, argsParseResult.
|
|
5690
|
+
var excessResult = handleExcessArguments($this, argsParseResult.n4a_1, hasMultipleSubAncestor, nextArgvI, tokens, subcommands, positionalArgs, context);
|
|
5691
5691
|
var tmp1_safe_receiver = excessResult.fe_1;
|
|
5692
5692
|
if (tmp1_safe_receiver == null)
|
|
5693
5693
|
null;
|
|
@@ -5696,7 +5696,7 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5696
5696
|
// Inline function 'kotlin.contracts.contract' call
|
|
5697
5697
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5698
5698
|
errors.e(tmp1_safe_receiver);
|
|
5699
|
-
context.
|
|
5699
|
+
context.i3x_1 = true;
|
|
5700
5700
|
}
|
|
5701
5701
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5702
5702
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
@@ -5708,7 +5708,7 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5708
5708
|
while (tmp0_iterator_0.h()) {
|
|
5709
5709
|
var element_0 = tmp0_iterator_0.i();
|
|
5710
5710
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5711
|
-
if (element_0.
|
|
5711
|
+
if (element_0.s4a_1) {
|
|
5712
5712
|
destination.e(element_0);
|
|
5713
5713
|
}
|
|
5714
5714
|
}
|
|
@@ -5731,7 +5731,7 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5731
5731
|
while (tmp0_iterator_1.h()) {
|
|
5732
5732
|
var item = tmp0_iterator_1.i();
|
|
5733
5733
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5734
|
-
var tmp$ret$13 = item.
|
|
5734
|
+
var tmp$ret$13 = item.q4a_1;
|
|
5735
5735
|
destination_0.e(tmp$ret$13);
|
|
5736
5736
|
}
|
|
5737
5737
|
var usageErrors = destination_0;
|
|
@@ -5739,18 +5739,18 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5739
5739
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5740
5740
|
try {
|
|
5741
5741
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5742
|
-
finalizeParameters(context, ungroupedOptions, command.
|
|
5742
|
+
finalizeParameters(context, ungroupedOptions, command.i3w_1, invocationsByOptionByGroup, argsParseResult.o4a_1);
|
|
5743
5743
|
} catch ($p) {
|
|
5744
5744
|
if ($p instanceof UsageError) {
|
|
5745
5745
|
var e = $p;
|
|
5746
5746
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5747
5747
|
usageErrors.e(e);
|
|
5748
|
-
context.
|
|
5748
|
+
context.i3x_1 = true;
|
|
5749
5749
|
} else {
|
|
5750
5750
|
throw $p;
|
|
5751
5751
|
}
|
|
5752
5752
|
}
|
|
5753
|
-
var tmp2_safe_receiver = Companion_instance_1.
|
|
5753
|
+
var tmp2_safe_receiver = Companion_instance_1.i41(usageErrors);
|
|
5754
5754
|
if (tmp2_safe_receiver == null)
|
|
5755
5755
|
null;
|
|
5756
5756
|
else {
|
|
@@ -5766,59 +5766,59 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5766
5766
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5767
5767
|
try {
|
|
5768
5768
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5769
|
-
element_1.
|
|
5769
|
+
element_1.k47(context);
|
|
5770
5770
|
} catch ($p) {
|
|
5771
5771
|
if ($p instanceof UsageError) {
|
|
5772
5772
|
var e_0 = $p;
|
|
5773
5773
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5774
5774
|
usageErrors.e(e_0);
|
|
5775
|
-
context.
|
|
5775
|
+
context.i3x_1 = true;
|
|
5776
5776
|
} else {
|
|
5777
5777
|
throw $p;
|
|
5778
5778
|
}
|
|
5779
5779
|
}
|
|
5780
5780
|
}
|
|
5781
5781
|
// Inline function 'kotlin.collections.forEach' call
|
|
5782
|
-
var tmp0_iterator_3 = command.
|
|
5782
|
+
var tmp0_iterator_3 = command.i3w_1.g();
|
|
5783
5783
|
while (tmp0_iterator_3.h()) {
|
|
5784
5784
|
var element_2 = tmp0_iterator_3.i();
|
|
5785
5785
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5786
5786
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5787
5787
|
try {
|
|
5788
5788
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5789
|
-
element_2.
|
|
5789
|
+
element_2.k47(context);
|
|
5790
5790
|
} catch ($p) {
|
|
5791
5791
|
if ($p instanceof UsageError) {
|
|
5792
5792
|
var e_1 = $p;
|
|
5793
5793
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5794
5794
|
usageErrors.e(e_1);
|
|
5795
|
-
context.
|
|
5795
|
+
context.i3x_1 = true;
|
|
5796
5796
|
} else {
|
|
5797
5797
|
throw $p;
|
|
5798
5798
|
}
|
|
5799
5799
|
}
|
|
5800
5800
|
}
|
|
5801
5801
|
// Inline function 'kotlin.collections.forEach' call
|
|
5802
|
-
var tmp0_iterator_4 = command.
|
|
5802
|
+
var tmp0_iterator_4 = command.h3w_1.g();
|
|
5803
5803
|
while (tmp0_iterator_4.h()) {
|
|
5804
5804
|
var element_3 = tmp0_iterator_4.i();
|
|
5805
5805
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5806
5806
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5807
5807
|
try {
|
|
5808
5808
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5809
|
-
element_3.
|
|
5809
|
+
element_3.k47(context);
|
|
5810
5810
|
} catch ($p) {
|
|
5811
5811
|
if ($p instanceof UsageError) {
|
|
5812
5812
|
var e_2 = $p;
|
|
5813
5813
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5814
5814
|
usageErrors.e(e_2);
|
|
5815
|
-
context.
|
|
5815
|
+
context.i3x_1 = true;
|
|
5816
5816
|
} else {
|
|
5817
5817
|
throw $p;
|
|
5818
5818
|
}
|
|
5819
5819
|
}
|
|
5820
5820
|
}
|
|
5821
|
-
var tmp3_safe_receiver = Companion_instance_1.
|
|
5821
|
+
var tmp3_safe_receiver = Companion_instance_1.i41(usageErrors);
|
|
5822
5822
|
if (tmp3_safe_receiver == null)
|
|
5823
5823
|
null;
|
|
5824
5824
|
else {
|
|
@@ -5835,22 +5835,22 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5835
5835
|
tmp_2 = false;
|
|
5836
5836
|
}
|
|
5837
5837
|
if (tmp_2) {
|
|
5838
|
-
tmp_1 = !command.
|
|
5838
|
+
tmp_1 = !command.v3v_1;
|
|
5839
5839
|
} else {
|
|
5840
5840
|
tmp_1 = false;
|
|
5841
5841
|
}
|
|
5842
5842
|
if (tmp_1) {
|
|
5843
5843
|
throw new PrintHelpMessage(context, true);
|
|
5844
5844
|
}
|
|
5845
|
-
command.
|
|
5846
|
-
if (command.
|
|
5847
|
-
var tmp4_iterator = command.
|
|
5845
|
+
command.m3w().h3x_1 = subcommand;
|
|
5846
|
+
if (command.m3w().u3w_1) {
|
|
5847
|
+
var tmp4_iterator = command.j3y().g();
|
|
5848
5848
|
while (tmp4_iterator.h()) {
|
|
5849
5849
|
var warning = tmp4_iterator.i();
|
|
5850
|
-
get_terminal(command).
|
|
5850
|
+
get_terminal(command).a3t(warning, VOID, VOID, VOID, VOID, true);
|
|
5851
5851
|
}
|
|
5852
5852
|
}
|
|
5853
|
-
command.
|
|
5853
|
+
command.z3y();
|
|
5854
5854
|
return nextArgvI;
|
|
5855
5855
|
}
|
|
5856
5856
|
function handleExcessArguments($this, excess, hasMultipleSubAncestor, i, tokens, subcommands, positionalArgs, context) {
|
|
@@ -5868,7 +5868,7 @@ function handleExcessArguments($this, excess, hasMultipleSubAncestor, i, tokens,
|
|
|
5868
5868
|
}
|
|
5869
5869
|
if (tmp_0) {
|
|
5870
5870
|
var actual = last(positionalArgs).fe_1;
|
|
5871
|
-
throw new NoSuchSubcommand(actual, context.
|
|
5871
|
+
throw new NoSuchSubcommand(actual, context.c3x_1(actual, toList_0(subcommands.h2())));
|
|
5872
5872
|
} else {
|
|
5873
5873
|
tmp = to(-1, new Err(excessArgsError($this, positionalArgs, excess, context), i, false));
|
|
5874
5874
|
}
|
|
@@ -5895,7 +5895,7 @@ function parseLongOpt($this, ignoreUnknown, context, tokens, tok, index, options
|
|
|
5895
5895
|
var tmp0_container = tmp;
|
|
5896
5896
|
var name = tmp0_container.sd();
|
|
5897
5897
|
var attachedValue = tmp0_container.td();
|
|
5898
|
-
name = context.
|
|
5898
|
+
name = context.x3w_1(context, name);
|
|
5899
5899
|
var tmp1_elvis_lhs = optionsByName.g2(name);
|
|
5900
5900
|
var tmp_1;
|
|
5901
5901
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -5912,11 +5912,11 @@ function parseLongOpt($this, ignoreUnknown, context, tokens, tok, index, options
|
|
|
5912
5912
|
while (tmp0_iterator.h()) {
|
|
5913
5913
|
var element = tmp0_iterator.i();
|
|
5914
5914
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseLongOpt.<anonymous>' call
|
|
5915
|
-
if (!element.b1().
|
|
5915
|
+
if (!element.b1().l3x()) {
|
|
5916
5916
|
destination.n2(element.a1(), element.b1());
|
|
5917
5917
|
}
|
|
5918
5918
|
}
|
|
5919
|
-
var possibilities = context.
|
|
5919
|
+
var possibilities = context.c3x_1(tmp_3, toList_0(destination.h2()));
|
|
5920
5920
|
return new OptParseResult(1, VOID, VOID, new Err(new NoSuchOption(name, possibilities), index));
|
|
5921
5921
|
}
|
|
5922
5922
|
} else {
|
|
@@ -5931,7 +5931,7 @@ function parseOptValues($this, option, name, ignoreUnknown, tokens, index, attac
|
|
|
5931
5931
|
if (!(attachedValue == null)) {
|
|
5932
5932
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5933
5933
|
values.e(attachedValue);
|
|
5934
|
-
} else if (!option.
|
|
5934
|
+
} else if (!option.p40()) {
|
|
5935
5935
|
return OptParseResult_init_$Create$_0(1, option, name, emptyList());
|
|
5936
5936
|
}
|
|
5937
5937
|
var inductionVariable = index + 1 | 0;
|
|
@@ -5941,10 +5941,10 @@ function parseOptValues($this, option, name, ignoreUnknown, tokens, index, attac
|
|
|
5941
5941
|
var i = inductionVariable;
|
|
5942
5942
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5943
5943
|
var tok = tokens.k(i);
|
|
5944
|
-
if (values.j() >= option.
|
|
5944
|
+
if (values.j() >= option.n3x().e1_1)
|
|
5945
5945
|
break $l$loop_0;
|
|
5946
5946
|
var tmp;
|
|
5947
|
-
if (values.j() >= option.
|
|
5947
|
+
if (values.j() >= option.n3x().d1_1) {
|
|
5948
5948
|
var tmp_0;
|
|
5949
5949
|
var tmp_1;
|
|
5950
5950
|
var tmp_2;
|
|
@@ -5985,7 +5985,7 @@ function parseOptValues($this, option, name, ignoreUnknown, tokens, index, attac
|
|
|
5985
5985
|
}
|
|
5986
5986
|
while (!(i === last));
|
|
5987
5987
|
var consumed = values.j() + (attachedValue == null ? 1 : 0) | 0;
|
|
5988
|
-
var progression = option.
|
|
5988
|
+
var progression = option.n3x();
|
|
5989
5989
|
var containsLower = progression.d1_1;
|
|
5990
5990
|
var containsUpper = progression.e1_1;
|
|
5991
5991
|
var containsArg = values.j();
|
|
@@ -6031,7 +6031,7 @@ function parseShortOpt($this, ignoreUnknown, context, tokens, tok, index, option
|
|
|
6031
6031
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
6032
6032
|
if (i === 0)
|
|
6033
6033
|
continue $l$loop;
|
|
6034
|
-
var name = context.
|
|
6034
|
+
var name = context.x3w_1(context, prefix + toString(opt));
|
|
6035
6035
|
var tmp2_elvis_lhs = optionsByName.g2(name);
|
|
6036
6036
|
var tmp_0;
|
|
6037
6037
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -6061,10 +6061,10 @@ function parseShortOpt($this, ignoreUnknown, context, tokens, tok, index, option
|
|
|
6061
6061
|
tmp_0 = tmp2_elvis_lhs;
|
|
6062
6062
|
}
|
|
6063
6063
|
var option = tmp_0;
|
|
6064
|
-
if (option.
|
|
6064
|
+
if (option.n3x().e1_1 > 0) {
|
|
6065
6065
|
var value = i < get_lastIndex(tok) ? drop(tok, i + 1 | 0) : null;
|
|
6066
6066
|
var result = parseOptValues($this, option, name, ignoreUnknown, tokens, index, value, optionsByName, subcommandNames);
|
|
6067
|
-
return result.
|
|
6067
|
+
return result.x4a(VOID, VOID, plus_0(invocations, result.v4a_1));
|
|
6068
6068
|
} else {
|
|
6069
6069
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6070
6070
|
var element_0 = new OptInvocation(option, name, emptyList());
|
|
@@ -6085,7 +6085,7 @@ function parseArguments($this, argvIndex, positionalArgs, arguments_0) {
|
|
|
6085
6085
|
$l$loop: while (tmp0_iterator.h()) {
|
|
6086
6086
|
var item = tmp0_iterator.i();
|
|
6087
6087
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6088
|
-
if (!(item.
|
|
6088
|
+
if (!(item.n3x() > 0))
|
|
6089
6089
|
break $l$loop;
|
|
6090
6090
|
list.e(item);
|
|
6091
6091
|
}
|
|
@@ -6095,7 +6095,7 @@ function parseArguments($this, argvIndex, positionalArgs, arguments_0) {
|
|
|
6095
6095
|
var element = tmp0_iterator_0.i();
|
|
6096
6096
|
var tmp_0 = sum;
|
|
6097
6097
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6098
|
-
sum = tmp_0 + element.
|
|
6098
|
+
sum = tmp_0 + element.n3x() | 0;
|
|
6099
6099
|
}
|
|
6100
6100
|
var endSize = sum;
|
|
6101
6101
|
var i = 0;
|
|
@@ -6104,15 +6104,15 @@ function parseArguments($this, argvIndex, positionalArgs, arguments_0) {
|
|
|
6104
6104
|
var argument = tmp0_iterator_1.i();
|
|
6105
6105
|
var remaining = positionalArgs.j() - i | 0;
|
|
6106
6106
|
var tmp_1;
|
|
6107
|
-
if (argument.
|
|
6107
|
+
if (argument.n3x() <= 0) {
|
|
6108
6108
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6109
|
-
var a = argument.
|
|
6109
|
+
var a = argument.j47() ? 1 : 0;
|
|
6110
6110
|
var b = remaining - endSize | 0;
|
|
6111
6111
|
tmp_1 = Math.max(a, b);
|
|
6112
|
-
} else if (argument.
|
|
6112
|
+
} else if (argument.n3x() > 0 && !argument.j47() && remaining === 0) {
|
|
6113
6113
|
tmp_1 = 0;
|
|
6114
6114
|
} else {
|
|
6115
|
-
tmp_1 = argument.
|
|
6115
|
+
tmp_1 = argument.n3x();
|
|
6116
6116
|
}
|
|
6117
6117
|
var consumed = tmp_1;
|
|
6118
6118
|
if (consumed > remaining) {
|
|
@@ -6143,30 +6143,30 @@ function parseArguments($this, argvIndex, positionalArgs, arguments_0) {
|
|
|
6143
6143
|
return new ArgsParseResult(excess, toList_1(out), null);
|
|
6144
6144
|
}
|
|
6145
6145
|
function loadArgFile($this, filename, context) {
|
|
6146
|
-
return shlex(filename, ensureNotNull(context.
|
|
6146
|
+
return shlex(filename, ensureNotNull(context.z3w_1)(filename), context);
|
|
6147
6147
|
}
|
|
6148
6148
|
function excessArgsError($this, positionalArgs, excess, context) {
|
|
6149
6149
|
var tmp = takeLast(positionalArgs, excess);
|
|
6150
6150
|
var actual = joinToString(tmp, ' ', '(', ')', 3, VOID, Parser$excessArgsError$lambda);
|
|
6151
|
-
var message = excess === 1 ? context.
|
|
6151
|
+
var message = excess === 1 ? context.d3x_1.v44(actual) : context.d3x_1.w44(actual, excess);
|
|
6152
6152
|
// Inline function 'kotlin.also' call
|
|
6153
6153
|
var this_0 = new UsageError(message);
|
|
6154
6154
|
// Inline function 'kotlin.contracts.contract' call
|
|
6155
6155
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.excessArgsError.<anonymous>' call
|
|
6156
|
-
this_0.
|
|
6156
|
+
this_0.d41(context);
|
|
6157
6157
|
return this_0;
|
|
6158
6158
|
}
|
|
6159
6159
|
function sam$kotlin_Comparator$0_2(function_0) {
|
|
6160
|
-
this.
|
|
6160
|
+
this.y4a_1 = function_0;
|
|
6161
6161
|
}
|
|
6162
6162
|
protoOf(sam$kotlin_Comparator$0_2).uc = function (a, b) {
|
|
6163
|
-
return this.
|
|
6163
|
+
return this.y4a_1(a, b);
|
|
6164
6164
|
};
|
|
6165
6165
|
protoOf(sam$kotlin_Comparator$0_2).compare = function (a, b) {
|
|
6166
6166
|
return this.uc(a, b);
|
|
6167
6167
|
};
|
|
6168
6168
|
protoOf(sam$kotlin_Comparator$0_2).p3 = function () {
|
|
6169
|
-
return this.
|
|
6169
|
+
return this.y4a_1;
|
|
6170
6170
|
};
|
|
6171
6171
|
protoOf(sam$kotlin_Comparator$0_2).equals = function (other) {
|
|
6172
6172
|
var tmp;
|
|
@@ -6194,17 +6194,17 @@ function parse$isLongOptionWithEquals(longNames, $context, optionsByName, prefix
|
|
|
6194
6194
|
return false;
|
|
6195
6195
|
if (prefix.length > 1)
|
|
6196
6196
|
return true;
|
|
6197
|
-
if (longNames.o1($context.
|
|
6197
|
+
if (longNames.o1($context.x3w_1($context, substringBefore(token, '='))))
|
|
6198
6198
|
return true;
|
|
6199
6199
|
// Inline function 'kotlin.collections.contains' call
|
|
6200
6200
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6201
|
-
var key = $context.
|
|
6201
|
+
var key = $context.x3w_1($context, take(token, 2));
|
|
6202
6202
|
return !(isInterface(optionsByName, KtMap) ? optionsByName : THROW_CCE()).f2(key);
|
|
6203
6203
|
}
|
|
6204
6204
|
function parse$consumeParse(positionalArgs, invocations, errors, $context, i, tokenIndex, result) {
|
|
6205
6205
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6206
6206
|
// Inline function 'kotlin.collections.map' call
|
|
6207
|
-
var this_0 = result.
|
|
6207
|
+
var this_0 = result.u4a_1;
|
|
6208
6208
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6209
6209
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
6210
6210
|
var tmp0_iterator = this_0.g();
|
|
@@ -6216,9 +6216,9 @@ function parse$consumeParse(positionalArgs, invocations, errors, $context, i, to
|
|
|
6216
6216
|
}
|
|
6217
6217
|
addAll(positionalArgs, destination);
|
|
6218
6218
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6219
|
-
var elements = result.
|
|
6219
|
+
var elements = result.v4a_1;
|
|
6220
6220
|
addAll(invocations, elements);
|
|
6221
|
-
var tmp0_safe_receiver = result.
|
|
6221
|
+
var tmp0_safe_receiver = result.w4a_1;
|
|
6222
6222
|
if (tmp0_safe_receiver == null)
|
|
6223
6223
|
null;
|
|
6224
6224
|
else {
|
|
@@ -6226,16 +6226,16 @@ function parse$consumeParse(positionalArgs, invocations, errors, $context, i, to
|
|
|
6226
6226
|
// Inline function 'kotlin.contracts.contract' call
|
|
6227
6227
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6228
6228
|
errors.e(tmp0_safe_receiver);
|
|
6229
|
-
$context.
|
|
6229
|
+
$context.i3x_1 = true;
|
|
6230
6230
|
}
|
|
6231
|
-
i._v = i._v + result.
|
|
6231
|
+
i._v = i._v + result.t4a_1 | 0;
|
|
6232
6232
|
}
|
|
6233
6233
|
function Parser$finalizeAndRun$lambda(a, b) {
|
|
6234
6234
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
6235
6235
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
6236
|
-
var tmp = a.
|
|
6236
|
+
var tmp = a.r4a_1;
|
|
6237
6237
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
6238
|
-
var tmp$ret$1 = b.
|
|
6238
|
+
var tmp$ret$1 = b.r4a_1;
|
|
6239
6239
|
return compareValues(tmp, tmp$ret$1);
|
|
6240
6240
|
}
|
|
6241
6241
|
function Parser$parseArguments$lambda(it) {
|
|
@@ -6247,7 +6247,7 @@ function Parser$excessArgsError$lambda(it) {
|
|
|
6247
6247
|
}
|
|
6248
6248
|
function Parser() {
|
|
6249
6249
|
}
|
|
6250
|
-
protoOf(Parser).
|
|
6250
|
+
protoOf(Parser).w3y = function (argv, context) {
|
|
6251
6251
|
parse(this, argv, context, true);
|
|
6252
6252
|
};
|
|
6253
6253
|
var Parser_instance;
|
|
@@ -6255,20 +6255,20 @@ function Parser_getInstance() {
|
|
|
6255
6255
|
return Parser_instance;
|
|
6256
6256
|
}
|
|
6257
6257
|
function OptInvocation(opt, name, values) {
|
|
6258
|
-
this.
|
|
6259
|
-
this.
|
|
6260
|
-
this.
|
|
6258
|
+
this.j4a_1 = opt;
|
|
6259
|
+
this.k4a_1 = name;
|
|
6260
|
+
this.l4a_1 = values;
|
|
6261
6261
|
}
|
|
6262
|
-
protoOf(OptInvocation).
|
|
6263
|
-
return new Invocation(this.
|
|
6262
|
+
protoOf(OptInvocation).m4a = function () {
|
|
6263
|
+
return new Invocation(this.k4a_1, this.l4a_1);
|
|
6264
6264
|
};
|
|
6265
6265
|
protoOf(OptInvocation).toString = function () {
|
|
6266
|
-
return 'OptInvocation(opt=' + toString_0(this.
|
|
6266
|
+
return 'OptInvocation(opt=' + toString_0(this.j4a_1) + ', name=' + this.k4a_1 + ', values=' + toString_0(this.l4a_1) + ')';
|
|
6267
6267
|
};
|
|
6268
6268
|
protoOf(OptInvocation).hashCode = function () {
|
|
6269
|
-
var result = hashCode(this.
|
|
6270
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
6271
|
-
result = imul(result, 31) + hashCode(this.
|
|
6269
|
+
var result = hashCode(this.j4a_1);
|
|
6270
|
+
result = imul(result, 31) + getStringHashCode(this.k4a_1) | 0;
|
|
6271
|
+
result = imul(result, 31) + hashCode(this.l4a_1) | 0;
|
|
6272
6272
|
return result;
|
|
6273
6273
|
};
|
|
6274
6274
|
protoOf(OptInvocation).equals = function (other) {
|
|
@@ -6277,27 +6277,27 @@ protoOf(OptInvocation).equals = function (other) {
|
|
|
6277
6277
|
if (!(other instanceof OptInvocation))
|
|
6278
6278
|
return false;
|
|
6279
6279
|
var tmp0_other_with_cast = other instanceof OptInvocation ? other : THROW_CCE();
|
|
6280
|
-
if (!equals(this.
|
|
6280
|
+
if (!equals(this.j4a_1, tmp0_other_with_cast.j4a_1))
|
|
6281
6281
|
return false;
|
|
6282
|
-
if (!(this.
|
|
6282
|
+
if (!(this.k4a_1 === tmp0_other_with_cast.k4a_1))
|
|
6283
6283
|
return false;
|
|
6284
|
-
if (!equals(this.
|
|
6284
|
+
if (!equals(this.l4a_1, tmp0_other_with_cast.l4a_1))
|
|
6285
6285
|
return false;
|
|
6286
6286
|
return true;
|
|
6287
6287
|
};
|
|
6288
6288
|
function Err(e, i, includeInMulti) {
|
|
6289
6289
|
includeInMulti = includeInMulti === VOID ? true : includeInMulti;
|
|
6290
|
-
this.
|
|
6291
|
-
this.
|
|
6292
|
-
this.
|
|
6290
|
+
this.q4a_1 = e;
|
|
6291
|
+
this.r4a_1 = i;
|
|
6292
|
+
this.s4a_1 = includeInMulti;
|
|
6293
6293
|
}
|
|
6294
6294
|
protoOf(Err).toString = function () {
|
|
6295
|
-
return 'Err(e=' + this.
|
|
6295
|
+
return 'Err(e=' + this.q4a_1.toString() + ', i=' + this.r4a_1 + ', includeInMulti=' + this.s4a_1 + ')';
|
|
6296
6296
|
};
|
|
6297
6297
|
protoOf(Err).hashCode = function () {
|
|
6298
|
-
var result = hashCode(this.
|
|
6299
|
-
result = imul(result, 31) + this.
|
|
6300
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
6298
|
+
var result = hashCode(this.q4a_1);
|
|
6299
|
+
result = imul(result, 31) + this.r4a_1 | 0;
|
|
6300
|
+
result = imul(result, 31) + getBooleanHashCode(this.s4a_1) | 0;
|
|
6301
6301
|
return result;
|
|
6302
6302
|
};
|
|
6303
6303
|
protoOf(Err).equals = function (other) {
|
|
@@ -6306,11 +6306,11 @@ protoOf(Err).equals = function (other) {
|
|
|
6306
6306
|
if (!(other instanceof Err))
|
|
6307
6307
|
return false;
|
|
6308
6308
|
var tmp0_other_with_cast = other instanceof Err ? other : THROW_CCE();
|
|
6309
|
-
if (!equals(this.
|
|
6309
|
+
if (!equals(this.q4a_1, tmp0_other_with_cast.q4a_1))
|
|
6310
6310
|
return false;
|
|
6311
|
-
if (!(this.
|
|
6311
|
+
if (!(this.r4a_1 === tmp0_other_with_cast.r4a_1))
|
|
6312
6312
|
return false;
|
|
6313
|
-
if (!(this.
|
|
6313
|
+
if (!(this.s4a_1 === tmp0_other_with_cast.s4a_1))
|
|
6314
6314
|
return false;
|
|
6315
6315
|
return true;
|
|
6316
6316
|
};
|
|
@@ -6332,29 +6332,29 @@ function OptParseResult(consumed, unknown, known, err) {
|
|
|
6332
6332
|
unknown = unknown === VOID ? emptyList() : unknown;
|
|
6333
6333
|
known = known === VOID ? emptyList() : known;
|
|
6334
6334
|
err = err === VOID ? null : err;
|
|
6335
|
-
this.
|
|
6336
|
-
this.
|
|
6337
|
-
this.
|
|
6338
|
-
this.
|
|
6335
|
+
this.t4a_1 = consumed;
|
|
6336
|
+
this.u4a_1 = unknown;
|
|
6337
|
+
this.v4a_1 = known;
|
|
6338
|
+
this.w4a_1 = err;
|
|
6339
6339
|
}
|
|
6340
|
-
protoOf(OptParseResult).
|
|
6340
|
+
protoOf(OptParseResult).z4a = function (consumed, unknown, known, err) {
|
|
6341
6341
|
return new OptParseResult(consumed, unknown, known, err);
|
|
6342
6342
|
};
|
|
6343
|
-
protoOf(OptParseResult).
|
|
6344
|
-
consumed = consumed === VOID ? this.
|
|
6345
|
-
unknown = unknown === VOID ? this.
|
|
6346
|
-
known = known === VOID ? this.
|
|
6347
|
-
err = err === VOID ? this.
|
|
6348
|
-
return $super === VOID ? this.
|
|
6343
|
+
protoOf(OptParseResult).x4a = function (consumed, unknown, known, err, $super) {
|
|
6344
|
+
consumed = consumed === VOID ? this.t4a_1 : consumed;
|
|
6345
|
+
unknown = unknown === VOID ? this.u4a_1 : unknown;
|
|
6346
|
+
known = known === VOID ? this.v4a_1 : known;
|
|
6347
|
+
err = err === VOID ? this.w4a_1 : err;
|
|
6348
|
+
return $super === VOID ? this.z4a(consumed, unknown, known, err) : $super.z4a.call(this, consumed, unknown, known, err);
|
|
6349
6349
|
};
|
|
6350
6350
|
protoOf(OptParseResult).toString = function () {
|
|
6351
|
-
return 'OptParseResult(consumed=' + this.
|
|
6351
|
+
return 'OptParseResult(consumed=' + this.t4a_1 + ', unknown=' + toString_0(this.u4a_1) + ', known=' + toString_0(this.v4a_1) + ', err=' + toString_1(this.w4a_1) + ')';
|
|
6352
6352
|
};
|
|
6353
6353
|
protoOf(OptParseResult).hashCode = function () {
|
|
6354
|
-
var result = this.
|
|
6354
|
+
var result = this.t4a_1;
|
|
6355
|
+
result = imul(result, 31) + hashCode(this.u4a_1) | 0;
|
|
6355
6356
|
result = imul(result, 31) + hashCode(this.v4a_1) | 0;
|
|
6356
|
-
result = imul(result, 31) +
|
|
6357
|
-
result = imul(result, 31) + (this.x4a_1 == null ? 0 : this.x4a_1.hashCode()) | 0;
|
|
6357
|
+
result = imul(result, 31) + (this.w4a_1 == null ? 0 : this.w4a_1.hashCode()) | 0;
|
|
6358
6358
|
return result;
|
|
6359
6359
|
};
|
|
6360
6360
|
protoOf(OptParseResult).equals = function (other) {
|
|
@@ -6363,28 +6363,28 @@ protoOf(OptParseResult).equals = function (other) {
|
|
|
6363
6363
|
if (!(other instanceof OptParseResult))
|
|
6364
6364
|
return false;
|
|
6365
6365
|
var tmp0_other_with_cast = other instanceof OptParseResult ? other : THROW_CCE();
|
|
6366
|
-
if (!(this.
|
|
6366
|
+
if (!(this.t4a_1 === tmp0_other_with_cast.t4a_1))
|
|
6367
|
+
return false;
|
|
6368
|
+
if (!equals(this.u4a_1, tmp0_other_with_cast.u4a_1))
|
|
6367
6369
|
return false;
|
|
6368
6370
|
if (!equals(this.v4a_1, tmp0_other_with_cast.v4a_1))
|
|
6369
6371
|
return false;
|
|
6370
6372
|
if (!equals(this.w4a_1, tmp0_other_with_cast.w4a_1))
|
|
6371
6373
|
return false;
|
|
6372
|
-
if (!equals(this.x4a_1, tmp0_other_with_cast.x4a_1))
|
|
6373
|
-
return false;
|
|
6374
6374
|
return true;
|
|
6375
6375
|
};
|
|
6376
6376
|
function ArgsParseResult(excessCount, args, err) {
|
|
6377
|
-
this.
|
|
6378
|
-
this.
|
|
6379
|
-
this.
|
|
6377
|
+
this.n4a_1 = excessCount;
|
|
6378
|
+
this.o4a_1 = args;
|
|
6379
|
+
this.p4a_1 = err;
|
|
6380
6380
|
}
|
|
6381
6381
|
protoOf(ArgsParseResult).toString = function () {
|
|
6382
|
-
return 'ArgsParseResult(excessCount=' + this.
|
|
6382
|
+
return 'ArgsParseResult(excessCount=' + this.n4a_1 + ', args=' + toString_0(this.o4a_1) + ', err=' + toString_1(this.p4a_1) + ')';
|
|
6383
6383
|
};
|
|
6384
6384
|
protoOf(ArgsParseResult).hashCode = function () {
|
|
6385
|
-
var result = this.
|
|
6386
|
-
result = imul(result, 31) + hashCode(this.
|
|
6387
|
-
result = imul(result, 31) + (this.
|
|
6385
|
+
var result = this.n4a_1;
|
|
6386
|
+
result = imul(result, 31) + hashCode(this.o4a_1) | 0;
|
|
6387
|
+
result = imul(result, 31) + (this.p4a_1 == null ? 0 : this.p4a_1.hashCode()) | 0;
|
|
6388
6388
|
return result;
|
|
6389
6389
|
};
|
|
6390
6390
|
protoOf(ArgsParseResult).equals = function (other) {
|
|
@@ -6393,16 +6393,16 @@ protoOf(ArgsParseResult).equals = function (other) {
|
|
|
6393
6393
|
if (!(other instanceof ArgsParseResult))
|
|
6394
6394
|
return false;
|
|
6395
6395
|
var tmp0_other_with_cast = other instanceof ArgsParseResult ? other : THROW_CCE();
|
|
6396
|
-
if (!(this.
|
|
6396
|
+
if (!(this.n4a_1 === tmp0_other_with_cast.n4a_1))
|
|
6397
6397
|
return false;
|
|
6398
|
-
if (!equals(this.
|
|
6398
|
+
if (!equals(this.o4a_1, tmp0_other_with_cast.o4a_1))
|
|
6399
6399
|
return false;
|
|
6400
|
-
if (!equals(this.
|
|
6400
|
+
if (!equals(this.p4a_1, tmp0_other_with_cast.p4a_1))
|
|
6401
6401
|
return false;
|
|
6402
6402
|
return true;
|
|
6403
6403
|
};
|
|
6404
6404
|
function shlex(filename, text, context) {
|
|
6405
|
-
var tmp1_elvis_lhs = context == null ? null : context.
|
|
6405
|
+
var tmp1_elvis_lhs = context == null ? null : context.d3x_1;
|
|
6406
6406
|
var localization = tmp1_elvis_lhs == null ? get_defaultLocalization() : tmp1_elvis_lhs;
|
|
6407
6407
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6408
6408
|
var toks = ArrayList_init_$Create$();
|
|
@@ -6424,7 +6424,7 @@ function shlex(filename, text, context) {
|
|
|
6424
6424
|
} else {
|
|
6425
6425
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
6426
6426
|
if (i._v >= get_lastIndex(text)) {
|
|
6427
|
-
shlex$err(filename, text, i, localization.
|
|
6427
|
+
shlex$err(filename, text, i, localization.u44());
|
|
6428
6428
|
}
|
|
6429
6429
|
if (contains('\r\n', charSequenceGet(text, i._v + 1 | 0))) {
|
|
6430
6430
|
do {
|
|
@@ -6496,7 +6496,7 @@ function shlex(filename, text, context) {
|
|
|
6496
6496
|
}
|
|
6497
6497
|
var tmp_8 = inQuote;
|
|
6498
6498
|
if (!((tmp_8 == null ? null : new Char(tmp_8)) == null)) {
|
|
6499
|
-
shlex$err(filename, text, i, localization.
|
|
6499
|
+
shlex$err(filename, text, i, localization.t44());
|
|
6500
6500
|
}
|
|
6501
6501
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
6502
6502
|
if (charSequenceLength(sb) > 0) {
|
|
@@ -6577,23 +6577,23 @@ function get_impls() {
|
|
|
6577
6577
|
var impls;
|
|
6578
6578
|
function readFileIfExists(filename) {
|
|
6579
6579
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6580
|
-
return get_impls().
|
|
6580
|
+
return get_impls().a4b(filename);
|
|
6581
6581
|
}
|
|
6582
6582
|
function NodeMppImpls(fs) {
|
|
6583
|
-
this.
|
|
6583
|
+
this.b4b_1 = fs;
|
|
6584
6584
|
}
|
|
6585
|
-
protoOf(NodeMppImpls).
|
|
6585
|
+
protoOf(NodeMppImpls).j3v = function (key) {
|
|
6586
6586
|
var tmp = process.env[key];
|
|
6587
6587
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
6588
6588
|
};
|
|
6589
|
-
protoOf(NodeMppImpls).
|
|
6589
|
+
protoOf(NodeMppImpls).c4b = function (status) {
|
|
6590
6590
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6591
6591
|
return process.exit(status);
|
|
6592
6592
|
};
|
|
6593
|
-
protoOf(NodeMppImpls).
|
|
6593
|
+
protoOf(NodeMppImpls).a4b = function (filename) {
|
|
6594
6594
|
var tmp;
|
|
6595
6595
|
try {
|
|
6596
|
-
var tmp_0 = this.
|
|
6596
|
+
var tmp_0 = this.b4b_1.readFileSync(filename, 'utf-8');
|
|
6597
6597
|
tmp = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
6598
6598
|
} catch ($p) {
|
|
6599
6599
|
var tmp_1;
|
|
@@ -6609,12 +6609,12 @@ protoOf(NodeMppImpls).b4b = function (filename) {
|
|
|
6609
6609
|
};
|
|
6610
6610
|
function BrowserMppImpls() {
|
|
6611
6611
|
}
|
|
6612
|
-
protoOf(BrowserMppImpls).
|
|
6612
|
+
protoOf(BrowserMppImpls).j3v = function (key) {
|
|
6613
6613
|
return null;
|
|
6614
6614
|
};
|
|
6615
|
-
protoOf(BrowserMppImpls).
|
|
6615
|
+
protoOf(BrowserMppImpls).c4b = function (status) {
|
|
6616
6616
|
};
|
|
6617
|
-
protoOf(BrowserMppImpls).
|
|
6617
|
+
protoOf(BrowserMppImpls).a4b = function (filename) {
|
|
6618
6618
|
return null;
|
|
6619
6619
|
};
|
|
6620
6620
|
var BrowserMppImpls_instance;
|
|
@@ -6623,11 +6623,11 @@ function BrowserMppImpls_getInstance() {
|
|
|
6623
6623
|
}
|
|
6624
6624
|
function readEnvvar(key) {
|
|
6625
6625
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6626
|
-
return get_impls().
|
|
6626
|
+
return get_impls().j3v(key);
|
|
6627
6627
|
}
|
|
6628
6628
|
function exitProcessMpp(status) {
|
|
6629
6629
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6630
|
-
return get_impls().
|
|
6630
|
+
return get_impls().c4b(status);
|
|
6631
6631
|
}
|
|
6632
6632
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
6633
6633
|
_init_properties_MppImpl_kt__zar9hh();
|
|
@@ -6655,44 +6655,44 @@ function _init_properties_MppImpl_kt__zar9hh() {
|
|
|
6655
6655
|
}
|
|
6656
6656
|
}
|
|
6657
6657
|
//region block: post-declaration
|
|
6658
|
-
protoOf(defaultLocalization$1).
|
|
6659
|
-
protoOf(defaultLocalization$1).
|
|
6660
|
-
protoOf(defaultLocalization$1).
|
|
6661
|
-
protoOf(defaultLocalization$1).
|
|
6662
|
-
protoOf(defaultLocalization$1).
|
|
6663
|
-
protoOf(defaultLocalization$1).
|
|
6664
|
-
protoOf(defaultLocalization$1).
|
|
6665
|
-
protoOf(defaultLocalization$1).
|
|
6666
|
-
protoOf(defaultLocalization$1).
|
|
6667
|
-
protoOf(defaultLocalization$1).
|
|
6668
|
-
protoOf(defaultLocalization$1).
|
|
6669
|
-
protoOf(defaultLocalization$1).
|
|
6670
|
-
protoOf(defaultLocalization$1).
|
|
6671
|
-
protoOf(defaultLocalization$1).
|
|
6672
|
-
protoOf(defaultLocalization$1).
|
|
6673
|
-
protoOf(defaultLocalization$1).
|
|
6674
|
-
protoOf(defaultLocalization$1).
|
|
6675
|
-
protoOf(defaultLocalization$1).
|
|
6676
|
-
protoOf(defaultLocalization$1).
|
|
6677
|
-
protoOf(defaultLocalization$1).
|
|
6678
|
-
protoOf(defaultLocalization$1).
|
|
6679
|
-
protoOf(defaultLocalization$1).
|
|
6680
|
-
protoOf(defaultLocalization$1).
|
|
6681
|
-
protoOf(defaultLocalization$1).
|
|
6682
|
-
protoOf(defaultLocalization$1).
|
|
6683
|
-
protoOf(defaultLocalization$1).
|
|
6684
|
-
protoOf(defaultLocalization$1).
|
|
6685
|
-
protoOf(defaultLocalization$1).
|
|
6686
|
-
protoOf(defaultLocalization$1).
|
|
6687
|
-
protoOf(defaultLocalization$1).
|
|
6688
|
-
protoOf(defaultLocalization$1).
|
|
6689
|
-
protoOf(defaultLocalization$1).
|
|
6690
|
-
protoOf(defaultLocalization$1).
|
|
6691
|
-
protoOf(ProcessedArgumentImpl).
|
|
6692
|
-
protoOf(OptionWithValuesImpl).
|
|
6693
|
-
protoOf(OptionWithValuesImpl).
|
|
6694
|
-
protoOf(OptionWithValuesImpl).
|
|
6695
|
-
protoOf(OptionWithValuesImpl).
|
|
6658
|
+
protoOf(defaultLocalization$1).s44 = usageError;
|
|
6659
|
+
protoOf(defaultLocalization$1).y41 = badParameter;
|
|
6660
|
+
protoOf(defaultLocalization$1).w41 = badParameterWithMessage;
|
|
6661
|
+
protoOf(defaultLocalization$1).x41 = badParameterWithParam;
|
|
6662
|
+
protoOf(defaultLocalization$1).v41 = badParameterWithMessageAndParam;
|
|
6663
|
+
protoOf(defaultLocalization$1).p43 = missingOption;
|
|
6664
|
+
protoOf(defaultLocalization$1).w42 = missingArgument;
|
|
6665
|
+
protoOf(defaultLocalization$1).f42 = noSuchSubcommand;
|
|
6666
|
+
protoOf(defaultLocalization$1).l42 = noSuchOption;
|
|
6667
|
+
protoOf(defaultLocalization$1).r42 = incorrectOptionValueCount;
|
|
6668
|
+
protoOf(defaultLocalization$1).c43 = incorrectArgumentValueCount;
|
|
6669
|
+
protoOf(defaultLocalization$1).y40 = fileNotFound;
|
|
6670
|
+
protoOf(defaultLocalization$1).k43 = invalidFileFormat;
|
|
6671
|
+
protoOf(defaultLocalization$1).j43 = invalidFileFormat_0;
|
|
6672
|
+
protoOf(defaultLocalization$1).t44 = unclosedQuote;
|
|
6673
|
+
protoOf(defaultLocalization$1).u44 = fileEndsWithSlash;
|
|
6674
|
+
protoOf(defaultLocalization$1).v44 = extraArgumentOne;
|
|
6675
|
+
protoOf(defaultLocalization$1).w44 = extraArgumentMany;
|
|
6676
|
+
protoOf(defaultLocalization$1).x44 = invalidFlagValueInFile;
|
|
6677
|
+
protoOf(defaultLocalization$1).y44 = boolConversionError;
|
|
6678
|
+
protoOf(defaultLocalization$1).z44 = invalidChoice;
|
|
6679
|
+
protoOf(defaultLocalization$1).a45 = stringMetavar;
|
|
6680
|
+
protoOf(defaultLocalization$1).b45 = intMetavar;
|
|
6681
|
+
protoOf(defaultLocalization$1).c45 = usageTitle;
|
|
6682
|
+
protoOf(defaultLocalization$1).d45 = optionsTitle;
|
|
6683
|
+
protoOf(defaultLocalization$1).e45 = argumentsTitle;
|
|
6684
|
+
protoOf(defaultLocalization$1).f45 = commandsTitle;
|
|
6685
|
+
protoOf(defaultLocalization$1).g45 = optionsMetavar;
|
|
6686
|
+
protoOf(defaultLocalization$1).h45 = commandMetavar;
|
|
6687
|
+
protoOf(defaultLocalization$1).i45 = argumentsMetavar;
|
|
6688
|
+
protoOf(defaultLocalization$1).j45 = helpTagDefault;
|
|
6689
|
+
protoOf(defaultLocalization$1).k45 = helpTagRequired;
|
|
6690
|
+
protoOf(defaultLocalization$1).a3y = helpOptionMessage;
|
|
6691
|
+
protoOf(ProcessedArgumentImpl).q47 = copy$default;
|
|
6692
|
+
protoOf(OptionWithValuesImpl).p48 = copy$default_0;
|
|
6693
|
+
protoOf(OptionWithValuesImpl).q48 = copy$default_1;
|
|
6694
|
+
protoOf(OptionWithValuesImpl).w48 = getValue_0;
|
|
6695
|
+
protoOf(OptionWithValuesImpl).h3y = parameterHelp;
|
|
6696
6696
|
//endregion
|
|
6697
6697
|
//region block: init
|
|
6698
6698
|
BashCompletionGenerator_instance = new BashCompletionGenerator();
|