@tuprolog/2p-full 0.31.1-dev0u → 0.31.2
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/2p-bdd.js +141 -141
- package/2p-core.js +1 -1
- package/2p-core.js.map +1 -1
- package/2p-io-lib.js +479 -479
- package/2p-oop-lib.js +606 -606
- package/2p-parser-core.js +116 -116
- package/2p-parser-theory.js +9 -9
- package/2p-repl.js +56 -56
- package/2p-repl.js.map +1 -1
- package/2p-solve-classic.js +760 -760
- package/2p-solve-problog.js +751 -751
- package/2p-solve-streams.js +549 -549
- package/2p-solve.js +2549 -2438
- package/2p-solve.js.map +1 -1
- package/clikt-clikt-js-ir.js +1007 -1007
- package/kotlin-kotlin-stdlib-js-ir.js +6 -6
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/package.json +1 -1
package/clikt-clikt-js-ir.js
CHANGED
|
@@ -139,22 +139,22 @@
|
|
|
139
139
|
}
|
|
140
140
|
function parameterHelp(context) {
|
|
141
141
|
var tmp;
|
|
142
|
-
if (this.
|
|
142
|
+
if (this.f3x()) {
|
|
143
143
|
tmp = null;
|
|
144
144
|
} else {
|
|
145
|
-
var tmp_0 = this.
|
|
146
|
-
var tmp_1 = this.
|
|
147
|
-
var tmp_2 = this.
|
|
148
|
-
var tmp_3 = this.
|
|
149
|
-
var tmp_4 = this.
|
|
150
|
-
var tmp_5 = this.
|
|
145
|
+
var tmp_0 = this.k3w();
|
|
146
|
+
var tmp_1 = this.l3w();
|
|
147
|
+
var tmp_2 = this.c47(context);
|
|
148
|
+
var tmp_3 = this.q3x();
|
|
149
|
+
var tmp_4 = this.h3x();
|
|
150
|
+
var tmp_5 = this.a47();
|
|
151
151
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
152
|
-
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
152
|
+
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h40();
|
|
153
153
|
var tmp_6;
|
|
154
154
|
if (tmp3_elvis_lhs == null) {
|
|
155
155
|
var tmp1_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
156
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
157
|
-
tmp_6 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
156
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g40();
|
|
157
|
+
tmp_6 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.h40();
|
|
158
158
|
} else {
|
|
159
159
|
tmp_6 = tmp3_elvis_lhs;
|
|
160
160
|
}
|
|
@@ -362,8 +362,8 @@
|
|
|
362
362
|
setMetadataFor(ProcessedArgument, 'ProcessedArgument', classMeta, undefined, [Argument_0], undefined, undefined, []);
|
|
363
363
|
setMetadataFor(ArgumentTransformContext, 'ArgumentTransformContext', classMeta, undefined, [Argument_0], undefined, undefined, []);
|
|
364
364
|
function parameterHelp_0(context) {
|
|
365
|
-
var n = this.
|
|
366
|
-
var h = this.
|
|
365
|
+
var n = this.h40();
|
|
366
|
+
var h = this.q46();
|
|
367
367
|
return (n == null ? true : h == null) ? null : new Group(n, h);
|
|
368
368
|
}
|
|
369
369
|
setMetadataFor(ParameterGroup, 'ParameterGroup', interfaceMeta, undefined, undefined, undefined, undefined, []);
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
setMetadataFor(BrowserCliktConsole, 'BrowserCliktConsole', classMeta, undefined, undefined, undefined, undefined, []);
|
|
397
397
|
//endregion
|
|
398
398
|
function commandCompletionFuncName($this, command) {
|
|
399
|
-
var tmp = command.
|
|
399
|
+
var tmp = command.v2b();
|
|
400
400
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
401
401
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
402
402
|
var isTopLevel = ancestors.o() === 1;
|
|
@@ -410,22 +410,22 @@
|
|
|
410
410
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').kf(name, '_');
|
|
411
411
|
}
|
|
412
412
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
413
|
-
return plus(_this__u8e3s4.
|
|
413
|
+
return plus(_this__u8e3s4.k3w(), _this__u8e3s4.l3w());
|
|
414
414
|
}
|
|
415
415
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
416
416
|
return "'" + it + "'";
|
|
417
417
|
}
|
|
418
418
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
419
|
-
return it.
|
|
419
|
+
return it.m3w_1;
|
|
420
420
|
}
|
|
421
421
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
422
|
-
return it.
|
|
422
|
+
return it.n3w_1.a3w_1;
|
|
423
423
|
}
|
|
424
424
|
function BashCompletionGenerator() {
|
|
425
425
|
BashCompletionGenerator_instance = this;
|
|
426
426
|
}
|
|
427
|
-
BashCompletionGenerator.prototype.
|
|
428
|
-
var commandName = command.
|
|
427
|
+
BashCompletionGenerator.prototype.e3x = function (command, zsh) {
|
|
428
|
+
var commandName = command.a3w_1;
|
|
429
429
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
430
430
|
var isTopLevel = tmp0_container.n3();
|
|
431
431
|
var funcName = tmp0_container.o3();
|
|
@@ -433,7 +433,7 @@
|
|
|
433
433
|
// Inline function 'kotlin.collections.map' call
|
|
434
434
|
var tmp$ret$2;
|
|
435
435
|
// Inline function 'kotlin.collections.filterNot' call
|
|
436
|
-
var tmp0_filterNot = command.
|
|
436
|
+
var tmp0_filterNot = command.e3w_1;
|
|
437
437
|
var tmp$ret$1;
|
|
438
438
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
439
439
|
var tmp0_filterNotTo = ArrayList_init_$Create$();
|
|
@@ -442,7 +442,7 @@
|
|
|
442
442
|
var element = tmp0_iterator.p();
|
|
443
443
|
var tmp$ret$0;
|
|
444
444
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
445
|
-
tmp$ret$0 = element.
|
|
445
|
+
tmp$ret$0 = element.f3x();
|
|
446
446
|
if (!tmp$ret$0) {
|
|
447
447
|
tmp0_filterNotTo.g(element);
|
|
448
448
|
}
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
var item = tmp0_iterator_0.p();
|
|
459
459
|
var tmp$ret$3;
|
|
460
460
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
461
|
-
tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_getInstance()), item.
|
|
461
|
+
tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_getInstance()), item.g3x(), item.h3x());
|
|
462
462
|
tmp0_mapTo.g(tmp$ret$3);
|
|
463
463
|
}
|
|
464
464
|
tmp$ret$4 = tmp0_mapTo;
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
var options = tmp$ret$5;
|
|
467
467
|
var tmp$ret$8;
|
|
468
468
|
// Inline function 'kotlin.collections.map' call
|
|
469
|
-
var tmp2_map = command.
|
|
469
|
+
var tmp2_map = command.f3w_1;
|
|
470
470
|
var tmp$ret$7;
|
|
471
471
|
// Inline function 'kotlin.collections.mapTo' call
|
|
472
472
|
var tmp0_mapTo_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp2_map, 10));
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
var item_0 = tmp0_iterator_1.p();
|
|
476
476
|
var tmp$ret$6;
|
|
477
477
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
478
|
-
tmp$ret$6 = to(item_0.og(), item_0.
|
|
478
|
+
tmp$ret$6 = to(item_0.og(), item_0.g3x());
|
|
479
479
|
tmp0_mapTo_0.g(tmp$ret$6);
|
|
480
480
|
}
|
|
481
481
|
tmp$ret$7 = tmp0_mapTo_0;
|
|
@@ -483,7 +483,7 @@
|
|
|
483
483
|
var arguments_0 = tmp$ret$8;
|
|
484
484
|
var tmp$ret$11;
|
|
485
485
|
// Inline function 'kotlin.collections.map' call
|
|
486
|
-
var tmp3_map = command.
|
|
486
|
+
var tmp3_map = command.d3w_1;
|
|
487
487
|
var tmp$ret$10;
|
|
488
488
|
// Inline function 'kotlin.collections.mapTo' call
|
|
489
489
|
var tmp0_mapTo_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp3_map, 10));
|
|
@@ -492,7 +492,7 @@
|
|
|
492
492
|
var item_1 = tmp0_iterator_2.p();
|
|
493
493
|
var tmp$ret$9;
|
|
494
494
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
495
|
-
tmp$ret$9 = item_1.
|
|
495
|
+
tmp$ret$9 = item_1.a3w_1;
|
|
496
496
|
tmp0_mapTo_1.g(tmp$ret$9);
|
|
497
497
|
}
|
|
498
498
|
tmp$ret$10 = tmp0_mapTo_1;
|
|
@@ -502,14 +502,14 @@
|
|
|
502
502
|
// Inline function 'kotlin.collections.flatMap' call
|
|
503
503
|
var tmp$ret$13;
|
|
504
504
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
505
|
-
var tmp4_takeWhile = command.
|
|
505
|
+
var tmp4_takeWhile = command.f3w_1;
|
|
506
506
|
var list = ArrayList_init_$Create$();
|
|
507
507
|
var tmp0_iterator_3 = tmp4_takeWhile.j();
|
|
508
508
|
$l$loop: while (tmp0_iterator_3.m()) {
|
|
509
509
|
var item_2 = tmp0_iterator_3.p();
|
|
510
510
|
var tmp$ret$12;
|
|
511
511
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
512
|
-
tmp$ret$12 = item_2.
|
|
512
|
+
tmp$ret$12 = item_2.h3x() > 0;
|
|
513
513
|
if (!tmp$ret$12)
|
|
514
514
|
break $l$loop;
|
|
515
515
|
list.g(item_2);
|
|
@@ -526,7 +526,7 @@
|
|
|
526
526
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
527
527
|
var tmp$ret$16;
|
|
528
528
|
// Inline function 'kotlin.collections.map' call
|
|
529
|
-
var tmp0_map = numberRangeToNumber(1, element_0.
|
|
529
|
+
var tmp0_map = numberRangeToNumber(1, element_0.h3x());
|
|
530
530
|
var tmp$ret$15;
|
|
531
531
|
// Inline function 'kotlin.collections.mapTo' call
|
|
532
532
|
var tmp0_mapTo_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
// Inline function 'kotlin.text.orEmpty' call
|
|
557
557
|
var tmp$ret$22;
|
|
558
558
|
// Inline function 'kotlin.collections.find' call
|
|
559
|
-
var tmp6_find = command.
|
|
559
|
+
var tmp6_find = command.f3w_1;
|
|
560
560
|
var tmp$ret$21;
|
|
561
561
|
$l$block: {
|
|
562
562
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -565,7 +565,7 @@
|
|
|
565
565
|
var element_1 = tmp0_iterator_5.p();
|
|
566
566
|
var tmp$ret$20;
|
|
567
567
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
568
|
-
tmp$ret$20 = element_1.
|
|
568
|
+
tmp$ret$20 = element_1.h3x() < 0;
|
|
569
569
|
if (tmp$ret$20) {
|
|
570
570
|
tmp$ret$21 = element_1;
|
|
571
571
|
break $l$block;
|
|
@@ -652,7 +652,7 @@
|
|
|
652
652
|
var name = tmp1_loop_parameter.n3();
|
|
653
653
|
var candidate = tmp1_loop_parameter.o3();
|
|
654
654
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
655
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
655
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.i3x_1;
|
|
656
656
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
657
657
|
var tmp_1;
|
|
658
658
|
if (tmp4_elvis_lhs == null) {
|
|
@@ -718,7 +718,7 @@
|
|
|
718
718
|
tmp0_apply.re(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
719
719
|
var tmp$ret$33;
|
|
720
720
|
// Inline function 'kotlin.collections.iterator' call
|
|
721
|
-
var tmp1_iterator = command.
|
|
721
|
+
var tmp1_iterator = command.j3x();
|
|
722
722
|
tmp$ret$33 = tmp1_iterator.z().j();
|
|
723
723
|
var tmp7_iterator = tmp$ret$33;
|
|
724
724
|
while (tmp7_iterator.m()) {
|
|
@@ -736,19 +736,19 @@
|
|
|
736
736
|
joinTo$default(toks, tmp0_apply, ' ', ' ', null, 0, null, BashCompletionGenerator$generateBashOrZshCompletion$lambda, 56, null);
|
|
737
737
|
tmp0_apply.re(' "${COMP_WORDS[@]:${i}}" )').re('\n');
|
|
738
738
|
tmp0_apply.re(' (( COMP_CWORD = COMP_CWORD + ' + toks.o() + ' ))\n');
|
|
739
|
-
if (!command.
|
|
739
|
+
if (!command.v2b().o3w_1) {
|
|
740
740
|
tmp0_apply.re(' can_parse_options=0\n');
|
|
741
741
|
}
|
|
742
742
|
tmp0_apply.re(' ;;\n');
|
|
743
743
|
}
|
|
744
|
-
var tmp9_iterator = command.
|
|
744
|
+
var tmp9_iterator = command.d3w_1.j();
|
|
745
745
|
while (tmp9_iterator.m()) {
|
|
746
746
|
var sub = tmp9_iterator.p();
|
|
747
|
-
var tmp_5 = '\n | ' + sub.
|
|
747
|
+
var tmp_5 = '\n | ' + sub.a3w_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_getInstance(), sub).h4_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n ';
|
|
748
748
|
tmp0_apply.re(trimMargin$default(tmp_5, null, 1, null));
|
|
749
749
|
}
|
|
750
750
|
tmp0_apply.re(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
751
|
-
if (!command.
|
|
751
|
+
if (!command.v2b().o3w_1) {
|
|
752
752
|
tmp0_apply.re(' can_parse_options=0\n');
|
|
753
753
|
}
|
|
754
754
|
tmp0_apply.re(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -834,11 +834,11 @@
|
|
|
834
834
|
} else {
|
|
835
835
|
if (tmp12_subject instanceof Fixed) {
|
|
836
836
|
tmp0_apply.re(" COMPREPLY=($(compgen -W '");
|
|
837
|
-
joinTo$default(completion.
|
|
837
|
+
joinTo$default(completion.k3x_1, tmp0_apply, ' ', null, null, 0, null, null, 124, null);
|
|
838
838
|
tmp0_apply.re('\' -- "${word}"))\n');
|
|
839
839
|
} else {
|
|
840
840
|
if (tmp12_subject instanceof Custom) {
|
|
841
|
-
if (!(completion.
|
|
841
|
+
if (!(completion.i3x_1(ShellType_BASH_getInstance()) == null)) {
|
|
842
842
|
var fname = customParamCompletionName(BashCompletionGenerator_getInstance(), funcName, name_1);
|
|
843
843
|
tmp0_apply.re(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
844
844
|
}
|
|
@@ -859,10 +859,10 @@
|
|
|
859
859
|
tmp0_apply.re('\' -- "${word}"))\n ;;\n');
|
|
860
860
|
}
|
|
861
861
|
tmp0_apply.re(' esac\n}\n');
|
|
862
|
-
var tmp13_iterator = command.
|
|
862
|
+
var tmp13_iterator = command.d3w_1.j();
|
|
863
863
|
while (tmp13_iterator.m()) {
|
|
864
864
|
var subcommand = tmp13_iterator.p();
|
|
865
|
-
tmp0_apply.re(BashCompletionGenerator_getInstance().
|
|
865
|
+
tmp0_apply.re(BashCompletionGenerator_getInstance().e3x(subcommand, zsh));
|
|
866
866
|
}
|
|
867
867
|
if (isTopLevel) {
|
|
868
868
|
tmp0_apply.re('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -949,7 +949,7 @@
|
|
|
949
949
|
function CompletionGenerator() {
|
|
950
950
|
CompletionGenerator_instance = this;
|
|
951
951
|
}
|
|
952
|
-
CompletionGenerator.prototype.
|
|
952
|
+
CompletionGenerator.prototype.l3x = function (command, shell) {
|
|
953
953
|
var tmp$ret$2;
|
|
954
954
|
// Inline function 'kotlin.text.lowercase' call
|
|
955
955
|
var tmp$ret$0;
|
|
@@ -965,13 +965,13 @@
|
|
|
965
965
|
var message;
|
|
966
966
|
switch (tmp0_subject) {
|
|
967
967
|
case 'fish':
|
|
968
|
-
message = FishCompletionGenerator_getInstance().
|
|
968
|
+
message = FishCompletionGenerator_getInstance().m3x(command);
|
|
969
969
|
break;
|
|
970
970
|
case 'zsh':
|
|
971
|
-
message = BashCompletionGenerator_getInstance().
|
|
971
|
+
message = BashCompletionGenerator_getInstance().e3x(command, true);
|
|
972
972
|
break;
|
|
973
973
|
default:
|
|
974
|
-
message = BashCompletionGenerator_getInstance().
|
|
974
|
+
message = BashCompletionGenerator_getInstance().e3x(command, false);
|
|
975
975
|
break;
|
|
976
976
|
}
|
|
977
977
|
}
|
|
@@ -992,13 +992,13 @@
|
|
|
992
992
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
993
993
|
// Inline function 'kotlin.contracts.contract' call
|
|
994
994
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
995
|
-
var parentCommandName = lastOrNull(command.
|
|
996
|
-
var rootCommandName = first_0(command.
|
|
995
|
+
var parentCommandName = lastOrNull(command.v2b().n3x());
|
|
996
|
+
var rootCommandName = first_0(command.v2b().o3x());
|
|
997
997
|
var isTopLevel = parentCommandName == null;
|
|
998
|
-
var commandName = command.
|
|
998
|
+
var commandName = command.a3w_1;
|
|
999
999
|
var tmp$ret$2;
|
|
1000
1000
|
// Inline function 'kotlin.collections.filterNot' call
|
|
1001
|
-
var tmp0_filterNot = command.
|
|
1001
|
+
var tmp0_filterNot = command.e3w_1;
|
|
1002
1002
|
var tmp$ret$1;
|
|
1003
1003
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
1004
1004
|
var tmp0_filterNotTo = ArrayList_init_$Create$();
|
|
@@ -1007,7 +1007,7 @@
|
|
|
1007
1007
|
var element = tmp0_iterator.p();
|
|
1008
1008
|
var tmp$ret$0;
|
|
1009
1009
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
1010
|
-
tmp$ret$0 = element.
|
|
1010
|
+
tmp$ret$0 = element.f3x();
|
|
1011
1011
|
if (!tmp$ret$0) {
|
|
1012
1012
|
tmp0_filterNotTo.g(element);
|
|
1013
1013
|
}
|
|
@@ -1015,14 +1015,14 @@
|
|
|
1015
1015
|
tmp$ret$1 = tmp0_filterNotTo;
|
|
1016
1016
|
tmp$ret$2 = tmp$ret$1;
|
|
1017
1017
|
var options = tmp$ret$2;
|
|
1018
|
-
var arguments_0 = command.
|
|
1019
|
-
var subcommands = command.
|
|
1018
|
+
var arguments_0 = command.f3w_1;
|
|
1019
|
+
var subcommands = command.d3w_1;
|
|
1020
1020
|
var tmp$ret$3;
|
|
1021
1021
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1022
1022
|
tmp$ret$3 = !subcommands.d();
|
|
1023
1023
|
var hasSubcommands = tmp$ret$3;
|
|
1024
|
-
var subcommandsVarName_0 = subcommandsVarName(command.
|
|
1025
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.
|
|
1024
|
+
var subcommandsVarName_0 = subcommandsVarName(command.v2b().o3x(), FishCompletionGenerator_getInstance());
|
|
1025
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.v2b().n3x(), FishCompletionGenerator_getInstance());
|
|
1026
1026
|
if (isTopLevel) {
|
|
1027
1027
|
var tmp$ret$5;
|
|
1028
1028
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1063,7 +1063,7 @@
|
|
|
1063
1063
|
tmp0_apply.re('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
1064
1064
|
}
|
|
1065
1065
|
tmp0_apply.re('-a ' + commandName + ' ');
|
|
1066
|
-
var tmp_0 = command.
|
|
1066
|
+
var tmp_0 = command.p3x();
|
|
1067
1067
|
var help = replace$default_0(tmp_0, "'", "\\'", false, 4, null);
|
|
1068
1068
|
var tmp$ret$10;
|
|
1069
1069
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
@@ -1182,8 +1182,8 @@
|
|
|
1182
1182
|
if (option instanceof OptionWithValues) {
|
|
1183
1183
|
tmp0_apply.re(' -r');
|
|
1184
1184
|
}
|
|
1185
|
-
appendParamCompletion(tmp0_apply, FishCompletionGenerator_getInstance(), option.
|
|
1186
|
-
appendHelp(tmp0_apply, FishCompletionGenerator_getInstance(), option.
|
|
1185
|
+
appendParamCompletion(tmp0_apply, FishCompletionGenerator_getInstance(), option.g3x());
|
|
1186
|
+
appendHelp(tmp0_apply, FishCompletionGenerator_getInstance(), option.q3x());
|
|
1187
1187
|
var tmp$ret$21;
|
|
1188
1188
|
// Inline function 'kotlin.text.appendLine' call
|
|
1189
1189
|
tmp$ret$21 = tmp0_apply.w8(_Char___init__impl__6a9atx(10));
|
|
@@ -1205,8 +1205,8 @@
|
|
|
1205
1205
|
while (tmp2_iterator.m()) {
|
|
1206
1206
|
var argument = tmp2_iterator.p();
|
|
1207
1207
|
appendCompleteCall(tmp0_apply, FishCompletionGenerator_getInstance(), rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1208
|
-
appendParamCompletion(tmp0_apply, FishCompletionGenerator_getInstance(), argument.
|
|
1209
|
-
appendHelp(tmp0_apply, FishCompletionGenerator_getInstance(), argument.
|
|
1208
|
+
appendParamCompletion(tmp0_apply, FishCompletionGenerator_getInstance(), argument.g3x());
|
|
1209
|
+
appendHelp(tmp0_apply, FishCompletionGenerator_getInstance(), argument.r3x());
|
|
1210
1210
|
var tmp$ret$25;
|
|
1211
1211
|
// Inline function 'kotlin.text.appendLine' call
|
|
1212
1212
|
tmp$ret$25 = tmp0_apply.w8(_Char___init__impl__6a9atx(10));
|
|
@@ -1281,10 +1281,10 @@
|
|
|
1281
1281
|
_this__u8e3s4.re(' -fa "(__fish_complete_users)"');
|
|
1282
1282
|
} else {
|
|
1283
1283
|
if (tmp0_subject instanceof Fixed) {
|
|
1284
|
-
joinTo$default(completion.
|
|
1284
|
+
joinTo$default(completion.k3x_1, _this__u8e3s4, ' ', ' -fa "', '"', 0, null, null, 112, null);
|
|
1285
1285
|
} else {
|
|
1286
1286
|
if (tmp0_subject instanceof Custom) {
|
|
1287
|
-
var customCompletion = completion.
|
|
1287
|
+
var customCompletion = completion.i3x_1(ShellType_FISH_getInstance());
|
|
1288
1288
|
_this__u8e3s4.re(' -fa ' + customCompletion);
|
|
1289
1289
|
}
|
|
1290
1290
|
}
|
|
@@ -1301,14 +1301,14 @@
|
|
|
1301
1301
|
var tmp_0;
|
|
1302
1302
|
var tmp$ret$0;
|
|
1303
1303
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1304
|
-
var tmp0_isNotEmpty = _this__u8e3s4.
|
|
1304
|
+
var tmp0_isNotEmpty = _this__u8e3s4.f3w_1;
|
|
1305
1305
|
tmp$ret$0 = !tmp0_isNotEmpty.d();
|
|
1306
1306
|
if (tmp$ret$0) {
|
|
1307
1307
|
tmp_0 = true;
|
|
1308
1308
|
} else {
|
|
1309
1309
|
var tmp$ret$1;
|
|
1310
1310
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1311
|
-
var tmp1_isNotEmpty = _this__u8e3s4.
|
|
1311
|
+
var tmp1_isNotEmpty = _this__u8e3s4.d3w_1;
|
|
1312
1312
|
tmp$ret$1 = !tmp1_isNotEmpty.d();
|
|
1313
1313
|
tmp_0 = tmp$ret$1;
|
|
1314
1314
|
}
|
|
@@ -1320,7 +1320,7 @@
|
|
|
1320
1320
|
// Inline function 'kotlin.collections.any' call
|
|
1321
1321
|
var tmp$ret$4;
|
|
1322
1322
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1323
|
-
var tmp2_flatMap = _this__u8e3s4.
|
|
1323
|
+
var tmp2_flatMap = _this__u8e3s4.e3w_1;
|
|
1324
1324
|
var tmp$ret$3;
|
|
1325
1325
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1326
1326
|
var tmp0_flatMapTo = ArrayList_init_$Create$();
|
|
@@ -1368,10 +1368,10 @@
|
|
|
1368
1368
|
return startsWith$default_0(_this__u8e3s4, tmp, false, 2, null);
|
|
1369
1369
|
}
|
|
1370
1370
|
function _get_allNames__eplh1g_0(_this__u8e3s4, $this) {
|
|
1371
|
-
return plus(_this__u8e3s4.
|
|
1371
|
+
return plus(_this__u8e3s4.k3w(), _this__u8e3s4.l3w());
|
|
1372
1372
|
}
|
|
1373
1373
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
1374
|
-
return it.
|
|
1374
|
+
return it.a3w_1;
|
|
1375
1375
|
}
|
|
1376
1376
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1377
1377
|
var tmp$ret$0;
|
|
@@ -1383,7 +1383,7 @@
|
|
|
1383
1383
|
function FishCompletionGenerator() {
|
|
1384
1384
|
FishCompletionGenerator_instance = this;
|
|
1385
1385
|
}
|
|
1386
|
-
FishCompletionGenerator.prototype.
|
|
1386
|
+
FishCompletionGenerator.prototype.m3x = function (command) {
|
|
1387
1387
|
if (!_get_hasFishCompletionRequirements__qhz0b7(command, this))
|
|
1388
1388
|
return '';
|
|
1389
1389
|
return generateFishCompletionForCommand(this, command);
|
|
@@ -1399,14 +1399,14 @@
|
|
|
1399
1399
|
// Inline function 'kotlin.apply' call
|
|
1400
1400
|
// Inline function 'kotlin.contracts.contract' call
|
|
1401
1401
|
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1402
|
-
_this__u8e3s4.
|
|
1402
|
+
_this__u8e3s4.d3w_1 = plus_1(_this__u8e3s4.d3w_1, commands);
|
|
1403
1403
|
tmp$ret$0 = _this__u8e3s4;
|
|
1404
1404
|
return tmp$ret$0;
|
|
1405
1405
|
}
|
|
1406
1406
|
function registeredOptionNames($this) {
|
|
1407
1407
|
var tmp$ret$2;
|
|
1408
1408
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1409
|
-
var tmp0_flatMapTo = $this.
|
|
1409
|
+
var tmp0_flatMapTo = $this.e3w_1;
|
|
1410
1410
|
var tmp$ret$0;
|
|
1411
1411
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1412
1412
|
tmp$ret$0 = LinkedHashSet_init_$Create$();
|
|
@@ -1416,7 +1416,7 @@
|
|
|
1416
1416
|
var element = tmp0_iterator.p();
|
|
1417
1417
|
var tmp$ret$1;
|
|
1418
1418
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registeredOptionNames.<anonymous>' call
|
|
1419
|
-
tmp$ret$1 = element.
|
|
1419
|
+
tmp$ret$1 = element.k3w();
|
|
1420
1420
|
var list = tmp$ret$1;
|
|
1421
1421
|
addAll(tmp1_flatMapTo, list);
|
|
1422
1422
|
}
|
|
@@ -1424,19 +1424,19 @@
|
|
|
1424
1424
|
return tmp$ret$2;
|
|
1425
1425
|
}
|
|
1426
1426
|
function createContext($this, argv, parent, ancestors) {
|
|
1427
|
-
$this.
|
|
1428
|
-
if ($this.
|
|
1427
|
+
$this.i3w_1 = Companion_getInstance().s3x($this, parent, argv, $this.h3w_1);
|
|
1428
|
+
if ($this.x3v_1) {
|
|
1429
1429
|
// Inline function 'kotlin.require' call
|
|
1430
1430
|
var tmp$ret$1;
|
|
1431
1431
|
$l$block: {
|
|
1432
1432
|
// Inline function 'kotlin.sequences.none' call
|
|
1433
|
-
var tmp0_none = drop($this.
|
|
1433
|
+
var tmp0_none = drop($this.v2b().t3x(), 1);
|
|
1434
1434
|
var tmp0_iterator = tmp0_none.j();
|
|
1435
1435
|
while (tmp0_iterator.m()) {
|
|
1436
1436
|
var element = tmp0_iterator.p();
|
|
1437
1437
|
var tmp$ret$0;
|
|
1438
1438
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1439
|
-
tmp$ret$0 = element.
|
|
1439
|
+
tmp$ret$0 = element.n3w_1.x3v_1;
|
|
1440
1440
|
if (tmp$ret$0) {
|
|
1441
1441
|
tmp$ret$1 = false;
|
|
1442
1442
|
break $l$block;
|
|
@@ -1456,43 +1456,43 @@
|
|
|
1456
1456
|
}
|
|
1457
1457
|
var tmp$ret$3;
|
|
1458
1458
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1459
|
-
var tmp2_isNotEmpty = $this.
|
|
1459
|
+
var tmp2_isNotEmpty = $this.v2b().r3w_1;
|
|
1460
1460
|
tmp$ret$3 = !tmp2_isNotEmpty.d();
|
|
1461
1461
|
if (tmp$ret$3) {
|
|
1462
|
-
var names = minus($this.
|
|
1462
|
+
var names = minus($this.v2b().r3w_1, registeredOptionNames($this));
|
|
1463
1463
|
var tmp$ret$4;
|
|
1464
1464
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1465
1465
|
tmp$ret$4 = !names.d();
|
|
1466
1466
|
if (tmp$ret$4) {
|
|
1467
1467
|
var tmp0_this = $this;
|
|
1468
1468
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1469
|
-
var tmp3_plusAssign = tmp0_this.
|
|
1470
|
-
var tmp4_plusAssign = helpOption(names, $this.
|
|
1469
|
+
var tmp3_plusAssign = tmp0_this.e3w_1;
|
|
1470
|
+
var tmp4_plusAssign = helpOption(names, $this.v2b().z3w_1.u3x());
|
|
1471
1471
|
tmp3_plusAssign.g(tmp4_plusAssign);
|
|
1472
1472
|
}
|
|
1473
1473
|
}
|
|
1474
|
-
var tmp1_iterator = $this.
|
|
1474
|
+
var tmp1_iterator = $this.d3w_1.j();
|
|
1475
1475
|
while (tmp1_iterator.m()) {
|
|
1476
1476
|
var command = tmp1_iterator.p();
|
|
1477
1477
|
var tmp2_safe_receiver = parent;
|
|
1478
|
-
var a = filterNotNull(plus_2(ancestors, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
1478
|
+
var a = filterNotNull(plus_2(ancestors, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.n3w_1));
|
|
1479
1479
|
// Inline function 'kotlin.check' call
|
|
1480
1480
|
var tmp5_check = !a.v(command);
|
|
1481
1481
|
// Inline function 'kotlin.contracts.contract' call
|
|
1482
1482
|
if (!tmp5_check) {
|
|
1483
1483
|
var tmp$ret$5;
|
|
1484
1484
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1485
|
-
tmp$ret$5 = 'Command ' + command.
|
|
1485
|
+
tmp$ret$5 = 'Command ' + command.a3w_1 + ' already registered';
|
|
1486
1486
|
var message_0 = tmp$ret$5;
|
|
1487
1487
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1488
1488
|
}
|
|
1489
|
-
createContext(command, argv, $this.
|
|
1489
|
+
createContext(command, argv, $this.v2b(), a);
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
1492
|
function allHelpParams($this) {
|
|
1493
1493
|
var tmp$ret$3;
|
|
1494
1494
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1495
|
-
var tmp0_mapNotNull = $this.
|
|
1495
|
+
var tmp0_mapNotNull = $this.e3w_1;
|
|
1496
1496
|
var tmp$ret$2;
|
|
1497
1497
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1498
1498
|
var tmp0_mapNotNullTo = ArrayList_init_$Create$();
|
|
@@ -1503,7 +1503,7 @@
|
|
|
1503
1503
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1504
1504
|
var tmp$ret$0;
|
|
1505
1505
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1506
|
-
tmp$ret$0 = element.
|
|
1506
|
+
tmp$ret$0 = element.v3x($this.v2b());
|
|
1507
1507
|
var tmp0_safe_receiver = tmp$ret$0;
|
|
1508
1508
|
if (tmp0_safe_receiver == null)
|
|
1509
1509
|
null;
|
|
@@ -1520,7 +1520,7 @@
|
|
|
1520
1520
|
var tmp = tmp$ret$3;
|
|
1521
1521
|
var tmp$ret$7;
|
|
1522
1522
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1523
|
-
var tmp1_mapNotNull = $this.
|
|
1523
|
+
var tmp1_mapNotNull = $this.f3w_1;
|
|
1524
1524
|
var tmp$ret$6;
|
|
1525
1525
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1526
1526
|
var tmp0_mapNotNullTo_0 = ArrayList_init_$Create$();
|
|
@@ -1531,7 +1531,7 @@
|
|
|
1531
1531
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1532
1532
|
var tmp$ret$4;
|
|
1533
1533
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1534
|
-
tmp$ret$4 = element_0.
|
|
1534
|
+
tmp$ret$4 = element_0.v3x($this.v2b());
|
|
1535
1535
|
var tmp0_safe_receiver_0 = tmp$ret$4;
|
|
1536
1536
|
if (tmp0_safe_receiver_0 == null)
|
|
1537
1537
|
null;
|
|
@@ -1548,7 +1548,7 @@
|
|
|
1548
1548
|
var tmp_0 = plus_0(tmp, tmp$ret$7);
|
|
1549
1549
|
var tmp$ret$11;
|
|
1550
1550
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1551
|
-
var tmp2_mapNotNull = $this.
|
|
1551
|
+
var tmp2_mapNotNull = $this.g3w_1;
|
|
1552
1552
|
var tmp$ret$10;
|
|
1553
1553
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1554
1554
|
var tmp0_mapNotNullTo_1 = ArrayList_init_$Create$();
|
|
@@ -1559,7 +1559,7 @@
|
|
|
1559
1559
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1560
1560
|
var tmp$ret$8;
|
|
1561
1561
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1562
|
-
tmp$ret$8 = element_1.
|
|
1562
|
+
tmp$ret$8 = element_1.v3x($this.v2b());
|
|
1563
1563
|
var tmp0_safe_receiver_1 = tmp$ret$8;
|
|
1564
1564
|
if (tmp0_safe_receiver_1 == null)
|
|
1565
1565
|
null;
|
|
@@ -1576,7 +1576,7 @@
|
|
|
1576
1576
|
var tmp_1 = plus_0(tmp_0, tmp$ret$11);
|
|
1577
1577
|
var tmp$ret$15;
|
|
1578
1578
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1579
|
-
var tmp3_mapNotNull = $this.
|
|
1579
|
+
var tmp3_mapNotNull = $this.d3w_1;
|
|
1580
1580
|
var tmp$ret$14;
|
|
1581
1581
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1582
1582
|
var tmp0_mapNotNullTo_2 = ArrayList_init_$Create$();
|
|
@@ -1587,7 +1587,7 @@
|
|
|
1587
1587
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1588
1588
|
var tmp$ret$12;
|
|
1589
1589
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1590
|
-
tmp$ret$12 = element_2.
|
|
1590
|
+
tmp$ret$12 = element_2.z3v_1 ? null : new Subcommand(element_2.a3w_1, element_2.w3x(), element_2.v3v_1);
|
|
1591
1591
|
var tmp0_safe_receiver_2 = tmp$ret$12;
|
|
1592
1592
|
if (tmp0_safe_receiver_2 == null)
|
|
1593
1593
|
null;
|
|
@@ -1604,30 +1604,30 @@
|
|
|
1604
1604
|
return plus_0(tmp_1, tmp$ret$15);
|
|
1605
1605
|
}
|
|
1606
1606
|
function getCommandNameWithParents($this) {
|
|
1607
|
-
if ($this.
|
|
1607
|
+
if ($this.i3w_1 == null) {
|
|
1608
1608
|
createContext($this, emptyList(), null, emptyList());
|
|
1609
1609
|
}
|
|
1610
|
-
var tmp = $this.
|
|
1610
|
+
var tmp = $this.v2b().o3x();
|
|
1611
1611
|
return joinToString$default(tmp, ' ', null, null, 0, null, null, 62, null);
|
|
1612
1612
|
}
|
|
1613
1613
|
function generateCompletion($this) {
|
|
1614
|
-
if ($this.
|
|
1614
|
+
if ($this.w3v_1 == null)
|
|
1615
1615
|
return Unit_getInstance();
|
|
1616
1616
|
var tmp;
|
|
1617
|
-
if (isBlank($this.
|
|
1617
|
+
if (isBlank($this.w3v_1)) {
|
|
1618
1618
|
var tmp$ret$1;
|
|
1619
1619
|
// Inline function 'kotlin.text.uppercase' call
|
|
1620
|
-
var tmp0_uppercase = replace$default_0($this.
|
|
1620
|
+
var tmp0_uppercase = replace$default_0($this.a3w_1, '-', '_', false, 4, null);
|
|
1621
1621
|
var tmp$ret$0;
|
|
1622
1622
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1623
1623
|
tmp$ret$0 = tmp0_uppercase;
|
|
1624
1624
|
tmp$ret$1 = tmp$ret$0.toUpperCase();
|
|
1625
1625
|
tmp = '_' + tmp$ret$1 + '_COMPLETE';
|
|
1626
1626
|
} else {
|
|
1627
|
-
tmp = $this.
|
|
1627
|
+
tmp = $this.w3v_1;
|
|
1628
1628
|
}
|
|
1629
1629
|
var envvar = tmp;
|
|
1630
|
-
var tmp0_elvis_lhs = $this.
|
|
1630
|
+
var tmp0_elvis_lhs = $this.v2b().a3x_1(envvar);
|
|
1631
1631
|
var tmp_0;
|
|
1632
1632
|
if (tmp0_elvis_lhs == null) {
|
|
1633
1633
|
return Unit_getInstance();
|
|
@@ -1635,7 +1635,7 @@
|
|
|
1635
1635
|
tmp_0 = tmp0_elvis_lhs;
|
|
1636
1636
|
}
|
|
1637
1637
|
var envval = tmp_0;
|
|
1638
|
-
CompletionGenerator_getInstance().
|
|
1638
|
+
CompletionGenerator_getInstance().l3x($this, envval);
|
|
1639
1639
|
}
|
|
1640
1640
|
function CliktCommand$_contextConfig$lambda($this$null) {
|
|
1641
1641
|
return Unit_getInstance();
|
|
@@ -1644,54 +1644,54 @@
|
|
|
1644
1644
|
return it;
|
|
1645
1645
|
}
|
|
1646
1646
|
function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, treatUnknownOptionsAsArgs, hidden) {
|
|
1647
|
-
this.
|
|
1648
|
-
this.
|
|
1649
|
-
this.
|
|
1650
|
-
this.
|
|
1651
|
-
this.
|
|
1652
|
-
this.
|
|
1653
|
-
this.
|
|
1647
|
+
this.t3v_1 = invokeWithoutSubcommand;
|
|
1648
|
+
this.u3v_1 = printHelpOnEmptyArgs;
|
|
1649
|
+
this.v3v_1 = helpTags;
|
|
1650
|
+
this.w3v_1 = autoCompleteEnvvar;
|
|
1651
|
+
this.x3v_1 = allowMultipleSubcommands;
|
|
1652
|
+
this.y3v_1 = treatUnknownOptionsAsArgs;
|
|
1653
|
+
this.z3v_1 = hidden;
|
|
1654
1654
|
var tmp = this;
|
|
1655
1655
|
var tmp0_elvis_lhs = name;
|
|
1656
|
-
tmp.
|
|
1657
|
-
this.
|
|
1658
|
-
this.
|
|
1659
|
-
this.
|
|
1656
|
+
tmp.a3w_1 = tmp0_elvis_lhs == null ? inferCommandName(this) : tmp0_elvis_lhs;
|
|
1657
|
+
this.b3w_1 = help;
|
|
1658
|
+
this.c3w_1 = epilog;
|
|
1659
|
+
this.d3w_1 = emptyList();
|
|
1660
1660
|
var tmp_0 = this;
|
|
1661
1661
|
var tmp$ret$0;
|
|
1662
1662
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1663
1663
|
tmp$ret$0 = ArrayList_init_$Create$();
|
|
1664
|
-
tmp_0.
|
|
1664
|
+
tmp_0.e3w_1 = tmp$ret$0;
|
|
1665
1665
|
var tmp_1 = this;
|
|
1666
1666
|
var tmp$ret$1;
|
|
1667
1667
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1668
1668
|
tmp$ret$1 = ArrayList_init_$Create$();
|
|
1669
|
-
tmp_1.
|
|
1669
|
+
tmp_1.f3w_1 = tmp$ret$1;
|
|
1670
1670
|
var tmp_2 = this;
|
|
1671
1671
|
var tmp$ret$2;
|
|
1672
1672
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1673
1673
|
tmp$ret$2 = ArrayList_init_$Create$();
|
|
1674
|
-
tmp_2.
|
|
1674
|
+
tmp_2.g3w_1 = tmp$ret$2;
|
|
1675
1675
|
var tmp_3 = this;
|
|
1676
|
-
tmp_3.
|
|
1677
|
-
this.
|
|
1676
|
+
tmp_3.h3w_1 = CliktCommand$_contextConfig$lambda;
|
|
1677
|
+
this.i3w_1 = null;
|
|
1678
1678
|
var tmp_4 = this;
|
|
1679
1679
|
var tmp$ret$3;
|
|
1680
1680
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1681
1681
|
tmp$ret$3 = ArrayList_init_$Create$();
|
|
1682
|
-
tmp_4.
|
|
1682
|
+
tmp_4.j3w_1 = tmp$ret$3;
|
|
1683
1683
|
}
|
|
1684
|
-
CliktCommand.prototype.
|
|
1685
|
-
return this.
|
|
1684
|
+
CliktCommand.prototype.p3x = function () {
|
|
1685
|
+
return this.b3w_1;
|
|
1686
1686
|
};
|
|
1687
|
-
CliktCommand.prototype.
|
|
1688
|
-
return this.
|
|
1687
|
+
CliktCommand.prototype.x3x = function () {
|
|
1688
|
+
return this.c3w_1;
|
|
1689
1689
|
};
|
|
1690
|
-
CliktCommand.prototype.
|
|
1690
|
+
CliktCommand.prototype.v2b = function () {
|
|
1691
1691
|
var tmp$ret$1;
|
|
1692
1692
|
$l$block: {
|
|
1693
1693
|
// Inline function 'kotlin.checkNotNull' call
|
|
1694
|
-
var tmp0_checkNotNull = this.
|
|
1694
|
+
var tmp0_checkNotNull = this.i3w_1;
|
|
1695
1695
|
// Inline function 'kotlin.contracts.contract' call
|
|
1696
1696
|
if (tmp0_checkNotNull == null) {
|
|
1697
1697
|
var tmp$ret$0;
|
|
@@ -1704,23 +1704,23 @@
|
|
|
1704
1704
|
break $l$block;
|
|
1705
1705
|
}
|
|
1706
1706
|
}
|
|
1707
|
-
return ensureNotNull(this.
|
|
1707
|
+
return ensureNotNull(this.i3w_1);
|
|
1708
1708
|
};
|
|
1709
|
-
CliktCommand.prototype.
|
|
1710
|
-
return this.
|
|
1709
|
+
CliktCommand.prototype.y3x = function () {
|
|
1710
|
+
return this.j3w_1;
|
|
1711
1711
|
};
|
|
1712
|
-
CliktCommand.prototype.
|
|
1712
|
+
CliktCommand.prototype.w3x = function () {
|
|
1713
1713
|
var tmp = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)');
|
|
1714
|
-
var tmp_0 = this.
|
|
1714
|
+
var tmp_0 = this.p3x();
|
|
1715
1715
|
var tmp0_safe_receiver = tmp.gf(tmp_0, 0, 2, null);
|
|
1716
1716
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l9();
|
|
1717
1717
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.n(1);
|
|
1718
1718
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.qf_1;
|
|
1719
1719
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1720
1720
|
};
|
|
1721
|
-
CliktCommand.prototype.
|
|
1721
|
+
CliktCommand.prototype.z3x = function (option) {
|
|
1722
1722
|
var names = registeredOptionNames(this);
|
|
1723
|
-
var tmp0_iterator = option.
|
|
1723
|
+
var tmp0_iterator = option.k3w().j();
|
|
1724
1724
|
while (tmp0_iterator.m()) {
|
|
1725
1725
|
var name = tmp0_iterator.p();
|
|
1726
1726
|
// Inline function 'kotlin.require' call
|
|
@@ -1736,22 +1736,22 @@
|
|
|
1736
1736
|
}
|
|
1737
1737
|
var tmp1_this = this;
|
|
1738
1738
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1739
|
-
var tmp1_plusAssign = tmp1_this.
|
|
1739
|
+
var tmp1_plusAssign = tmp1_this.e3w_1;
|
|
1740
1740
|
tmp1_plusAssign.g(option);
|
|
1741
1741
|
};
|
|
1742
|
-
CliktCommand.prototype.
|
|
1743
|
-
return this.
|
|
1742
|
+
CliktCommand.prototype.a3y = function (option) {
|
|
1743
|
+
return this.z3x(isInterface(option, Option_0) ? option : THROW_CCE());
|
|
1744
1744
|
};
|
|
1745
|
-
CliktCommand.prototype.
|
|
1745
|
+
CliktCommand.prototype.b3y = function (argument) {
|
|
1746
1746
|
// Inline function 'kotlin.require' call
|
|
1747
1747
|
var tmp;
|
|
1748
|
-
if (argument.
|
|
1748
|
+
if (argument.h3x() > 0) {
|
|
1749
1749
|
tmp = true;
|
|
1750
1750
|
} else {
|
|
1751
1751
|
var tmp$ret$0;
|
|
1752
1752
|
$l$block_0: {
|
|
1753
1753
|
// Inline function 'kotlin.collections.none' call
|
|
1754
|
-
var tmp0_none = this.
|
|
1754
|
+
var tmp0_none = this.f3w_1;
|
|
1755
1755
|
var tmp_0;
|
|
1756
1756
|
if (isInterface(tmp0_none, Collection)) {
|
|
1757
1757
|
tmp_0 = tmp0_none.d();
|
|
@@ -1767,7 +1767,7 @@
|
|
|
1767
1767
|
var element = tmp0_iterator.p();
|
|
1768
1768
|
var tmp$ret$1;
|
|
1769
1769
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerArgument.<anonymous>' call
|
|
1770
|
-
tmp$ret$1 = element.
|
|
1770
|
+
tmp$ret$1 = element.h3x() < 0;
|
|
1771
1771
|
if (tmp$ret$1) {
|
|
1772
1772
|
tmp$ret$0 = false;
|
|
1773
1773
|
break $l$block_0;
|
|
@@ -1788,38 +1788,38 @@
|
|
|
1788
1788
|
}
|
|
1789
1789
|
var tmp0_this = this;
|
|
1790
1790
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1791
|
-
var tmp2_plusAssign = tmp0_this.
|
|
1791
|
+
var tmp2_plusAssign = tmp0_this.f3w_1;
|
|
1792
1792
|
tmp2_plusAssign.g(argument);
|
|
1793
1793
|
};
|
|
1794
|
-
CliktCommand.prototype.
|
|
1794
|
+
CliktCommand.prototype.c3y = function () {
|
|
1795
1795
|
var programName = getCommandNameWithParents(this);
|
|
1796
|
-
return this.
|
|
1796
|
+
return this.v2b().s3w_1.d3y(allHelpParams(this), programName);
|
|
1797
1797
|
};
|
|
1798
|
-
CliktCommand.prototype.
|
|
1798
|
+
CliktCommand.prototype.e3y = function () {
|
|
1799
1799
|
var programName = getCommandNameWithParents(this);
|
|
1800
|
-
return this.
|
|
1800
|
+
return this.v2b().s3w_1.f3y(this.p3x(), this.x3x(), allHelpParams(this), programName);
|
|
1801
1801
|
};
|
|
1802
|
-
CliktCommand.prototype.
|
|
1802
|
+
CliktCommand.prototype.j3x = function () {
|
|
1803
1803
|
return emptyMap();
|
|
1804
1804
|
};
|
|
1805
|
-
CliktCommand.prototype.
|
|
1806
|
-
TermUi_getInstance().
|
|
1805
|
+
CliktCommand.prototype.g3y = function (message, trailingNewline, err, lineSeparator) {
|
|
1806
|
+
TermUi_getInstance().h3y(message, trailingNewline, err, this.v2b().u3w_1, lineSeparator);
|
|
1807
1807
|
};
|
|
1808
|
-
CliktCommand.prototype.
|
|
1808
|
+
CliktCommand.prototype.i3y = function (message, trailingNewline, err, lineSeparator, $mask0, $handler) {
|
|
1809
1809
|
if (!(($mask0 & 2) === 0))
|
|
1810
1810
|
trailingNewline = true;
|
|
1811
1811
|
if (!(($mask0 & 4) === 0))
|
|
1812
1812
|
err = false;
|
|
1813
1813
|
if (!(($mask0 & 8) === 0))
|
|
1814
|
-
lineSeparator = this.
|
|
1815
|
-
return this.
|
|
1814
|
+
lineSeparator = this.v2b().u3w_1.j3y();
|
|
1815
|
+
return this.g3y(message, trailingNewline, err, lineSeparator);
|
|
1816
1816
|
};
|
|
1817
|
-
CliktCommand.prototype.
|
|
1817
|
+
CliktCommand.prototype.k3y = function (text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault) {
|
|
1818
1818
|
var tmp = TermUi_getInstance();
|
|
1819
|
-
var tmp_0 = this.
|
|
1820
|
-
return tmp.
|
|
1819
|
+
var tmp_0 = this.v2b().u3w_1;
|
|
1820
|
+
return tmp.l3y(text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault, tmp_0, CliktCommand$prompt$lambda);
|
|
1821
1821
|
};
|
|
1822
|
-
CliktCommand.prototype.
|
|
1822
|
+
CliktCommand.prototype.m3y = function (text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault, $mask0, $handler) {
|
|
1823
1823
|
if (!(($mask0 & 2) === 0))
|
|
1824
1824
|
default_0 = null;
|
|
1825
1825
|
if (!(($mask0 & 4) === 0))
|
|
@@ -1832,55 +1832,55 @@
|
|
|
1832
1832
|
promptSuffix = ': ';
|
|
1833
1833
|
if (!(($mask0 & 64) === 0))
|
|
1834
1834
|
showDefault = true;
|
|
1835
|
-
return this.
|
|
1835
|
+
return this.k3y(text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault);
|
|
1836
1836
|
};
|
|
1837
|
-
CliktCommand.prototype.
|
|
1837
|
+
CliktCommand.prototype.n3y = function (argv, parentContext) {
|
|
1838
1838
|
createContext(this, argv, parentContext, emptyList());
|
|
1839
1839
|
generateCompletion(this);
|
|
1840
|
-
Parser_getInstance().
|
|
1840
|
+
Parser_getInstance().o3y(argv, this.v2b());
|
|
1841
1841
|
};
|
|
1842
|
-
CliktCommand.prototype.
|
|
1842
|
+
CliktCommand.prototype.p3y = function (argv, parentContext, $mask0, $handler) {
|
|
1843
1843
|
if (!(($mask0 & 2) === 0))
|
|
1844
1844
|
parentContext = null;
|
|
1845
|
-
return this.
|
|
1845
|
+
return this.n3y(argv, parentContext);
|
|
1846
1846
|
};
|
|
1847
|
-
CliktCommand.prototype.
|
|
1847
|
+
CliktCommand.prototype.q3y = function (argv) {
|
|
1848
1848
|
try {
|
|
1849
|
-
this.
|
|
1849
|
+
this.p3y(argv, null, 2, null);
|
|
1850
1850
|
} catch ($p) {
|
|
1851
1851
|
if ($p instanceof ProgramResult) {
|
|
1852
|
-
exitProcessMpp($p.
|
|
1852
|
+
exitProcessMpp($p.f3z_1);
|
|
1853
1853
|
} else {
|
|
1854
1854
|
if ($p instanceof PrintHelpMessage) {
|
|
1855
|
-
var tmp = $p.
|
|
1856
|
-
this.
|
|
1857
|
-
exitProcessMpp($p.
|
|
1855
|
+
var tmp = $p.d3z_1.e3y();
|
|
1856
|
+
this.i3y(tmp, false, false, null, 14, null);
|
|
1857
|
+
exitProcessMpp($p.e3z_1 ? 1 : 0);
|
|
1858
1858
|
} else {
|
|
1859
1859
|
if ($p instanceof PrintCompletionMessage) {
|
|
1860
|
-
var s = $p.
|
|
1860
|
+
var s = $p.c3z_1 ? '\n' : this.v2b().u3w_1.j3y();
|
|
1861
1861
|
var tmp_0 = $p.message;
|
|
1862
|
-
this.
|
|
1862
|
+
this.i3y(tmp_0, false, false, s, 6, null);
|
|
1863
1863
|
exitProcessMpp(0);
|
|
1864
1864
|
} else {
|
|
1865
1865
|
if ($p instanceof PrintMessage) {
|
|
1866
1866
|
var tmp_1 = $p.message;
|
|
1867
|
-
this.
|
|
1868
|
-
exitProcessMpp($p.
|
|
1867
|
+
this.i3y(tmp_1, false, false, null, 14, null);
|
|
1868
|
+
exitProcessMpp($p.a3z_1 ? 1 : 0);
|
|
1869
1869
|
} else {
|
|
1870
1870
|
if ($p instanceof UsageError) {
|
|
1871
|
-
var tmp_2 = $p.
|
|
1872
|
-
this.
|
|
1873
|
-
exitProcessMpp($p.
|
|
1871
|
+
var tmp_2 = $p.z3y();
|
|
1872
|
+
this.i3y(tmp_2, false, true, null, 10, null);
|
|
1873
|
+
exitProcessMpp($p.y3y_1);
|
|
1874
1874
|
} else {
|
|
1875
1875
|
if ($p instanceof CliktError) {
|
|
1876
1876
|
var tmp_3 = $p.message;
|
|
1877
|
-
this.
|
|
1877
|
+
this.i3y(tmp_3, false, true, null, 10, null);
|
|
1878
1878
|
exitProcessMpp(1);
|
|
1879
1879
|
} else {
|
|
1880
1880
|
if ($p instanceof Abort) {
|
|
1881
|
-
var tmp_4 = this.
|
|
1882
|
-
this.
|
|
1883
|
-
exitProcessMpp($p.
|
|
1881
|
+
var tmp_4 = this.v2b().z3w_1.r3y();
|
|
1882
|
+
this.i3y(tmp_4, false, true, null, 10, null);
|
|
1883
|
+
exitProcessMpp($p.s3y_1 ? 1 : 0);
|
|
1884
1884
|
} else {
|
|
1885
1885
|
throw $p;
|
|
1886
1886
|
}
|
|
@@ -1892,8 +1892,8 @@
|
|
|
1892
1892
|
}
|
|
1893
1893
|
}
|
|
1894
1894
|
};
|
|
1895
|
-
CliktCommand.prototype.
|
|
1896
|
-
return this.
|
|
1895
|
+
CliktCommand.prototype.g3z = function (argv) {
|
|
1896
|
+
return this.q3y(asList(argv));
|
|
1897
1897
|
};
|
|
1898
1898
|
CliktCommand.prototype.toString = function () {
|
|
1899
1899
|
var tmp$ret$7;
|
|
@@ -1904,19 +1904,19 @@
|
|
|
1904
1904
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
1905
1905
|
// Inline function 'kotlin.contracts.contract' call
|
|
1906
1906
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1907
|
-
tmp0_apply.re('<' + classSimpleName(this) + ' name=' + this.
|
|
1907
|
+
tmp0_apply.re('<' + classSimpleName(this) + ' name=' + this.a3w_1);
|
|
1908
1908
|
var tmp;
|
|
1909
1909
|
var tmp_0;
|
|
1910
1910
|
var tmp$ret$0;
|
|
1911
1911
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1912
|
-
var tmp0_isNotEmpty = this.
|
|
1912
|
+
var tmp0_isNotEmpty = this.e3w_1;
|
|
1913
1913
|
tmp$ret$0 = !tmp0_isNotEmpty.d();
|
|
1914
1914
|
if (tmp$ret$0) {
|
|
1915
1915
|
tmp_0 = true;
|
|
1916
1916
|
} else {
|
|
1917
1917
|
var tmp$ret$1;
|
|
1918
1918
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1919
|
-
var tmp1_isNotEmpty = this.
|
|
1919
|
+
var tmp1_isNotEmpty = this.f3w_1;
|
|
1920
1920
|
tmp$ret$1 = !tmp1_isNotEmpty.d();
|
|
1921
1921
|
tmp_0 = tmp$ret$1;
|
|
1922
1922
|
}
|
|
@@ -1925,7 +1925,7 @@
|
|
|
1925
1925
|
} else {
|
|
1926
1926
|
var tmp$ret$2;
|
|
1927
1927
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1928
|
-
var tmp2_isNotEmpty = this.
|
|
1928
|
+
var tmp2_isNotEmpty = this.d3w_1;
|
|
1929
1929
|
tmp$ret$2 = !tmp2_isNotEmpty.d();
|
|
1930
1930
|
tmp = tmp$ret$2;
|
|
1931
1931
|
}
|
|
@@ -1934,11 +1934,11 @@
|
|
|
1934
1934
|
}
|
|
1935
1935
|
var tmp$ret$3;
|
|
1936
1936
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1937
|
-
var tmp3_isNotEmpty = this.
|
|
1937
|
+
var tmp3_isNotEmpty = this.e3w_1;
|
|
1938
1938
|
tmp$ret$3 = !tmp3_isNotEmpty.d();
|
|
1939
1939
|
if (tmp$ret$3) {
|
|
1940
1940
|
tmp0_apply.re('options=[');
|
|
1941
|
-
var iterator = this.
|
|
1941
|
+
var iterator = this.e3w_1.j();
|
|
1942
1942
|
var index = 0;
|
|
1943
1943
|
while (iterator.m()) {
|
|
1944
1944
|
var i = index;
|
|
@@ -1949,7 +1949,7 @@
|
|
|
1949
1949
|
}
|
|
1950
1950
|
tmp0_apply.re(longestName(option));
|
|
1951
1951
|
var tmp_1;
|
|
1952
|
-
if (!(this.
|
|
1952
|
+
if (!(this.i3w_1 == null)) {
|
|
1953
1953
|
tmp_1 = isInterface(option, OptionDelegate);
|
|
1954
1954
|
} else {
|
|
1955
1955
|
tmp_1 = false;
|
|
@@ -1970,11 +1970,11 @@
|
|
|
1970
1970
|
}
|
|
1971
1971
|
var tmp$ret$4;
|
|
1972
1972
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1973
|
-
var tmp4_isNotEmpty = this.
|
|
1973
|
+
var tmp4_isNotEmpty = this.f3w_1;
|
|
1974
1974
|
tmp$ret$4 = !tmp4_isNotEmpty.d();
|
|
1975
1975
|
if (tmp$ret$4) {
|
|
1976
1976
|
tmp0_apply.re(' arguments=[');
|
|
1977
|
-
var iterator_0 = this.
|
|
1977
|
+
var iterator_0 = this.f3w_1.j();
|
|
1978
1978
|
var index_0 = 0;
|
|
1979
1979
|
while (iterator_0.m()) {
|
|
1980
1980
|
var i_0 = index_0;
|
|
@@ -1985,7 +1985,7 @@
|
|
|
1985
1985
|
}
|
|
1986
1986
|
tmp0_apply.re(argument.og());
|
|
1987
1987
|
var tmp_2;
|
|
1988
|
-
if (!(this.
|
|
1988
|
+
if (!(this.i3w_1 == null)) {
|
|
1989
1989
|
tmp_2 = argument instanceof ProcessedArgument;
|
|
1990
1990
|
} else {
|
|
1991
1991
|
tmp_2 = false;
|
|
@@ -2006,10 +2006,10 @@
|
|
|
2006
2006
|
}
|
|
2007
2007
|
var tmp$ret$5;
|
|
2008
2008
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
2009
|
-
var tmp5_isNotEmpty = this.
|
|
2009
|
+
var tmp5_isNotEmpty = this.d3w_1;
|
|
2010
2010
|
tmp$ret$5 = !tmp5_isNotEmpty.d();
|
|
2011
2011
|
if (tmp$ret$5) {
|
|
2012
|
-
var tmp_3 = this.
|
|
2012
|
+
var tmp_3 = this.d3w_1;
|
|
2013
2013
|
joinTo$default(tmp_3, tmp0_apply, ' ', ' subcommands=[', ']', 0, null, null, 112, null);
|
|
2014
2014
|
}
|
|
2015
2015
|
tmp0_apply.re('>');
|
|
@@ -2066,32 +2066,32 @@
|
|
|
2066
2066
|
function Builder(command, parent) {
|
|
2067
2067
|
var tmp = this;
|
|
2068
2068
|
var tmp0_safe_receiver = parent;
|
|
2069
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2070
|
-
tmp.
|
|
2069
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o3w_1;
|
|
2070
|
+
tmp.s3z_1 = tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
2071
2071
|
var tmp_0 = this;
|
|
2072
2072
|
var tmp0_safe_receiver_0 = parent;
|
|
2073
|
-
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
2074
|
-
tmp_0.
|
|
2073
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.q3w_1;
|
|
2074
|
+
tmp_0.t3z_1 = tmp1_elvis_lhs_0 == null ? true : tmp1_elvis_lhs_0;
|
|
2075
2075
|
var tmp_1 = this;
|
|
2076
2076
|
var tmp0_safe_receiver_1 = parent;
|
|
2077
|
-
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.
|
|
2078
|
-
tmp_1.
|
|
2077
|
+
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.r3w_1;
|
|
2078
|
+
tmp_1.u3z_1 = tmp1_elvis_lhs_1 == null ? setOf(['-h', '--help']) : tmp1_elvis_lhs_1;
|
|
2079
2079
|
var tmp_2 = this;
|
|
2080
2080
|
var tmp0_safe_receiver_2 = parent;
|
|
2081
|
-
tmp_2.
|
|
2081
|
+
tmp_2.v3z_1 = tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.s3w_1;
|
|
2082
2082
|
var tmp_3 = this;
|
|
2083
2083
|
var tmp0_safe_receiver_3 = parent;
|
|
2084
|
-
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.
|
|
2084
|
+
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.t3w_1;
|
|
2085
2085
|
var tmp_4;
|
|
2086
2086
|
if (tmp1_elvis_lhs_2 == null) {
|
|
2087
2087
|
tmp_4 = Context$Builder$tokenTransformer$lambda;
|
|
2088
2088
|
} else {
|
|
2089
2089
|
tmp_4 = tmp1_elvis_lhs_2;
|
|
2090
2090
|
}
|
|
2091
|
-
tmp_3.
|
|
2091
|
+
tmp_3.w3z_1 = tmp_4;
|
|
2092
2092
|
var tmp_5 = this;
|
|
2093
2093
|
var tmp0_safe_receiver_4 = parent;
|
|
2094
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.
|
|
2094
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.p3w_1;
|
|
2095
2095
|
var tmp_6;
|
|
2096
2096
|
if (tmp1_safe_receiver == null) {
|
|
2097
2097
|
tmp_6 = null;
|
|
@@ -2106,7 +2106,7 @@
|
|
|
2106
2106
|
// Inline function 'kotlin.text.uppercase' call
|
|
2107
2107
|
var tmp$ret$0;
|
|
2108
2108
|
// Inline function 'kotlin.text.replace' call
|
|
2109
|
-
var tmp0_replace = command.
|
|
2109
|
+
var tmp0_replace = command.a3w_1;
|
|
2110
2110
|
var tmp1_replace = Regex_init_$Create$('\\W');
|
|
2111
2111
|
tmp$ret$0 = tmp1_replace.kf(tmp0_replace, '_');
|
|
2112
2112
|
var tmp2_uppercase = tmp$ret$0;
|
|
@@ -2118,46 +2118,46 @@
|
|
|
2118
2118
|
tmp$ret$4 = tmp$ret$3;
|
|
2119
2119
|
tmp_6 = tmp$ret$4;
|
|
2120
2120
|
}
|
|
2121
|
-
tmp_5.
|
|
2121
|
+
tmp_5.x3z_1 = tmp_6;
|
|
2122
2122
|
var tmp_8 = this;
|
|
2123
2123
|
var tmp0_safe_receiver_5 = parent;
|
|
2124
|
-
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.
|
|
2125
|
-
tmp_8.
|
|
2124
|
+
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.u3w_1;
|
|
2125
|
+
tmp_8.y3z_1 = tmp1_elvis_lhs_3 == null ? defaultCliktConsole() : tmp1_elvis_lhs_3;
|
|
2126
2126
|
var tmp_9 = this;
|
|
2127
2127
|
var tmp0_safe_receiver_6 = parent;
|
|
2128
|
-
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.
|
|
2129
|
-
tmp_9.
|
|
2128
|
+
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.v3w_1;
|
|
2129
|
+
tmp_9.z3z_1 = tmp1_elvis_lhs_4 == null ? true : tmp1_elvis_lhs_4;
|
|
2130
2130
|
var tmp_10 = this;
|
|
2131
2131
|
var tmp0_safe_receiver_7 = parent;
|
|
2132
|
-
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_7 == null ? null : tmp0_safe_receiver_7.
|
|
2133
|
-
tmp_10.
|
|
2132
|
+
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_7 == null ? null : tmp0_safe_receiver_7.w3w_1;
|
|
2133
|
+
tmp_10.a40_1 = tmp1_elvis_lhs_5 == null ? true : tmp1_elvis_lhs_5;
|
|
2134
2134
|
var tmp_11 = this;
|
|
2135
2135
|
var tmp0_safe_receiver_8 = parent;
|
|
2136
|
-
tmp_11.
|
|
2137
|
-
this.
|
|
2138
|
-
this.
|
|
2136
|
+
tmp_11.b40_1 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.x3w_1;
|
|
2137
|
+
this.c40_1 = get_DEFAULT_CORRECTION_SUGGESTOR();
|
|
2138
|
+
this.d40_1 = get_defaultLocalization();
|
|
2139
2139
|
var tmp_12 = this;
|
|
2140
2140
|
var tmp0_safe_receiver_9 = parent;
|
|
2141
|
-
var tmp1_elvis_lhs_6 = tmp0_safe_receiver_9 == null ? null : tmp0_safe_receiver_9.
|
|
2141
|
+
var tmp1_elvis_lhs_6 = tmp0_safe_receiver_9 == null ? null : tmp0_safe_receiver_9.a3x_1;
|
|
2142
2142
|
var tmp_13;
|
|
2143
2143
|
if (tmp1_elvis_lhs_6 == null) {
|
|
2144
2144
|
tmp_13 = readEnvvar$ref();
|
|
2145
2145
|
} else {
|
|
2146
2146
|
tmp_13 = tmp1_elvis_lhs_6;
|
|
2147
2147
|
}
|
|
2148
|
-
tmp_12.
|
|
2148
|
+
tmp_12.e40_1 = tmp_13;
|
|
2149
2149
|
}
|
|
2150
2150
|
function Companion() {
|
|
2151
2151
|
Companion_instance = this;
|
|
2152
2152
|
}
|
|
2153
|
-
Companion.prototype.
|
|
2153
|
+
Companion.prototype.s3x = function (command, parent, argv, block) {
|
|
2154
2154
|
var tmp$ret$4;
|
|
2155
2155
|
// Inline function 'kotlin.with' call
|
|
2156
2156
|
var tmp0_with = new Builder(command, parent);
|
|
2157
2157
|
// Inline function 'kotlin.contracts.contract' call
|
|
2158
2158
|
block(tmp0_with);
|
|
2159
2159
|
var tmp;
|
|
2160
|
-
if (tmp0_with.
|
|
2160
|
+
if (tmp0_with.s3z_1 ? !command.x3v_1 : false) {
|
|
2161
2161
|
var tmp0_safe_receiver = parent;
|
|
2162
2162
|
var tmp_0;
|
|
2163
2163
|
if (tmp0_safe_receiver == null) {
|
|
@@ -2171,13 +2171,13 @@
|
|
|
2171
2171
|
var tmp$ret$1;
|
|
2172
2172
|
$l$block: {
|
|
2173
2173
|
// Inline function 'kotlin.sequences.any' call
|
|
2174
|
-
var tmp0_any = tmp0_safe_receiver.
|
|
2174
|
+
var tmp0_any = tmp0_safe_receiver.t3x();
|
|
2175
2175
|
var tmp0_iterator = tmp0_any.j();
|
|
2176
2176
|
while (tmp0_iterator.m()) {
|
|
2177
2177
|
var element = tmp0_iterator.p();
|
|
2178
2178
|
var tmp$ret$0;
|
|
2179
2179
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
2180
|
-
tmp$ret$0 = element.
|
|
2180
|
+
tmp$ret$0 = element.n3w_1.x3v_1;
|
|
2181
2181
|
if (tmp$ret$0) {
|
|
2182
2182
|
tmp$ret$1 = true;
|
|
2183
2183
|
break $l$block;
|
|
@@ -2194,16 +2194,16 @@
|
|
|
2194
2194
|
tmp = false;
|
|
2195
2195
|
}
|
|
2196
2196
|
var interspersed = tmp;
|
|
2197
|
-
var tmp1_elvis_lhs = tmp0_with.
|
|
2197
|
+
var tmp1_elvis_lhs = tmp0_with.v3z_1;
|
|
2198
2198
|
var tmp_1;
|
|
2199
2199
|
if (tmp1_elvis_lhs == null) {
|
|
2200
|
-
var tmp_2 = tmp0_with.
|
|
2200
|
+
var tmp_2 = tmp0_with.d40_1;
|
|
2201
2201
|
tmp_1 = CliktHelpFormatter_init_$Create$(tmp_2, null, null, 0, null, 0, null, false, false, 510, null);
|
|
2202
2202
|
} else {
|
|
2203
2203
|
tmp_1 = tmp1_elvis_lhs;
|
|
2204
2204
|
}
|
|
2205
2205
|
var formatter = tmp_1;
|
|
2206
|
-
return new Context(parent, command, interspersed, tmp0_with.
|
|
2206
|
+
return new Context(parent, command, interspersed, tmp0_with.x3z_1, tmp0_with.t3z_1, tmp0_with.u3z_1, formatter, tmp0_with.w3z_1, tmp0_with.y3z_1, tmp0_with.z3z_1, tmp0_with.a40_1, tmp0_with.b40_1, tmp0_with.c40_1, tmp0_with.d40_1, tmp0_with.e40_1, argv);
|
|
2207
2207
|
};
|
|
2208
2208
|
var Companion_instance;
|
|
2209
2209
|
function Companion_getInstance() {
|
|
@@ -2212,40 +2212,40 @@
|
|
|
2212
2212
|
return Companion_instance;
|
|
2213
2213
|
}
|
|
2214
2214
|
function Context$parentNames$lambda(it) {
|
|
2215
|
-
return it.
|
|
2215
|
+
return it.n3w_1.a3w_1;
|
|
2216
2216
|
}
|
|
2217
2217
|
function Context$ancestors$lambda(it) {
|
|
2218
|
-
return it.
|
|
2218
|
+
return it.m3w_1;
|
|
2219
2219
|
}
|
|
2220
2220
|
function Context(parent, command, allowInterspersedArgs, autoEnvvarPrefix, printExtraMessages, helpOptionNames, helpFormatter, tokenTransformer, console, expandArgumentFiles, readEnvvarBeforeValueSource, valueSource, correctionSuggestor, localization, readEnvvar, originalArgv) {
|
|
2221
2221
|
Companion_getInstance();
|
|
2222
|
-
this.
|
|
2223
|
-
this.
|
|
2224
|
-
this.
|
|
2225
|
-
this.
|
|
2226
|
-
this.
|
|
2227
|
-
this.
|
|
2228
|
-
this.
|
|
2229
|
-
this.
|
|
2230
|
-
this.
|
|
2231
|
-
this.
|
|
2232
|
-
this.
|
|
2233
|
-
this.
|
|
2234
|
-
this.
|
|
2235
|
-
this.
|
|
2236
|
-
this.
|
|
2237
|
-
this.
|
|
2238
|
-
this.
|
|
2239
|
-
this.
|
|
2240
|
-
}
|
|
2241
|
-
Context.prototype.
|
|
2242
|
-
var tmp = drop(this.
|
|
2222
|
+
this.m3w_1 = parent;
|
|
2223
|
+
this.n3w_1 = command;
|
|
2224
|
+
this.o3w_1 = allowInterspersedArgs;
|
|
2225
|
+
this.p3w_1 = autoEnvvarPrefix;
|
|
2226
|
+
this.q3w_1 = printExtraMessages;
|
|
2227
|
+
this.r3w_1 = helpOptionNames;
|
|
2228
|
+
this.s3w_1 = helpFormatter;
|
|
2229
|
+
this.t3w_1 = tokenTransformer;
|
|
2230
|
+
this.u3w_1 = console;
|
|
2231
|
+
this.v3w_1 = expandArgumentFiles;
|
|
2232
|
+
this.w3w_1 = readEnvvarBeforeValueSource;
|
|
2233
|
+
this.x3w_1 = valueSource;
|
|
2234
|
+
this.y3w_1 = correctionSuggestor;
|
|
2235
|
+
this.z3w_1 = localization;
|
|
2236
|
+
this.a3x_1 = readEnvvar;
|
|
2237
|
+
this.b3x_1 = originalArgv;
|
|
2238
|
+
this.c3x_1 = null;
|
|
2239
|
+
this.d3x_1 = null;
|
|
2240
|
+
}
|
|
2241
|
+
Context.prototype.n3x = function () {
|
|
2242
|
+
var tmp = drop(this.t3x(), 1);
|
|
2243
2243
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
2244
2244
|
};
|
|
2245
|
-
Context.prototype.
|
|
2246
|
-
return plus_2(this.
|
|
2245
|
+
Context.prototype.o3x = function () {
|
|
2246
|
+
return plus_2(this.n3x(), this.n3w_1.a3w_1);
|
|
2247
2247
|
};
|
|
2248
|
-
Context.prototype.
|
|
2248
|
+
Context.prototype.t3x = function () {
|
|
2249
2249
|
return generateSequence(this, Context$ancestors$lambda);
|
|
2250
2250
|
};
|
|
2251
2251
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
@@ -2310,10 +2310,10 @@
|
|
|
2310
2310
|
return tmp$ret$10;
|
|
2311
2311
|
}
|
|
2312
2312
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2313
|
-
this.
|
|
2313
|
+
this.f40_1 = function_0;
|
|
2314
2314
|
}
|
|
2315
2315
|
sam$kotlin_Comparator$0.prototype.cg = function (a, b) {
|
|
2316
|
-
return this.
|
|
2316
|
+
return this.f40_1(a, b);
|
|
2317
2317
|
};
|
|
2318
2318
|
sam$kotlin_Comparator$0.prototype.compare = function (a, b) {
|
|
2319
2319
|
return this.cg(a, b);
|
|
@@ -2440,7 +2440,7 @@
|
|
|
2440
2440
|
}
|
|
2441
2441
|
function ProgramResult(statusCode) {
|
|
2442
2442
|
CliktError_init_$Init$(null, null, 3, null, this);
|
|
2443
|
-
this.
|
|
2443
|
+
this.f3z_1 = statusCode;
|
|
2444
2444
|
captureStack(this, ProgramResult);
|
|
2445
2445
|
}
|
|
2446
2446
|
function PrintHelpMessage_init_$Init$(command, error, $mask0, $marker, $this) {
|
|
@@ -2456,13 +2456,13 @@
|
|
|
2456
2456
|
}
|
|
2457
2457
|
function PrintHelpMessage(command, error) {
|
|
2458
2458
|
CliktError_init_$Init$(null, null, 3, null, this);
|
|
2459
|
-
this.
|
|
2460
|
-
this.
|
|
2459
|
+
this.d3z_1 = command;
|
|
2460
|
+
this.e3z_1 = error;
|
|
2461
2461
|
captureStack(this, PrintHelpMessage);
|
|
2462
2462
|
}
|
|
2463
2463
|
function PrintCompletionMessage(message, forceUnixLineEndings) {
|
|
2464
2464
|
PrintMessage_init_$Init$(message, false, 2, null, this);
|
|
2465
|
-
this.
|
|
2465
|
+
this.c3z_1 = forceUnixLineEndings;
|
|
2466
2466
|
captureStack(this, PrintCompletionMessage);
|
|
2467
2467
|
}
|
|
2468
2468
|
function PrintMessage_init_$Init$(message, error, $mask0, $marker, $this) {
|
|
@@ -2473,7 +2473,7 @@
|
|
|
2473
2473
|
}
|
|
2474
2474
|
function PrintMessage(message, error) {
|
|
2475
2475
|
CliktError_init_$Init$(message, null, 2, null, this);
|
|
2476
|
-
this.
|
|
2476
|
+
this.a3z_1 = error;
|
|
2477
2477
|
captureStack(this, PrintMessage);
|
|
2478
2478
|
}
|
|
2479
2479
|
function UsageError_init_$Init$(text, paramName, context, statusCode, $this) {
|
|
@@ -2526,15 +2526,15 @@
|
|
|
2526
2526
|
}
|
|
2527
2527
|
function UsageError(text, paramName, option, argument, context, statusCode) {
|
|
2528
2528
|
CliktError_init_$Init$(null, null, 3, null, this);
|
|
2529
|
-
this.
|
|
2530
|
-
this.
|
|
2531
|
-
this.
|
|
2532
|
-
this.
|
|
2533
|
-
this.
|
|
2534
|
-
this.
|
|
2529
|
+
this.t3y_1 = text;
|
|
2530
|
+
this.u3y_1 = paramName;
|
|
2531
|
+
this.v3y_1 = option;
|
|
2532
|
+
this.w3y_1 = argument;
|
|
2533
|
+
this.x3y_1 = context;
|
|
2534
|
+
this.y3y_1 = statusCode;
|
|
2535
2535
|
captureStack(this, UsageError);
|
|
2536
2536
|
}
|
|
2537
|
-
UsageError.prototype.
|
|
2537
|
+
UsageError.prototype.z3y = function () {
|
|
2538
2538
|
var tmp$ret$3;
|
|
2539
2539
|
// Inline function 'kotlin.text.buildString' call
|
|
2540
2540
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -2543,7 +2543,7 @@
|
|
|
2543
2543
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
2544
2544
|
// Inline function 'kotlin.contracts.contract' call
|
|
2545
2545
|
// Inline function 'com.github.ajalt.clikt.core.UsageError.helpMessage.<anonymous>' call
|
|
2546
|
-
var tmp0_safe_receiver = this.
|
|
2546
|
+
var tmp0_safe_receiver = this.x3y_1;
|
|
2547
2547
|
if (tmp0_safe_receiver == null)
|
|
2548
2548
|
null;
|
|
2549
2549
|
else {
|
|
@@ -2552,39 +2552,39 @@
|
|
|
2552
2552
|
// Inline function 'kotlin.contracts.contract' call
|
|
2553
2553
|
var tmp$ret$0;
|
|
2554
2554
|
// Inline function 'com.github.ajalt.clikt.core.UsageError.helpMessage.<anonymous>.<anonymous>' call
|
|
2555
|
-
tmp$ret$0 = tmp0_apply.re(tmp0_safe_receiver.
|
|
2555
|
+
tmp$ret$0 = tmp0_apply.re(tmp0_safe_receiver.n3w_1.c3y()).re('\n\n');
|
|
2556
2556
|
tmp$ret$1 = tmp$ret$0;
|
|
2557
2557
|
}
|
|
2558
|
-
tmp0_apply.re(this.
|
|
2558
|
+
tmp0_apply.re(this.i40().k40(this.j40()));
|
|
2559
2559
|
tmp$ret$2 = tmp0_apply;
|
|
2560
2560
|
tmp$ret$3 = tmp$ret$2.toString();
|
|
2561
2561
|
return tmp$ret$3;
|
|
2562
2562
|
};
|
|
2563
2563
|
UsageError.prototype.k1 = function () {
|
|
2564
|
-
return this.
|
|
2564
|
+
return this.j40();
|
|
2565
2565
|
};
|
|
2566
|
-
UsageError.prototype.
|
|
2567
|
-
var tmp0_elvis_lhs = this.
|
|
2566
|
+
UsageError.prototype.j40 = function () {
|
|
2567
|
+
var tmp0_elvis_lhs = this.t3y_1;
|
|
2568
2568
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2569
2569
|
};
|
|
2570
|
-
UsageError.prototype.
|
|
2570
|
+
UsageError.prototype.l40 = function () {
|
|
2571
2571
|
var tmp;
|
|
2572
|
-
if (!(this.
|
|
2573
|
-
tmp = ensureNotNull(this.
|
|
2574
|
-
} else if (!(this.
|
|
2575
|
-
var tmp0_safe_receiver = this.
|
|
2572
|
+
if (!(this.u3y_1 == null)) {
|
|
2573
|
+
tmp = ensureNotNull(this.u3y_1);
|
|
2574
|
+
} else if (!(this.v3y_1 == null)) {
|
|
2575
|
+
var tmp0_safe_receiver = this.v3y_1;
|
|
2576
2576
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : longestName(tmp0_safe_receiver);
|
|
2577
2577
|
tmp = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2578
|
-
} else if (!(this.
|
|
2579
|
-
tmp = ensureNotNull(this.
|
|
2578
|
+
} else if (!(this.w3y_1 == null)) {
|
|
2579
|
+
tmp = ensureNotNull(this.w3y_1).og();
|
|
2580
2580
|
} else {
|
|
2581
2581
|
tmp = '';
|
|
2582
2582
|
}
|
|
2583
2583
|
return tmp;
|
|
2584
2584
|
};
|
|
2585
|
-
UsageError.prototype.
|
|
2586
|
-
var tmp0_safe_receiver = this.
|
|
2587
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2585
|
+
UsageError.prototype.i40 = function () {
|
|
2586
|
+
var tmp0_safe_receiver = this.x3y_1;
|
|
2587
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z3w_1;
|
|
2588
2588
|
return tmp1_elvis_lhs == null ? get_defaultLocalization() : tmp1_elvis_lhs;
|
|
2589
2589
|
};
|
|
2590
2590
|
Object.defineProperty(UsageError.prototype, 'message', {
|
|
@@ -2620,11 +2620,11 @@
|
|
|
2620
2620
|
}
|
|
2621
2621
|
function IncorrectOptionValueCount(option, givenName, context) {
|
|
2622
2622
|
UsageError_init_$Init$_4('', option, context, 0, 8, null, this);
|
|
2623
|
-
this.
|
|
2623
|
+
this.s40_1 = givenName;
|
|
2624
2624
|
captureStack(this, IncorrectOptionValueCount);
|
|
2625
2625
|
}
|
|
2626
|
-
IncorrectOptionValueCount.prototype.
|
|
2627
|
-
return this.
|
|
2626
|
+
IncorrectOptionValueCount.prototype.j40 = function () {
|
|
2627
|
+
return this.i40().t40(this.s40_1, ensureNotNull(this.v3y_1).h3x());
|
|
2628
2628
|
};
|
|
2629
2629
|
function BadParameterValue_init_$Init$(text, context, $this) {
|
|
2630
2630
|
UsageError_init_$Init$_0(text, null, context, 0, 8, null, $this);
|
|
@@ -2674,10 +2674,10 @@
|
|
|
2674
2674
|
captureStack(tmp, BadParameterValue_init_$Create$_1);
|
|
2675
2675
|
return tmp;
|
|
2676
2676
|
}
|
|
2677
|
-
BadParameterValue.prototype.
|
|
2677
|
+
BadParameterValue.prototype.j40 = function () {
|
|
2678
2678
|
var tmp$ret$2;
|
|
2679
2679
|
// Inline function 'kotlin.takeUnless' call
|
|
2680
|
-
var tmp0_takeUnless = this.
|
|
2680
|
+
var tmp0_takeUnless = this.t3y_1;
|
|
2681
2681
|
// Inline function 'kotlin.contracts.contract' call
|
|
2682
2682
|
var tmp;
|
|
2683
2683
|
var tmp$ret$1;
|
|
@@ -2696,7 +2696,7 @@
|
|
|
2696
2696
|
var m = tmp$ret$2;
|
|
2697
2697
|
var tmp$ret$5;
|
|
2698
2698
|
// Inline function 'kotlin.takeIf' call
|
|
2699
|
-
var tmp1_takeIf = this.
|
|
2699
|
+
var tmp1_takeIf = this.l40();
|
|
2700
2700
|
// Inline function 'kotlin.contracts.contract' call
|
|
2701
2701
|
var tmp_0;
|
|
2702
2702
|
var tmp$ret$4;
|
|
@@ -2714,13 +2714,13 @@
|
|
|
2714
2714
|
var p = tmp$ret$5;
|
|
2715
2715
|
var tmp_1;
|
|
2716
2716
|
if (m == null ? p == null : false) {
|
|
2717
|
-
tmp_1 = this.
|
|
2717
|
+
tmp_1 = this.i40().d41();
|
|
2718
2718
|
} else if (m == null ? !(p == null) : false) {
|
|
2719
|
-
tmp_1 = this.
|
|
2719
|
+
tmp_1 = this.i40().c41(p);
|
|
2720
2720
|
} else if (!(m == null) ? p == null : false) {
|
|
2721
|
-
tmp_1 = this.
|
|
2721
|
+
tmp_1 = this.i40().b41(m);
|
|
2722
2722
|
} else if (!(m == null) ? !(p == null) : false) {
|
|
2723
|
-
tmp_1 = this.
|
|
2723
|
+
tmp_1 = this.i40().a41(p, m);
|
|
2724
2724
|
} else {
|
|
2725
2725
|
throw IllegalStateException_init_$Create$('impossible');
|
|
2726
2726
|
}
|
|
@@ -2744,8 +2744,8 @@
|
|
|
2744
2744
|
UsageError_init_$Init$_4('', option, context, 0, 8, null, this);
|
|
2745
2745
|
captureStack(this, MissingOption);
|
|
2746
2746
|
}
|
|
2747
|
-
MissingOption.prototype.
|
|
2748
|
-
return this.
|
|
2747
|
+
MissingOption.prototype.j40 = function () {
|
|
2748
|
+
return this.i40().k41(this.l40());
|
|
2749
2749
|
};
|
|
2750
2750
|
function NoSuchSubcommand_init_$Init$(givenName, possibilities, context, $mask0, $marker, $this) {
|
|
2751
2751
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2762,12 +2762,12 @@
|
|
|
2762
2762
|
}
|
|
2763
2763
|
function NoSuchSubcommand(givenName, possibilities, context) {
|
|
2764
2764
|
NoSuchParameter.call(this, context);
|
|
2765
|
-
this.
|
|
2766
|
-
this.
|
|
2765
|
+
this.r41_1 = givenName;
|
|
2766
|
+
this.s41_1 = possibilities;
|
|
2767
2767
|
captureStack(this, NoSuchSubcommand);
|
|
2768
2768
|
}
|
|
2769
|
-
NoSuchSubcommand.prototype.
|
|
2770
|
-
return this.
|
|
2769
|
+
NoSuchSubcommand.prototype.j40 = function () {
|
|
2770
|
+
return this.i40().t41(this.r41_1, this.s41_1);
|
|
2771
2771
|
};
|
|
2772
2772
|
function NoSuchOption_init_$Init$(givenName, possibilities, context, $mask0, $marker, $this) {
|
|
2773
2773
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2784,12 +2784,12 @@
|
|
|
2784
2784
|
}
|
|
2785
2785
|
function NoSuchOption(givenName, possibilities, context) {
|
|
2786
2786
|
NoSuchParameter.call(this, context);
|
|
2787
|
-
this.
|
|
2788
|
-
this.
|
|
2787
|
+
this.a42_1 = givenName;
|
|
2788
|
+
this.b42_1 = possibilities;
|
|
2789
2789
|
captureStack(this, NoSuchOption);
|
|
2790
2790
|
}
|
|
2791
|
-
NoSuchOption.prototype.
|
|
2792
|
-
return this.
|
|
2791
|
+
NoSuchOption.prototype.j40 = function () {
|
|
2792
|
+
return this.i40().c42(this.a42_1, this.b42_1);
|
|
2793
2793
|
};
|
|
2794
2794
|
function MissingArgument_init_$Init$(argument, context, $mask0, $marker, $this) {
|
|
2795
2795
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2806,8 +2806,8 @@
|
|
|
2806
2806
|
UsageError_init_$Init$_2('', argument, context, 0, 8, null, this);
|
|
2807
2807
|
captureStack(this, MissingArgument);
|
|
2808
2808
|
}
|
|
2809
|
-
MissingArgument.prototype.
|
|
2810
|
-
return this.
|
|
2809
|
+
MissingArgument.prototype.j40 = function () {
|
|
2810
|
+
return this.i40().j42(this.l40());
|
|
2811
2811
|
};
|
|
2812
2812
|
function IncorrectArgumentValueCount_init_$Init$(argument, context, $mask0, $marker, $this) {
|
|
2813
2813
|
if (!(($mask0 & 2) === 0))
|
|
@@ -2824,26 +2824,26 @@
|
|
|
2824
2824
|
UsageError_init_$Init$_2('', argument, context, 0, 8, null, this);
|
|
2825
2825
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2826
2826
|
}
|
|
2827
|
-
IncorrectArgumentValueCount.prototype.
|
|
2828
|
-
return this.
|
|
2827
|
+
IncorrectArgumentValueCount.prototype.j40 = function () {
|
|
2828
|
+
return this.i40().q42(this.l40(), ensureNotNull(this.w3y_1).h3x());
|
|
2829
2829
|
};
|
|
2830
2830
|
function FileNotFound(filename, context) {
|
|
2831
2831
|
UsageError_init_$Init$_0('', null, context, 0, 10, null, this);
|
|
2832
|
-
this.
|
|
2832
|
+
this.x42_1 = filename;
|
|
2833
2833
|
captureStack(this, FileNotFound);
|
|
2834
2834
|
}
|
|
2835
|
-
FileNotFound.prototype.
|
|
2836
|
-
return this.
|
|
2835
|
+
FileNotFound.prototype.j40 = function () {
|
|
2836
|
+
return this.i40().y42(this.x42_1);
|
|
2837
2837
|
};
|
|
2838
2838
|
function InvalidFileFormat(filename, message, lineno, context) {
|
|
2839
2839
|
UsageError_init_$Init$_0(message, null, context, 0, 10, null, this);
|
|
2840
|
-
this.
|
|
2841
|
-
this.
|
|
2840
|
+
this.f43_1 = filename;
|
|
2841
|
+
this.g43_1 = lineno;
|
|
2842
2842
|
captureStack(this, InvalidFileFormat);
|
|
2843
2843
|
}
|
|
2844
|
-
InvalidFileFormat.prototype.
|
|
2845
|
-
var tmp0_subject = this.
|
|
2846
|
-
return tmp0_subject == null ? this.
|
|
2844
|
+
InvalidFileFormat.prototype.j40 = function () {
|
|
2845
|
+
var tmp0_subject = this.g43_1;
|
|
2846
|
+
return tmp0_subject == null ? this.i40().i43(this.f43_1, ensureNotNull(this.t3y_1)) : this.i40().h43(this.f43_1, this.g43_1, ensureNotNull(this.t3y_1));
|
|
2847
2847
|
};
|
|
2848
2848
|
function NoSuchParameter(context) {
|
|
2849
2849
|
UsageError_init_$Init$_0('', null, context, 0, 10, null, this);
|
|
@@ -2864,7 +2864,7 @@
|
|
|
2864
2864
|
// Inline function 'kotlin.collections.component2' call
|
|
2865
2865
|
tmp$ret$2 = tmp1_loop_parameter.b1();
|
|
2866
2866
|
var invocations = tmp$ret$2;
|
|
2867
|
-
option.
|
|
2867
|
+
option.j43(context, invocations);
|
|
2868
2868
|
}
|
|
2869
2869
|
var tmp$ret$3;
|
|
2870
2870
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
@@ -2897,7 +2897,7 @@
|
|
|
2897
2897
|
while (tmp2_iterator.m()) {
|
|
2898
2898
|
var o = tmp2_iterator.p();
|
|
2899
2899
|
try {
|
|
2900
|
-
o.
|
|
2900
|
+
o.j43(context, emptyList());
|
|
2901
2901
|
} catch ($p) {
|
|
2902
2902
|
if ($p instanceof IllegalStateException) {
|
|
2903
2903
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
@@ -2910,7 +2910,7 @@
|
|
|
2910
2910
|
var tmp3_iterator = retries.j();
|
|
2911
2911
|
while (tmp3_iterator.m()) {
|
|
2912
2912
|
var o_0 = tmp3_iterator.p();
|
|
2913
|
-
o_0.
|
|
2913
|
+
o_0.j43(context, emptyList());
|
|
2914
2914
|
}
|
|
2915
2915
|
}
|
|
2916
2916
|
function get_ANSI_CODE_RE() {
|
|
@@ -2977,13 +2977,13 @@
|
|
|
2977
2977
|
var tmp$ret$1;
|
|
2978
2978
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.measureFirstColumn.<anonymous>' call
|
|
2979
2979
|
var tmp0__anonymous__q1qw7t = maxElem;
|
|
2980
|
-
tmp$ret$1 = $this.
|
|
2980
|
+
tmp$ret$1 = $this.v43(tmp0__anonymous__q1qw7t.k43_1);
|
|
2981
2981
|
var maxValue = tmp$ret$1;
|
|
2982
2982
|
do {
|
|
2983
2983
|
var e = iterator.p();
|
|
2984
2984
|
var tmp$ret$2;
|
|
2985
2985
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.measureFirstColumn.<anonymous>' call
|
|
2986
|
-
tmp$ret$2 = $this.
|
|
2986
|
+
tmp$ret$2 = $this.v43(e.k43_1);
|
|
2987
2987
|
var v = tmp$ret$2;
|
|
2988
2988
|
if (compareTo(maxValue, v) < 0) {
|
|
2989
2989
|
maxElem = e;
|
|
@@ -2994,35 +2994,35 @@
|
|
|
2994
2994
|
tmp$ret$0 = maxElem;
|
|
2995
2995
|
}
|
|
2996
2996
|
var tmp0_safe_receiver = tmp$ret$0;
|
|
2997
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2998
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : $this.
|
|
2999
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : coerceAtMost(tmp2_safe_receiver, $this.
|
|
3000
|
-
return tmp3_elvis_lhs == null ? $this.
|
|
2997
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k43_1;
|
|
2998
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : $this.v43(tmp1_safe_receiver);
|
|
2999
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : coerceAtMost(tmp2_safe_receiver, $this.u43_1);
|
|
3000
|
+
return tmp3_elvis_lhs == null ? $this.u43_1 : tmp3_elvis_lhs;
|
|
3001
3001
|
}
|
|
3002
3002
|
function section(_this__u8e3s4, $this, title) {
|
|
3003
|
-
_this__u8e3s4.re('\n').re($this.
|
|
3003
|
+
_this__u8e3s4.re('\n').re($this.w43(title)).re('\n');
|
|
3004
3004
|
}
|
|
3005
3005
|
function DefinitionRow(col1, col2, marker) {
|
|
3006
|
-
this.
|
|
3007
|
-
this.
|
|
3008
|
-
this.
|
|
3006
|
+
this.k43_1 = col1;
|
|
3007
|
+
this.l43_1 = col2;
|
|
3008
|
+
this.m43_1 = marker;
|
|
3009
3009
|
}
|
|
3010
3010
|
DefinitionRow.prototype.n3 = function () {
|
|
3011
|
-
return this.
|
|
3011
|
+
return this.k43_1;
|
|
3012
3012
|
};
|
|
3013
3013
|
DefinitionRow.prototype.o3 = function () {
|
|
3014
|
-
return this.
|
|
3014
|
+
return this.l43_1;
|
|
3015
3015
|
};
|
|
3016
3016
|
DefinitionRow.prototype.w9 = function () {
|
|
3017
|
-
return this.
|
|
3017
|
+
return this.m43_1;
|
|
3018
3018
|
};
|
|
3019
3019
|
DefinitionRow.prototype.toString = function () {
|
|
3020
|
-
return 'DefinitionRow(col1=' + this.
|
|
3020
|
+
return 'DefinitionRow(col1=' + this.k43_1 + ', col2=' + this.l43_1 + ', marker=' + this.m43_1 + ')';
|
|
3021
3021
|
};
|
|
3022
3022
|
DefinitionRow.prototype.hashCode = function () {
|
|
3023
|
-
var result = getStringHashCode(this.
|
|
3024
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3025
|
-
result = imul(result, 31) + (this.
|
|
3023
|
+
var result = getStringHashCode(this.k43_1);
|
|
3024
|
+
result = imul(result, 31) + getStringHashCode(this.l43_1) | 0;
|
|
3025
|
+
result = imul(result, 31) + (this.m43_1 == null ? 0 : getStringHashCode(this.m43_1)) | 0;
|
|
3026
3026
|
return result;
|
|
3027
3027
|
};
|
|
3028
3028
|
DefinitionRow.prototype.equals = function (other) {
|
|
@@ -3031,28 +3031,28 @@
|
|
|
3031
3031
|
if (!(other instanceof DefinitionRow))
|
|
3032
3032
|
return false;
|
|
3033
3033
|
var tmp0_other_with_cast = other instanceof DefinitionRow ? other : THROW_CCE();
|
|
3034
|
-
if (!(this.
|
|
3034
|
+
if (!(this.k43_1 === tmp0_other_with_cast.k43_1))
|
|
3035
3035
|
return false;
|
|
3036
|
-
if (!(this.
|
|
3036
|
+
if (!(this.l43_1 === tmp0_other_with_cast.l43_1))
|
|
3037
3037
|
return false;
|
|
3038
|
-
if (!(this.
|
|
3038
|
+
if (!(this.m43_1 == tmp0_other_with_cast.m43_1))
|
|
3039
3039
|
return false;
|
|
3040
3040
|
return true;
|
|
3041
3041
|
};
|
|
3042
3042
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
3043
|
-
this.
|
|
3043
|
+
this.x43_1 = function_0;
|
|
3044
3044
|
}
|
|
3045
3045
|
sam$kotlin_Comparator$0_0.prototype.cg = function (a, b) {
|
|
3046
|
-
return this.
|
|
3046
|
+
return this.x43_1(a, b);
|
|
3047
3047
|
};
|
|
3048
3048
|
sam$kotlin_Comparator$0_0.prototype.compare = function (a, b) {
|
|
3049
3049
|
return this.cg(a, b);
|
|
3050
3050
|
};
|
|
3051
3051
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
3052
|
-
this.
|
|
3052
|
+
this.y43_1 = function_0;
|
|
3053
3053
|
}
|
|
3054
3054
|
sam$kotlin_Comparator$0_1.prototype.cg = function (a, b) {
|
|
3055
|
-
return this.
|
|
3055
|
+
return this.y43_1(a, b);
|
|
3056
3056
|
};
|
|
3057
3057
|
sam$kotlin_Comparator$0_1.prototype.compare = function (a, b) {
|
|
3058
3058
|
return this.cg(a, b);
|
|
@@ -3080,7 +3080,7 @@
|
|
|
3080
3080
|
// Inline function 'kotlin.collections.component2' call
|
|
3081
3081
|
tmp$ret$1 = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3082
3082
|
var v = tmp$ret$1;
|
|
3083
|
-
return this$0.
|
|
3083
|
+
return this$0.z43(k, v);
|
|
3084
3084
|
};
|
|
3085
3085
|
}
|
|
3086
3086
|
function CliktHelpFormatter$renderHelpText$lambda_0(this$0) {
|
|
@@ -3093,7 +3093,7 @@
|
|
|
3093
3093
|
// Inline function 'kotlin.collections.component2' call
|
|
3094
3094
|
tmp$ret$1 = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3095
3095
|
var v = tmp$ret$1;
|
|
3096
|
-
return this$0.
|
|
3096
|
+
return this$0.a44(k, v);
|
|
3097
3097
|
};
|
|
3098
3098
|
}
|
|
3099
3099
|
function CliktHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -3111,16 +3111,16 @@
|
|
|
3111
3111
|
}
|
|
3112
3112
|
function CliktHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
3113
3113
|
return function (it) {
|
|
3114
|
-
return this$0.
|
|
3114
|
+
return this$0.b44(it);
|
|
3115
3115
|
};
|
|
3116
3116
|
}
|
|
3117
3117
|
function CliktHelpFormatter(localization, indent, width, maxWidth, maxColWidth, colSpacing, requiredOptionMarker, showDefaultValues, showRequiredTag) {
|
|
3118
|
-
this.
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3121
|
-
this.
|
|
3122
|
-
this.
|
|
3123
|
-
this.
|
|
3118
|
+
this.n43_1 = localization;
|
|
3119
|
+
this.o43_1 = indent;
|
|
3120
|
+
this.p43_1 = colSpacing;
|
|
3121
|
+
this.q43_1 = requiredOptionMarker;
|
|
3122
|
+
this.r43_1 = showDefaultValues;
|
|
3123
|
+
this.s43_1 = showRequiredTag;
|
|
3124
3124
|
var tmp = this;
|
|
3125
3125
|
var tmp0_subject = width;
|
|
3126
3126
|
var tmp_0;
|
|
@@ -3135,12 +3135,12 @@
|
|
|
3135
3135
|
} else {
|
|
3136
3136
|
tmp_0 = width;
|
|
3137
3137
|
}
|
|
3138
|
-
tmp.
|
|
3138
|
+
tmp.t43_1 = tmp_0;
|
|
3139
3139
|
var tmp_1 = this;
|
|
3140
3140
|
var tmp0_elvis_lhs = maxColWidth;
|
|
3141
|
-
tmp_1.
|
|
3141
|
+
tmp_1.u43_1 = tmp0_elvis_lhs == null ? numberToInt(this.t43_1 / 2.5) : tmp0_elvis_lhs;
|
|
3142
3142
|
}
|
|
3143
|
-
CliktHelpFormatter.prototype.
|
|
3143
|
+
CliktHelpFormatter.prototype.d3y = function (parameters, programName) {
|
|
3144
3144
|
var tmp$ret$1;
|
|
3145
3145
|
// Inline function 'kotlin.text.buildString' call
|
|
3146
3146
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3149,12 +3149,12 @@
|
|
|
3149
3149
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
3150
3150
|
// Inline function 'kotlin.contracts.contract' call
|
|
3151
3151
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.formatUsage.<anonymous>' call
|
|
3152
|
-
this.
|
|
3152
|
+
this.c44(tmp0_apply, parameters, programName);
|
|
3153
3153
|
tmp$ret$0 = tmp0_apply;
|
|
3154
3154
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
3155
3155
|
return tmp$ret$1;
|
|
3156
3156
|
};
|
|
3157
|
-
CliktHelpFormatter.prototype.
|
|
3157
|
+
CliktHelpFormatter.prototype.f3y = function (prolog, epilog, parameters, programName) {
|
|
3158
3158
|
var tmp$ret$1;
|
|
3159
3159
|
// Inline function 'kotlin.text.buildString' call
|
|
3160
3160
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3163,18 +3163,18 @@
|
|
|
3163
3163
|
var tmp0_apply = StringBuilder_init_$Create$();
|
|
3164
3164
|
// Inline function 'kotlin.contracts.contract' call
|
|
3165
3165
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.formatHelp.<anonymous>' call
|
|
3166
|
-
this.
|
|
3167
|
-
this.
|
|
3168
|
-
this.
|
|
3169
|
-
this.
|
|
3170
|
-
this.
|
|
3171
|
-
this.
|
|
3166
|
+
this.c44(tmp0_apply, parameters, programName);
|
|
3167
|
+
this.d44(tmp0_apply, prolog);
|
|
3168
|
+
this.e44(tmp0_apply, parameters);
|
|
3169
|
+
this.f44(tmp0_apply, parameters);
|
|
3170
|
+
this.g44(tmp0_apply, parameters);
|
|
3171
|
+
this.h44(tmp0_apply, epilog);
|
|
3172
3172
|
tmp$ret$0 = tmp0_apply;
|
|
3173
3173
|
tmp$ret$1 = tmp$ret$0.toString();
|
|
3174
3174
|
return tmp$ret$1;
|
|
3175
3175
|
};
|
|
3176
|
-
CliktHelpFormatter.prototype.
|
|
3177
|
-
var prog = this.
|
|
3176
|
+
CliktHelpFormatter.prototype.c44 = function (_this__u8e3s4, parameters, programName) {
|
|
3177
|
+
var prog = this.w43(this.n43_1.i44()) + ' ' + programName;
|
|
3178
3178
|
var tmp$ret$7;
|
|
3179
3179
|
// Inline function 'kotlin.text.buildString' call
|
|
3180
3180
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -3210,7 +3210,7 @@
|
|
|
3210
3210
|
tmp$ret$0 = false;
|
|
3211
3211
|
}
|
|
3212
3212
|
if (tmp$ret$0) {
|
|
3213
|
-
tmp0_apply.re(this.
|
|
3213
|
+
tmp0_apply.re(this.n43_1.j44());
|
|
3214
3214
|
}
|
|
3215
3215
|
// Inline function 'kotlin.collections.forEach' call
|
|
3216
3216
|
var tmp$ret$3;
|
|
@@ -3233,14 +3233,14 @@
|
|
|
3233
3233
|
var element_1 = tmp0_iterator_1.p();
|
|
3234
3234
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addUsage.<anonymous>.<anonymous>' call
|
|
3235
3235
|
tmp0_apply.re(' ');
|
|
3236
|
-
if (!element_1.
|
|
3236
|
+
if (!element_1.m44_1) {
|
|
3237
3237
|
tmp0_apply.re('[');
|
|
3238
3238
|
}
|
|
3239
|
-
tmp0_apply.re(element_1.
|
|
3240
|
-
if (!element_1.
|
|
3239
|
+
tmp0_apply.re(element_1.k44_1);
|
|
3240
|
+
if (!element_1.m44_1) {
|
|
3241
3241
|
tmp0_apply.re(']');
|
|
3242
3242
|
}
|
|
3243
|
-
if (element_1.
|
|
3243
|
+
if (element_1.n44_1) {
|
|
3244
3244
|
tmp0_apply.re('...');
|
|
3245
3245
|
}
|
|
3246
3246
|
}
|
|
@@ -3271,7 +3271,7 @@
|
|
|
3271
3271
|
tmp$ret$4 = false;
|
|
3272
3272
|
}
|
|
3273
3273
|
if (tmp$ret$4) {
|
|
3274
|
-
tmp0_apply.re(' ').re(this.
|
|
3274
|
+
tmp0_apply.re(' ').re(this.n43_1.p44());
|
|
3275
3275
|
}
|
|
3276
3276
|
tmp$ret$6 = tmp0_apply;
|
|
3277
3277
|
tmp$ret$7 = tmp$ret$6.toString();
|
|
@@ -3282,30 +3282,30 @@
|
|
|
3282
3282
|
if (tmp$ret$8) {
|
|
3283
3283
|
_this__u8e3s4.re(prog);
|
|
3284
3284
|
} else {
|
|
3285
|
-
if (this.
|
|
3285
|
+
if (this.v43(prog) >= (this.t43_1 - 20 | 0) ? (this.v43(prog) + this.v43(usage) | 0) > (this.t43_1 - 2 | 0) : false) {
|
|
3286
3286
|
_this__u8e3s4.re(prog).re('\n');
|
|
3287
3287
|
var tmp$ret$9;
|
|
3288
3288
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3289
|
-
var tmp0_minOf = this.
|
|
3289
|
+
var tmp0_minOf = this.t43_1 / 3 | 0;
|
|
3290
3290
|
tmp$ret$9 = Math.min(tmp0_minOf, 11);
|
|
3291
3291
|
var usageIndent = repeat(' ', tmp$ret$9);
|
|
3292
|
-
wrapText(usage, _this__u8e3s4, this.
|
|
3292
|
+
wrapText(usage, _this__u8e3s4, this.t43_1, usageIndent, usageIndent);
|
|
3293
3293
|
} else {
|
|
3294
3294
|
var usageIndent_0 = repeat(' ', prog.length + 1 | 0);
|
|
3295
|
-
wrapText(usage, _this__u8e3s4, this.
|
|
3295
|
+
wrapText(usage, _this__u8e3s4, this.t43_1, prog + ' ', usageIndent_0);
|
|
3296
3296
|
}
|
|
3297
3297
|
}
|
|
3298
3298
|
};
|
|
3299
|
-
CliktHelpFormatter.prototype.
|
|
3299
|
+
CliktHelpFormatter.prototype.d44 = function (_this__u8e3s4, prolog) {
|
|
3300
3300
|
var tmp$ret$0;
|
|
3301
3301
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3302
3302
|
tmp$ret$0 = charSequenceLength(prolog) > 0;
|
|
3303
3303
|
if (tmp$ret$0) {
|
|
3304
3304
|
_this__u8e3s4.re('\n\n');
|
|
3305
|
-
wrapText(prolog, _this__u8e3s4, this.
|
|
3305
|
+
wrapText(prolog, _this__u8e3s4, this.t43_1, ' ', ' ');
|
|
3306
3306
|
}
|
|
3307
3307
|
};
|
|
3308
|
-
CliktHelpFormatter.prototype.
|
|
3308
|
+
CliktHelpFormatter.prototype.e44 = function (_this__u8e3s4, parameters) {
|
|
3309
3309
|
var tmp$ret$4;
|
|
3310
3310
|
// Inline function 'kotlin.collections.associateBy' call
|
|
3311
3311
|
var tmp$ret$1;
|
|
@@ -3332,7 +3332,7 @@
|
|
|
3332
3332
|
var element_0 = tmp0_iterator_0.p();
|
|
3333
3333
|
var tmp$ret$2;
|
|
3334
3334
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addOptions.<anonymous>' call
|
|
3335
|
-
tmp$ret$2 = element_0.
|
|
3335
|
+
tmp$ret$2 = element_0.q44_1;
|
|
3336
3336
|
tmp0_associateByTo.w3(tmp$ret$2, element_0);
|
|
3337
3337
|
}
|
|
3338
3338
|
tmp$ret$3 = tmp0_associateByTo;
|
|
@@ -3366,7 +3366,7 @@
|
|
|
3366
3366
|
var element_2 = tmp0_iterator_2.p();
|
|
3367
3367
|
var tmp$ret$7;
|
|
3368
3368
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addOptions.<anonymous>' call
|
|
3369
|
-
tmp$ret$7 = element_2.
|
|
3369
|
+
tmp$ret$7 = element_2.y44_1;
|
|
3370
3370
|
var key = tmp$ret$7;
|
|
3371
3371
|
var tmp$ret$9;
|
|
3372
3372
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
@@ -3416,15 +3416,15 @@
|
|
|
3416
3416
|
tmp_1 = tmp$ret$15;
|
|
3417
3417
|
}
|
|
3418
3418
|
var tmp1_elvis_lhs = tmp_1;
|
|
3419
|
-
var tmp_2 = tmp1_elvis_lhs == null ? this.
|
|
3419
|
+
var tmp_2 = tmp1_elvis_lhs == null ? this.n43_1.z44() : tmp1_elvis_lhs;
|
|
3420
3420
|
var tmp$ret$16;
|
|
3421
3421
|
// Inline function 'kotlin.collections.get' call
|
|
3422
3422
|
tmp$ret$16 = (isInterface(groupsByName, Map) ? groupsByName : THROW_CCE()).a3(title);
|
|
3423
3423
|
var tmp2_safe_receiver = tmp$ret$16;
|
|
3424
|
-
this.
|
|
3424
|
+
this.a45(_this__u8e3s4, tmp_2, tmp2_safe_receiver == null ? null : tmp2_safe_receiver.r44_1, params);
|
|
3425
3425
|
}
|
|
3426
3426
|
};
|
|
3427
|
-
CliktHelpFormatter.prototype.
|
|
3427
|
+
CliktHelpFormatter.prototype.a45 = function (_this__u8e3s4, title, help, parameters) {
|
|
3428
3428
|
var tmp$ret$5;
|
|
3429
3429
|
// Inline function 'kotlin.collections.map' call
|
|
3430
3430
|
var tmp$ret$4;
|
|
@@ -3435,23 +3435,23 @@
|
|
|
3435
3435
|
var item = tmp0_iterator.p();
|
|
3436
3436
|
var tmp$ret$3;
|
|
3437
3437
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addOptionGroup.<anonymous>' call
|
|
3438
|
-
var names = mutableListOf([this.
|
|
3438
|
+
var names = mutableListOf([this.b45(item.s44_1)]);
|
|
3439
3439
|
var tmp$ret$0;
|
|
3440
3440
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3441
|
-
var tmp0_isNotEmpty = item.
|
|
3441
|
+
var tmp0_isNotEmpty = item.t44_1;
|
|
3442
3442
|
tmp$ret$0 = !tmp0_isNotEmpty.d();
|
|
3443
3443
|
if (tmp$ret$0) {
|
|
3444
3444
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3445
|
-
var tmp1_plusAssign = this.
|
|
3445
|
+
var tmp1_plusAssign = this.b45(item.t44_1);
|
|
3446
3446
|
names.g(tmp1_plusAssign);
|
|
3447
3447
|
}
|
|
3448
|
-
var tmp = this.
|
|
3448
|
+
var tmp = this.c45(item);
|
|
3449
3449
|
var tmp_0 = joinToString$default(names, ' / ', null, tmp, 0, null, null, 58, null);
|
|
3450
|
-
var tmp_1 = this.
|
|
3450
|
+
var tmp_1 = this.d45(item.v44_1, item.x44_1);
|
|
3451
3451
|
var tmp_2;
|
|
3452
3452
|
var tmp$ret$2;
|
|
3453
3453
|
// Inline function 'kotlin.collections.contains' call
|
|
3454
|
-
var tmp2_contains = item.
|
|
3454
|
+
var tmp2_contains = item.x44_1;
|
|
3455
3455
|
Tags_getInstance();
|
|
3456
3456
|
var tmp3_contains = 'required';
|
|
3457
3457
|
var tmp$ret$1;
|
|
@@ -3459,7 +3459,7 @@
|
|
|
3459
3459
|
tmp$ret$1 = (isInterface(tmp2_contains, Map) ? tmp2_contains : THROW_CCE()).u2(tmp3_contains);
|
|
3460
3460
|
tmp$ret$2 = tmp$ret$1;
|
|
3461
3461
|
if (tmp$ret$2) {
|
|
3462
|
-
tmp_2 = this.
|
|
3462
|
+
tmp_2 = this.q43_1;
|
|
3463
3463
|
} else {
|
|
3464
3464
|
tmp_2 = null;
|
|
3465
3465
|
}
|
|
@@ -3482,15 +3482,15 @@
|
|
|
3482
3482
|
if (tmp0_safe_receiver == null)
|
|
3483
3483
|
null;
|
|
3484
3484
|
else {
|
|
3485
|
-
wrapText(tmp0_safe_receiver, _this__u8e3s4, this.
|
|
3485
|
+
wrapText(tmp0_safe_receiver, _this__u8e3s4, this.t43_1, ' ', ' ');
|
|
3486
3486
|
}
|
|
3487
3487
|
if (!(help == null)) {
|
|
3488
3488
|
_this__u8e3s4.re('\n\n');
|
|
3489
3489
|
}
|
|
3490
|
-
this.
|
|
3490
|
+
this.e45(_this__u8e3s4, options);
|
|
3491
3491
|
}
|
|
3492
3492
|
};
|
|
3493
|
-
CliktHelpFormatter.prototype.
|
|
3493
|
+
CliktHelpFormatter.prototype.f44 = function (_this__u8e3s4, parameters) {
|
|
3494
3494
|
var tmp$ret$4;
|
|
3495
3495
|
// Inline function 'kotlin.collections.map' call
|
|
3496
3496
|
var tmp$ret$1;
|
|
@@ -3516,8 +3516,8 @@
|
|
|
3516
3516
|
var item = tmp0_iterator_0.p();
|
|
3517
3517
|
var tmp$ret$2;
|
|
3518
3518
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addArguments.<anonymous>' call
|
|
3519
|
-
var tmp = this.
|
|
3520
|
-
var tmp_0 = this.
|
|
3519
|
+
var tmp = this.f45(item.k44_1);
|
|
3520
|
+
var tmp_0 = this.d45(item.l44_1, item.o44_1);
|
|
3521
3521
|
tmp$ret$2 = DefinitionRow_init_$Create$(tmp, tmp_0, null, 4, null);
|
|
3522
3522
|
tmp0_mapTo.g(tmp$ret$2);
|
|
3523
3523
|
}
|
|
@@ -3549,7 +3549,7 @@
|
|
|
3549
3549
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addArguments.<anonymous>' call
|
|
3550
3550
|
var tmp$ret$7;
|
|
3551
3551
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3552
|
-
var tmp0_isNotEmpty = element_0.
|
|
3552
|
+
var tmp0_isNotEmpty = element_0.l43_1;
|
|
3553
3553
|
tmp$ret$7 = charSequenceLength(tmp0_isNotEmpty) > 0;
|
|
3554
3554
|
tmp$ret$8 = tmp$ret$7;
|
|
3555
3555
|
if (tmp$ret$8) {
|
|
@@ -3565,11 +3565,11 @@
|
|
|
3565
3565
|
}
|
|
3566
3566
|
if (tmp_1) {
|
|
3567
3567
|
_this__u8e3s4.re('\n');
|
|
3568
|
-
section(_this__u8e3s4, this, this.
|
|
3569
|
-
this.
|
|
3568
|
+
section(_this__u8e3s4, this, this.n43_1.g45());
|
|
3569
|
+
this.e45(_this__u8e3s4, arguments_0);
|
|
3570
3570
|
}
|
|
3571
3571
|
};
|
|
3572
|
-
CliktHelpFormatter.prototype.
|
|
3572
|
+
CliktHelpFormatter.prototype.g44 = function (_this__u8e3s4, parameters) {
|
|
3573
3573
|
var tmp$ret$4;
|
|
3574
3574
|
// Inline function 'kotlin.collections.map' call
|
|
3575
3575
|
var tmp$ret$1;
|
|
@@ -3595,8 +3595,8 @@
|
|
|
3595
3595
|
var item = tmp0_iterator_0.p();
|
|
3596
3596
|
var tmp$ret$2;
|
|
3597
3597
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.addCommands.<anonymous>' call
|
|
3598
|
-
var tmp = this.
|
|
3599
|
-
var tmp_0 = this.
|
|
3598
|
+
var tmp = this.k45(item.h45_1);
|
|
3599
|
+
var tmp_0 = this.d45(item.i45_1, item.j45_1);
|
|
3600
3600
|
tmp$ret$2 = DefinitionRow_init_$Create$(tmp, tmp_0, null, 4, null);
|
|
3601
3601
|
tmp0_mapTo.g(tmp$ret$2);
|
|
3602
3602
|
}
|
|
@@ -3608,20 +3608,20 @@
|
|
|
3608
3608
|
tmp$ret$5 = !commands.d();
|
|
3609
3609
|
if (tmp$ret$5) {
|
|
3610
3610
|
_this__u8e3s4.re('\n');
|
|
3611
|
-
section(_this__u8e3s4, this, this.
|
|
3612
|
-
this.
|
|
3611
|
+
section(_this__u8e3s4, this, this.n43_1.l45());
|
|
3612
|
+
this.e45(_this__u8e3s4, commands);
|
|
3613
3613
|
}
|
|
3614
3614
|
};
|
|
3615
|
-
CliktHelpFormatter.prototype.
|
|
3615
|
+
CliktHelpFormatter.prototype.h44 = function (_this__u8e3s4, epilog) {
|
|
3616
3616
|
var tmp$ret$0;
|
|
3617
3617
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3618
3618
|
tmp$ret$0 = charSequenceLength(epilog) > 0;
|
|
3619
3619
|
if (tmp$ret$0) {
|
|
3620
3620
|
_this__u8e3s4.re('\n\n');
|
|
3621
|
-
wrapText$default(epilog, _this__u8e3s4, this.
|
|
3621
|
+
wrapText$default(epilog, _this__u8e3s4, this.t43_1, null, null, 12, null);
|
|
3622
3622
|
}
|
|
3623
3623
|
};
|
|
3624
|
-
CliktHelpFormatter.prototype.
|
|
3624
|
+
CliktHelpFormatter.prototype.d45 = function (help, tags) {
|
|
3625
3625
|
var tmp = asSequence(tags);
|
|
3626
3626
|
var tmp_0 = filter(tmp, CliktHelpFormatter$renderHelpText$lambda(this));
|
|
3627
3627
|
var renderedTags = joinToString$default_0(tmp_0, ' ', null, null, 0, null, CliktHelpFormatter$renderHelpText$lambda_0(this), 30, null);
|
|
@@ -3636,13 +3636,13 @@
|
|
|
3636
3636
|
}
|
|
3637
3637
|
return tmp_1;
|
|
3638
3638
|
};
|
|
3639
|
-
CliktHelpFormatter.prototype.
|
|
3639
|
+
CliktHelpFormatter.prototype.z43 = function (tag, value) {
|
|
3640
3640
|
var tmp0_subject = tag;
|
|
3641
3641
|
var tmp;
|
|
3642
3642
|
Tags_getInstance();
|
|
3643
3643
|
if (tmp0_subject === 'default') {
|
|
3644
3644
|
var tmp_0;
|
|
3645
|
-
if (this.
|
|
3645
|
+
if (this.r43_1) {
|
|
3646
3646
|
var tmp$ret$0;
|
|
3647
3647
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
3648
3648
|
tmp$ret$0 = !isBlank(value);
|
|
@@ -3654,14 +3654,14 @@
|
|
|
3654
3654
|
} else {
|
|
3655
3655
|
Tags_getInstance();
|
|
3656
3656
|
if (tmp0_subject === 'required') {
|
|
3657
|
-
tmp = this.
|
|
3657
|
+
tmp = this.s43_1;
|
|
3658
3658
|
} else {
|
|
3659
3659
|
tmp = true;
|
|
3660
3660
|
}
|
|
3661
3661
|
}
|
|
3662
3662
|
return tmp;
|
|
3663
3663
|
};
|
|
3664
|
-
CliktHelpFormatter.prototype.
|
|
3664
|
+
CliktHelpFormatter.prototype.b45 = function (names) {
|
|
3665
3665
|
var tmp$ret$1;
|
|
3666
3666
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
3667
3667
|
var tmp$ret$0;
|
|
@@ -3672,16 +3672,16 @@
|
|
|
3672
3672
|
var tmp_0 = tmp$ret$1;
|
|
3673
3673
|
return joinToString$default(tmp_0, ', ', null, null, 0, null, CliktHelpFormatter$joinNamesForOption$lambda_0(this), 30, null);
|
|
3674
3674
|
};
|
|
3675
|
-
CliktHelpFormatter.prototype.
|
|
3675
|
+
CliktHelpFormatter.prototype.a44 = function (tag, value) {
|
|
3676
3676
|
var tmp0_subject = tag;
|
|
3677
3677
|
var tmp;
|
|
3678
3678
|
Tags_getInstance();
|
|
3679
3679
|
if (tmp0_subject === 'default') {
|
|
3680
|
-
tmp = this.
|
|
3680
|
+
tmp = this.n43_1.n45();
|
|
3681
3681
|
} else {
|
|
3682
3682
|
Tags_getInstance();
|
|
3683
3683
|
if (tmp0_subject === 'required') {
|
|
3684
|
-
tmp = this.
|
|
3684
|
+
tmp = this.n43_1.m45();
|
|
3685
3685
|
} else {
|
|
3686
3686
|
tmp = tag;
|
|
3687
3687
|
}
|
|
@@ -3689,27 +3689,27 @@
|
|
|
3689
3689
|
var t = tmp;
|
|
3690
3690
|
return isBlank(value) ? '(' + t + ')' : '(' + t + ': ' + value + ')';
|
|
3691
3691
|
};
|
|
3692
|
-
CliktHelpFormatter.prototype.
|
|
3692
|
+
CliktHelpFormatter.prototype.b44 = function (name) {
|
|
3693
3693
|
return name;
|
|
3694
3694
|
};
|
|
3695
|
-
CliktHelpFormatter.prototype.
|
|
3695
|
+
CliktHelpFormatter.prototype.f45 = function (name) {
|
|
3696
3696
|
return name;
|
|
3697
3697
|
};
|
|
3698
|
-
CliktHelpFormatter.prototype.
|
|
3698
|
+
CliktHelpFormatter.prototype.k45 = function (name) {
|
|
3699
3699
|
return name;
|
|
3700
3700
|
};
|
|
3701
|
-
CliktHelpFormatter.prototype.
|
|
3701
|
+
CliktHelpFormatter.prototype.w43 = function (title) {
|
|
3702
3702
|
return title;
|
|
3703
3703
|
};
|
|
3704
|
-
CliktHelpFormatter.prototype.
|
|
3705
|
-
if (option.
|
|
3704
|
+
CliktHelpFormatter.prototype.c45 = function (option) {
|
|
3705
|
+
if (option.u44_1 == null)
|
|
3706
3706
|
return '';
|
|
3707
|
-
var metavar = ' ' + option.
|
|
3708
|
-
if (option.
|
|
3707
|
+
var metavar = ' ' + option.u44_1;
|
|
3708
|
+
if (option.w44_1 > 1)
|
|
3709
3709
|
return metavar + '...';
|
|
3710
3710
|
return metavar;
|
|
3711
3711
|
};
|
|
3712
|
-
CliktHelpFormatter.prototype.
|
|
3712
|
+
CliktHelpFormatter.prototype.e45 = function (_this__u8e3s4, rows) {
|
|
3713
3713
|
if (rows.d())
|
|
3714
3714
|
return Unit_getInstance();
|
|
3715
3715
|
var firstWidth = measureFirstColumn(this, rows);
|
|
@@ -3732,11 +3732,11 @@
|
|
|
3732
3732
|
// Inline function 'kotlin.contracts.contract' call
|
|
3733
3733
|
tmp$ret$0 = marker == null ? true : charSequenceLength(marker) === 0;
|
|
3734
3734
|
if (tmp$ret$0) {
|
|
3735
|
-
tmp = this.
|
|
3735
|
+
tmp = this.o43_1;
|
|
3736
3736
|
} else {
|
|
3737
3737
|
var tmp$ret$3;
|
|
3738
3738
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3739
|
-
var tmp0_ifEmpty = drop_0(this.
|
|
3739
|
+
var tmp0_ifEmpty = drop_0(this.o43_1, this.v43(marker));
|
|
3740
3740
|
var tmp_0;
|
|
3741
3741
|
var tmp$ret$1;
|
|
3742
3742
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -3753,12 +3753,12 @@
|
|
|
3753
3753
|
tmp = marker + tmp$ret$3;
|
|
3754
3754
|
}
|
|
3755
3755
|
var firstIndent = tmp;
|
|
3756
|
-
var subsequentIndent = repeat(' ', (this.
|
|
3756
|
+
var subsequentIndent = repeat(' ', (this.v43(firstIndent) + firstWidth | 0) + this.p43_1 | 0);
|
|
3757
3757
|
if (isBlank(col2)) {
|
|
3758
3758
|
_this__u8e3s4.re(firstIndent).re(col1);
|
|
3759
3759
|
} else {
|
|
3760
3760
|
var tmp_1;
|
|
3761
|
-
if (this.
|
|
3761
|
+
if (this.v43(col1) > this.u43_1) {
|
|
3762
3762
|
_this__u8e3s4.re(firstIndent).re(col1).re('\n');
|
|
3763
3763
|
tmp_1 = subsequentIndent;
|
|
3764
3764
|
} else {
|
|
@@ -3772,7 +3772,7 @@
|
|
|
3772
3772
|
// Inline function 'com.github.ajalt.clikt.output.CliktHelpFormatter.appendDefinitionList.<anonymous>' call
|
|
3773
3773
|
tmp0_apply.re(firstIndent).re(col1);
|
|
3774
3774
|
// Inline function 'kotlin.repeat' call
|
|
3775
|
-
var tmp0_repeat = (firstWidth - this.
|
|
3775
|
+
var tmp0_repeat = (firstWidth - this.v43(col1) | 0) + this.p43_1 | 0;
|
|
3776
3776
|
// Inline function 'kotlin.contracts.contract' call
|
|
3777
3777
|
var inductionVariable = 0;
|
|
3778
3778
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -3788,34 +3788,34 @@
|
|
|
3788
3788
|
tmp_1 = tmp$ret$5;
|
|
3789
3789
|
}
|
|
3790
3790
|
var initialIndent = tmp_1;
|
|
3791
|
-
wrapText(col2, _this__u8e3s4, this.
|
|
3791
|
+
wrapText(col2, _this__u8e3s4, this.t43_1, initialIndent, subsequentIndent);
|
|
3792
3792
|
}
|
|
3793
3793
|
}
|
|
3794
3794
|
};
|
|
3795
|
-
CliktHelpFormatter.prototype.
|
|
3795
|
+
CliktHelpFormatter.prototype.v43 = function (_this__u8e3s4) {
|
|
3796
3796
|
return get_graphemeLengthMpp(_this__u8e3s4);
|
|
3797
3797
|
};
|
|
3798
3798
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, groupName) {
|
|
3799
3799
|
ParameterHelp.call(this);
|
|
3800
|
-
this.
|
|
3801
|
-
this.
|
|
3802
|
-
this.
|
|
3803
|
-
this.
|
|
3804
|
-
this.
|
|
3805
|
-
this.
|
|
3806
|
-
this.
|
|
3800
|
+
this.s44_1 = names;
|
|
3801
|
+
this.t44_1 = secondaryNames;
|
|
3802
|
+
this.u44_1 = metavar;
|
|
3803
|
+
this.v44_1 = help;
|
|
3804
|
+
this.w44_1 = nvalues;
|
|
3805
|
+
this.x44_1 = tags;
|
|
3806
|
+
this.y44_1 = groupName;
|
|
3807
3807
|
}
|
|
3808
3808
|
Option.prototype.toString = function () {
|
|
3809
|
-
return 'Option(names=' + this.
|
|
3809
|
+
return 'Option(names=' + this.s44_1 + ', secondaryNames=' + this.t44_1 + ', metavar=' + this.u44_1 + ', help=' + this.v44_1 + ', nvalues=' + this.w44_1 + ', tags=' + this.x44_1 + ', groupName=' + this.y44_1 + ')';
|
|
3810
3810
|
};
|
|
3811
3811
|
Option.prototype.hashCode = function () {
|
|
3812
|
-
var result = hashCode(this.
|
|
3813
|
-
result = imul(result, 31) + hashCode(this.
|
|
3814
|
-
result = imul(result, 31) + (this.
|
|
3815
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3816
|
-
result = imul(result, 31) + this.
|
|
3817
|
-
result = imul(result, 31) + hashCode(this.
|
|
3818
|
-
result = imul(result, 31) + (this.
|
|
3812
|
+
var result = hashCode(this.s44_1);
|
|
3813
|
+
result = imul(result, 31) + hashCode(this.t44_1) | 0;
|
|
3814
|
+
result = imul(result, 31) + (this.u44_1 == null ? 0 : getStringHashCode(this.u44_1)) | 0;
|
|
3815
|
+
result = imul(result, 31) + getStringHashCode(this.v44_1) | 0;
|
|
3816
|
+
result = imul(result, 31) + this.w44_1 | 0;
|
|
3817
|
+
result = imul(result, 31) + hashCode(this.x44_1) | 0;
|
|
3818
|
+
result = imul(result, 31) + (this.y44_1 == null ? 0 : getStringHashCode(this.y44_1)) | 0;
|
|
3819
3819
|
return result;
|
|
3820
3820
|
};
|
|
3821
3821
|
Option.prototype.equals = function (other) {
|
|
@@ -3824,39 +3824,39 @@
|
|
|
3824
3824
|
if (!(other instanceof Option))
|
|
3825
3825
|
return false;
|
|
3826
3826
|
var tmp0_other_with_cast = other instanceof Option ? other : THROW_CCE();
|
|
3827
|
-
if (!equals(this.
|
|
3827
|
+
if (!equals(this.s44_1, tmp0_other_with_cast.s44_1))
|
|
3828
3828
|
return false;
|
|
3829
|
-
if (!equals(this.
|
|
3829
|
+
if (!equals(this.t44_1, tmp0_other_with_cast.t44_1))
|
|
3830
3830
|
return false;
|
|
3831
|
-
if (!(this.
|
|
3831
|
+
if (!(this.u44_1 == tmp0_other_with_cast.u44_1))
|
|
3832
3832
|
return false;
|
|
3833
|
-
if (!(this.
|
|
3833
|
+
if (!(this.v44_1 === tmp0_other_with_cast.v44_1))
|
|
3834
3834
|
return false;
|
|
3835
|
-
if (!(this.
|
|
3835
|
+
if (!(this.w44_1 === tmp0_other_with_cast.w44_1))
|
|
3836
3836
|
return false;
|
|
3837
|
-
if (!equals(this.
|
|
3837
|
+
if (!equals(this.x44_1, tmp0_other_with_cast.x44_1))
|
|
3838
3838
|
return false;
|
|
3839
|
-
if (!(this.
|
|
3839
|
+
if (!(this.y44_1 == tmp0_other_with_cast.y44_1))
|
|
3840
3840
|
return false;
|
|
3841
3841
|
return true;
|
|
3842
3842
|
};
|
|
3843
3843
|
function Argument(name, help, required, repeatable, tags) {
|
|
3844
3844
|
ParameterHelp.call(this);
|
|
3845
|
-
this.
|
|
3846
|
-
this.
|
|
3847
|
-
this.
|
|
3848
|
-
this.
|
|
3849
|
-
this.
|
|
3845
|
+
this.k44_1 = name;
|
|
3846
|
+
this.l44_1 = help;
|
|
3847
|
+
this.m44_1 = required;
|
|
3848
|
+
this.n44_1 = repeatable;
|
|
3849
|
+
this.o44_1 = tags;
|
|
3850
3850
|
}
|
|
3851
3851
|
Argument.prototype.toString = function () {
|
|
3852
|
-
return 'Argument(name=' + this.
|
|
3852
|
+
return 'Argument(name=' + this.k44_1 + ', help=' + this.l44_1 + ', required=' + this.m44_1 + ', repeatable=' + this.n44_1 + ', tags=' + this.o44_1 + ')';
|
|
3853
3853
|
};
|
|
3854
3854
|
Argument.prototype.hashCode = function () {
|
|
3855
|
-
var result = getStringHashCode(this.
|
|
3856
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3857
|
-
result = imul(result, 31) + (this.
|
|
3858
|
-
result = imul(result, 31) + (this.
|
|
3859
|
-
result = imul(result, 31) + hashCode(this.
|
|
3855
|
+
var result = getStringHashCode(this.k44_1);
|
|
3856
|
+
result = imul(result, 31) + getStringHashCode(this.l44_1) | 0;
|
|
3857
|
+
result = imul(result, 31) + (this.m44_1 | 0) | 0;
|
|
3858
|
+
result = imul(result, 31) + (this.n44_1 | 0) | 0;
|
|
3859
|
+
result = imul(result, 31) + hashCode(this.o44_1) | 0;
|
|
3860
3860
|
return result;
|
|
3861
3861
|
};
|
|
3862
3862
|
Argument.prototype.equals = function (other) {
|
|
@@ -3865,31 +3865,31 @@
|
|
|
3865
3865
|
if (!(other instanceof Argument))
|
|
3866
3866
|
return false;
|
|
3867
3867
|
var tmp0_other_with_cast = other instanceof Argument ? other : THROW_CCE();
|
|
3868
|
-
if (!(this.
|
|
3868
|
+
if (!(this.k44_1 === tmp0_other_with_cast.k44_1))
|
|
3869
3869
|
return false;
|
|
3870
|
-
if (!(this.
|
|
3870
|
+
if (!(this.l44_1 === tmp0_other_with_cast.l44_1))
|
|
3871
3871
|
return false;
|
|
3872
|
-
if (!(this.
|
|
3872
|
+
if (!(this.m44_1 === tmp0_other_with_cast.m44_1))
|
|
3873
3873
|
return false;
|
|
3874
|
-
if (!(this.
|
|
3874
|
+
if (!(this.n44_1 === tmp0_other_with_cast.n44_1))
|
|
3875
3875
|
return false;
|
|
3876
|
-
if (!equals(this.
|
|
3876
|
+
if (!equals(this.o44_1, tmp0_other_with_cast.o44_1))
|
|
3877
3877
|
return false;
|
|
3878
3878
|
return true;
|
|
3879
3879
|
};
|
|
3880
3880
|
function Subcommand(name, help, tags) {
|
|
3881
3881
|
ParameterHelp.call(this);
|
|
3882
|
-
this.
|
|
3883
|
-
this.
|
|
3884
|
-
this.
|
|
3882
|
+
this.h45_1 = name;
|
|
3883
|
+
this.i45_1 = help;
|
|
3884
|
+
this.j45_1 = tags;
|
|
3885
3885
|
}
|
|
3886
3886
|
Subcommand.prototype.toString = function () {
|
|
3887
|
-
return 'Subcommand(name=' + this.
|
|
3887
|
+
return 'Subcommand(name=' + this.h45_1 + ', help=' + this.i45_1 + ', tags=' + this.j45_1 + ')';
|
|
3888
3888
|
};
|
|
3889
3889
|
Subcommand.prototype.hashCode = function () {
|
|
3890
|
-
var result = getStringHashCode(this.
|
|
3891
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3892
|
-
result = imul(result, 31) + hashCode(this.
|
|
3890
|
+
var result = getStringHashCode(this.h45_1);
|
|
3891
|
+
result = imul(result, 31) + getStringHashCode(this.i45_1) | 0;
|
|
3892
|
+
result = imul(result, 31) + hashCode(this.j45_1) | 0;
|
|
3893
3893
|
return result;
|
|
3894
3894
|
};
|
|
3895
3895
|
Subcommand.prototype.equals = function (other) {
|
|
@@ -3898,25 +3898,25 @@
|
|
|
3898
3898
|
if (!(other instanceof Subcommand))
|
|
3899
3899
|
return false;
|
|
3900
3900
|
var tmp0_other_with_cast = other instanceof Subcommand ? other : THROW_CCE();
|
|
3901
|
-
if (!(this.
|
|
3901
|
+
if (!(this.h45_1 === tmp0_other_with_cast.h45_1))
|
|
3902
3902
|
return false;
|
|
3903
|
-
if (!(this.
|
|
3903
|
+
if (!(this.i45_1 === tmp0_other_with_cast.i45_1))
|
|
3904
3904
|
return false;
|
|
3905
|
-
if (!equals(this.
|
|
3905
|
+
if (!equals(this.j45_1, tmp0_other_with_cast.j45_1))
|
|
3906
3906
|
return false;
|
|
3907
3907
|
return true;
|
|
3908
3908
|
};
|
|
3909
3909
|
function Group(name, help) {
|
|
3910
3910
|
ParameterHelp.call(this);
|
|
3911
|
-
this.
|
|
3912
|
-
this.
|
|
3911
|
+
this.q44_1 = name;
|
|
3912
|
+
this.r44_1 = help;
|
|
3913
3913
|
}
|
|
3914
3914
|
Group.prototype.toString = function () {
|
|
3915
|
-
return 'Group(name=' + this.
|
|
3915
|
+
return 'Group(name=' + this.q44_1 + ', help=' + this.r44_1 + ')';
|
|
3916
3916
|
};
|
|
3917
3917
|
Group.prototype.hashCode = function () {
|
|
3918
|
-
var result = getStringHashCode(this.
|
|
3919
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3918
|
+
var result = getStringHashCode(this.q44_1);
|
|
3919
|
+
result = imul(result, 31) + getStringHashCode(this.r44_1) | 0;
|
|
3920
3920
|
return result;
|
|
3921
3921
|
};
|
|
3922
3922
|
Group.prototype.equals = function (other) {
|
|
@@ -3925,9 +3925,9 @@
|
|
|
3925
3925
|
if (!(other instanceof Group))
|
|
3926
3926
|
return false;
|
|
3927
3927
|
var tmp0_other_with_cast = other instanceof Group ? other : THROW_CCE();
|
|
3928
|
-
if (!(this.
|
|
3928
|
+
if (!(this.q44_1 === tmp0_other_with_cast.q44_1))
|
|
3929
3929
|
return false;
|
|
3930
|
-
if (!(this.
|
|
3930
|
+
if (!(this.r44_1 === tmp0_other_with_cast.r44_1))
|
|
3931
3931
|
return false;
|
|
3932
3932
|
return true;
|
|
3933
3933
|
};
|
|
@@ -3935,8 +3935,8 @@
|
|
|
3935
3935
|
}
|
|
3936
3936
|
function Tags() {
|
|
3937
3937
|
Tags_instance = this;
|
|
3938
|
-
this.
|
|
3939
|
-
this.
|
|
3938
|
+
this.o45_1 = 'default';
|
|
3939
|
+
this.p45_1 = 'required';
|
|
3940
3940
|
}
|
|
3941
3941
|
var Tags_instance;
|
|
3942
3942
|
function Tags_getInstance() {
|
|
@@ -3992,7 +3992,7 @@
|
|
|
3992
3992
|
function TermUi() {
|
|
3993
3993
|
TermUi_instance = this;
|
|
3994
3994
|
}
|
|
3995
|
-
TermUi.prototype.
|
|
3995
|
+
TermUi.prototype.h3y = function (message, trailingNewline, err, console, lineSeparator) {
|
|
3996
3996
|
var tmp0_safe_receiver = message;
|
|
3997
3997
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : toString_0(tmp0_safe_receiver);
|
|
3998
3998
|
var tmp;
|
|
@@ -4007,9 +4007,9 @@
|
|
|
4007
4007
|
}
|
|
4008
4008
|
var tmp2_elvis_lhs = tmp;
|
|
4009
4009
|
var text = tmp2_elvis_lhs == null ? 'null' : tmp2_elvis_lhs;
|
|
4010
|
-
console.
|
|
4010
|
+
console.z45(trailingNewline ? text + lineSeparator : text, err);
|
|
4011
4011
|
};
|
|
4012
|
-
TermUi.prototype.
|
|
4012
|
+
TermUi.prototype.a46 = function (message, trailingNewline, err, console, lineSeparator, $mask0, $handler) {
|
|
4013
4013
|
if (!(($mask0 & 2) === 0))
|
|
4014
4014
|
trailingNewline = true;
|
|
4015
4015
|
if (!(($mask0 & 4) === 0))
|
|
@@ -4017,16 +4017,16 @@
|
|
|
4017
4017
|
if (!(($mask0 & 8) === 0))
|
|
4018
4018
|
console = defaultCliktConsole();
|
|
4019
4019
|
if (!(($mask0 & 16) === 0))
|
|
4020
|
-
lineSeparator = console.
|
|
4021
|
-
return this.
|
|
4020
|
+
lineSeparator = console.j3y();
|
|
4021
|
+
return this.h3y(message, trailingNewline, err, console, lineSeparator);
|
|
4022
4022
|
};
|
|
4023
|
-
TermUi.prototype.
|
|
4023
|
+
TermUi.prototype.l3y = function (text, default_0, hideInput, requireConfirmation, confirmationPrompt, promptSuffix, showDefault, console, convert) {
|
|
4024
4024
|
var prompt = buildPrompt(this, text, promptSuffix, showDefault, default_0);
|
|
4025
4025
|
try {
|
|
4026
4026
|
$l$loop_0: while (true) {
|
|
4027
4027
|
var value;
|
|
4028
4028
|
$l$loop: while (true) {
|
|
4029
|
-
var tmp0_elvis_lhs = console.
|
|
4029
|
+
var tmp0_elvis_lhs = console.b46(prompt, hideInput);
|
|
4030
4030
|
var tmp;
|
|
4031
4031
|
if (tmp0_elvis_lhs == null) {
|
|
4032
4032
|
return null;
|
|
@@ -4051,8 +4051,8 @@
|
|
|
4051
4051
|
} catch ($p) {
|
|
4052
4052
|
var tmp_1;
|
|
4053
4053
|
if ($p instanceof UsageError) {
|
|
4054
|
-
var tmp_2 = $p.
|
|
4055
|
-
this.
|
|
4054
|
+
var tmp_2 = $p.z3y();
|
|
4055
|
+
this.a46(tmp_2, false, false, console, null, 22, null);
|
|
4056
4056
|
continue $l$loop_0;
|
|
4057
4057
|
} else {
|
|
4058
4058
|
throw $p;
|
|
@@ -4064,7 +4064,7 @@
|
|
|
4064
4064
|
return result;
|
|
4065
4065
|
var value2;
|
|
4066
4066
|
$l$loop_1: while (true) {
|
|
4067
|
-
var tmp1_elvis_lhs = console.
|
|
4067
|
+
var tmp1_elvis_lhs = console.b46(confirmationPrompt, hideInput);
|
|
4068
4068
|
var tmp_3;
|
|
4069
4069
|
if (tmp1_elvis_lhs == null) {
|
|
4070
4070
|
return null;
|
|
@@ -4081,7 +4081,7 @@
|
|
|
4081
4081
|
}
|
|
4082
4082
|
if (value === value2)
|
|
4083
4083
|
return result;
|
|
4084
|
-
this.
|
|
4084
|
+
this.a46('Error: the two entered values do not match', false, false, console, null, 22, null);
|
|
4085
4085
|
}
|
|
4086
4086
|
} catch ($p) {
|
|
4087
4087
|
if ($p instanceof Exception) {
|
|
@@ -4370,19 +4370,19 @@
|
|
|
4370
4370
|
}
|
|
4371
4371
|
}
|
|
4372
4372
|
function _set_value__lx0xdg($this, _set____db54di) {
|
|
4373
|
-
return $this.
|
|
4373
|
+
return $this.r3z_1.e46($this, value$factory(), _set____db54di);
|
|
4374
4374
|
}
|
|
4375
4375
|
function ProcessedArgument(name, nvalues, required, argumentHelp, helpTags, completionCandidatesWithDefault, transformValue, transformAll, transformValidator) {
|
|
4376
|
-
this.
|
|
4377
|
-
this.
|
|
4378
|
-
this.
|
|
4379
|
-
this.
|
|
4380
|
-
this.
|
|
4381
|
-
this.
|
|
4382
|
-
this.
|
|
4383
|
-
this.
|
|
4376
|
+
this.i3z_1 = nvalues;
|
|
4377
|
+
this.j3z_1 = required;
|
|
4378
|
+
this.k3z_1 = argumentHelp;
|
|
4379
|
+
this.l3z_1 = helpTags;
|
|
4380
|
+
this.m3z_1 = completionCandidatesWithDefault;
|
|
4381
|
+
this.n3z_1 = transformValue;
|
|
4382
|
+
this.o3z_1 = transformAll;
|
|
4383
|
+
this.p3z_1 = transformValidator;
|
|
4384
4384
|
// Inline function 'kotlin.require' call
|
|
4385
|
-
var tmp0_require = !(this.
|
|
4385
|
+
var tmp0_require = !(this.i3z_1 === 0);
|
|
4386
4386
|
// Inline function 'kotlin.contracts.contract' call
|
|
4387
4387
|
if (!tmp0_require) {
|
|
4388
4388
|
var tmp$ret$0;
|
|
@@ -4391,38 +4391,38 @@
|
|
|
4391
4391
|
var message = tmp$ret$0;
|
|
4392
4392
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
4393
4393
|
}
|
|
4394
|
-
this.
|
|
4395
|
-
this.
|
|
4394
|
+
this.q3z_1 = name;
|
|
4395
|
+
this.r3z_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
4396
4396
|
}
|
|
4397
|
-
ProcessedArgument.prototype.
|
|
4398
|
-
return this.
|
|
4397
|
+
ProcessedArgument.prototype.h3x = function () {
|
|
4398
|
+
return this.i3z_1;
|
|
4399
4399
|
};
|
|
4400
|
-
ProcessedArgument.prototype.
|
|
4401
|
-
return this.
|
|
4400
|
+
ProcessedArgument.prototype.f46 = function () {
|
|
4401
|
+
return this.j3z_1;
|
|
4402
4402
|
};
|
|
4403
|
-
ProcessedArgument.prototype.
|
|
4404
|
-
return this.
|
|
4403
|
+
ProcessedArgument.prototype.r3x = function () {
|
|
4404
|
+
return this.k3z_1;
|
|
4405
4405
|
};
|
|
4406
4406
|
ProcessedArgument.prototype.og = function () {
|
|
4407
|
-
return this.
|
|
4407
|
+
return this.q3z_1;
|
|
4408
4408
|
};
|
|
4409
4409
|
ProcessedArgument.prototype.b1 = function () {
|
|
4410
|
-
return this.
|
|
4410
|
+
return this.r3z_1.g46(this, value$factory_0());
|
|
4411
4411
|
};
|
|
4412
|
-
ProcessedArgument.prototype.
|
|
4413
|
-
return this.
|
|
4412
|
+
ProcessedArgument.prototype.g3x = function () {
|
|
4413
|
+
return this.m3z_1.b1();
|
|
4414
4414
|
};
|
|
4415
|
-
ProcessedArgument.prototype.
|
|
4416
|
-
return new Argument(this.
|
|
4415
|
+
ProcessedArgument.prototype.v3x = function (context) {
|
|
4416
|
+
return new Argument(this.q3z_1, this.k3z_1, this.j3z_1 ? true : this.i3z_1 > 1, this.i3z_1 < 0, this.l3z_1);
|
|
4417
4417
|
};
|
|
4418
|
-
ProcessedArgument.prototype.
|
|
4418
|
+
ProcessedArgument.prototype.j46 = function (thisRef, property) {
|
|
4419
4419
|
return this.b1();
|
|
4420
4420
|
};
|
|
4421
|
-
ProcessedArgument.prototype.
|
|
4422
|
-
return this.
|
|
4421
|
+
ProcessedArgument.prototype.k46 = function (thisRef, property) {
|
|
4422
|
+
return this.j46(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
4423
4423
|
};
|
|
4424
|
-
ProcessedArgument.prototype.
|
|
4425
|
-
if (isBlank(this.
|
|
4424
|
+
ProcessedArgument.prototype.l46 = function (thisRef, prop) {
|
|
4425
|
+
if (isBlank(this.q3z_1)) {
|
|
4426
4426
|
var tmp = this;
|
|
4427
4427
|
var tmp$ret$1;
|
|
4428
4428
|
// Inline function 'kotlin.text.uppercase' call
|
|
@@ -4432,12 +4432,12 @@
|
|
|
4432
4432
|
tmp$ret$0 = tmp0_uppercase;
|
|
4433
4433
|
tmp$ret$1 = tmp$ret$0.toUpperCase();
|
|
4434
4434
|
var tmp_0 = tmp$ret$1;
|
|
4435
|
-
tmp.
|
|
4435
|
+
tmp.q3z_1 = replace$default_0(tmp_0, '-', '_', false, 4, null);
|
|
4436
4436
|
}
|
|
4437
|
-
thisRef.
|
|
4437
|
+
thisRef.b3y(this);
|
|
4438
4438
|
return this;
|
|
4439
4439
|
};
|
|
4440
|
-
ProcessedArgument.prototype.
|
|
4440
|
+
ProcessedArgument.prototype.m46 = function (context, values) {
|
|
4441
4441
|
var ctx = new ArgumentTransformContext(this, context);
|
|
4442
4442
|
var tmp$ret$2;
|
|
4443
4443
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4449,15 +4449,15 @@
|
|
|
4449
4449
|
var item = tmp0_iterator.p();
|
|
4450
4450
|
var tmp$ret$0;
|
|
4451
4451
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgument.finalize.<anonymous>' call
|
|
4452
|
-
tmp$ret$0 = this.
|
|
4452
|
+
tmp$ret$0 = this.n3z_1(ctx, item);
|
|
4453
4453
|
tmp0_mapTo.g(tmp$ret$0);
|
|
4454
4454
|
}
|
|
4455
4455
|
tmp$ret$1 = tmp0_mapTo;
|
|
4456
4456
|
tmp$ret$2 = tmp$ret$1;
|
|
4457
|
-
_set_value__lx0xdg(this, this.
|
|
4457
|
+
_set_value__lx0xdg(this, this.o3z_1(ctx, tmp$ret$2));
|
|
4458
4458
|
};
|
|
4459
|
-
ProcessedArgument.prototype.
|
|
4460
|
-
this.
|
|
4459
|
+
ProcessedArgument.prototype.n46 = function (context) {
|
|
4460
|
+
this.p3z_1(new ArgumentTransformContext(this, context), this.b1());
|
|
4461
4461
|
};
|
|
4462
4462
|
function argument(_this__u8e3s4, name, help, helpTags, completionCandidates) {
|
|
4463
4463
|
var tmp = new ValueWithDefault(completionCandidates, None_getInstance());
|
|
@@ -4477,32 +4477,32 @@
|
|
|
4477
4477
|
function Argument_0() {
|
|
4478
4478
|
}
|
|
4479
4479
|
function ArgumentTransformContext(argument, context) {
|
|
4480
|
-
this.
|
|
4481
|
-
this.
|
|
4480
|
+
this.o46_1 = argument;
|
|
4481
|
+
this.p46_1 = context;
|
|
4482
4482
|
}
|
|
4483
|
-
ArgumentTransformContext.prototype.
|
|
4484
|
-
return this.
|
|
4483
|
+
ArgumentTransformContext.prototype.r3x = function () {
|
|
4484
|
+
return this.o46_1.r3x();
|
|
4485
4485
|
};
|
|
4486
|
-
ArgumentTransformContext.prototype.
|
|
4487
|
-
return this.
|
|
4486
|
+
ArgumentTransformContext.prototype.g3x = function () {
|
|
4487
|
+
return this.o46_1.g3x();
|
|
4488
4488
|
};
|
|
4489
4489
|
ArgumentTransformContext.prototype.og = function () {
|
|
4490
|
-
return this.
|
|
4490
|
+
return this.o46_1.og();
|
|
4491
4491
|
};
|
|
4492
|
-
ArgumentTransformContext.prototype.
|
|
4493
|
-
return this.
|
|
4492
|
+
ArgumentTransformContext.prototype.h3x = function () {
|
|
4493
|
+
return this.o46_1.h3x();
|
|
4494
4494
|
};
|
|
4495
|
-
ArgumentTransformContext.prototype.
|
|
4496
|
-
return this.
|
|
4495
|
+
ArgumentTransformContext.prototype.f46 = function () {
|
|
4496
|
+
return this.o46_1.f46();
|
|
4497
4497
|
};
|
|
4498
|
-
ArgumentTransformContext.prototype.
|
|
4499
|
-
this.
|
|
4498
|
+
ArgumentTransformContext.prototype.m46 = function (context, values) {
|
|
4499
|
+
this.o46_1.m46(context, values);
|
|
4500
4500
|
};
|
|
4501
|
-
ArgumentTransformContext.prototype.
|
|
4502
|
-
return this.
|
|
4501
|
+
ArgumentTransformContext.prototype.v3x = function (context) {
|
|
4502
|
+
return this.o46_1.v3x(context);
|
|
4503
4503
|
};
|
|
4504
|
-
ArgumentTransformContext.prototype.
|
|
4505
|
-
this.
|
|
4504
|
+
ArgumentTransformContext.prototype.n46 = function (context) {
|
|
4505
|
+
this.o46_1.n46(context);
|
|
4506
4506
|
};
|
|
4507
4507
|
function defaultAllProcessor() {
|
|
4508
4508
|
return defaultAllProcessor$lambda;
|
|
@@ -4545,138 +4545,138 @@
|
|
|
4545
4545
|
return UNINITIALIZED_instance;
|
|
4546
4546
|
}
|
|
4547
4547
|
function NullableLateinit(errorMessage) {
|
|
4548
|
-
this.
|
|
4549
|
-
this.
|
|
4548
|
+
this.c46_1 = errorMessage;
|
|
4549
|
+
this.d46_1 = UNINITIALIZED_getInstance();
|
|
4550
4550
|
}
|
|
4551
|
-
NullableLateinit.prototype.
|
|
4552
|
-
if (this.
|
|
4553
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4551
|
+
NullableLateinit.prototype.g46 = function (thisRef, property) {
|
|
4552
|
+
if (this.d46_1 === UNINITIALIZED_getInstance())
|
|
4553
|
+
throw IllegalStateException_init_$Create$(this.c46_1);
|
|
4554
4554
|
try {
|
|
4555
|
-
var tmp = this.
|
|
4555
|
+
var tmp = this.d46_1;
|
|
4556
4556
|
return (tmp == null ? true : isObject(tmp)) ? tmp : THROW_CCE();
|
|
4557
4557
|
} catch ($p) {
|
|
4558
4558
|
if ($p instanceof ClassCastException) {
|
|
4559
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4559
|
+
throw IllegalStateException_init_$Create$(this.c46_1);
|
|
4560
4560
|
} else {
|
|
4561
4561
|
throw $p;
|
|
4562
4562
|
}
|
|
4563
4563
|
}
|
|
4564
4564
|
};
|
|
4565
|
-
NullableLateinit.prototype.
|
|
4566
|
-
return this.
|
|
4565
|
+
NullableLateinit.prototype.k46 = function (thisRef, property) {
|
|
4566
|
+
return this.g46(isObject(thisRef) ? thisRef : THROW_CCE(), property);
|
|
4567
4567
|
};
|
|
4568
|
-
NullableLateinit.prototype.
|
|
4569
|
-
this.
|
|
4568
|
+
NullableLateinit.prototype.e46 = function (thisRef, property, value) {
|
|
4569
|
+
this.d46_1 = value;
|
|
4570
4570
|
};
|
|
4571
4571
|
function EagerOption(names, nvalues, optionHelp, hidden, helpTags, groupName, callback) {
|
|
4572
|
-
this.
|
|
4573
|
-
this.
|
|
4574
|
-
this.
|
|
4575
|
-
this.
|
|
4576
|
-
this.
|
|
4577
|
-
this.
|
|
4578
|
-
this.
|
|
4579
|
-
this.
|
|
4580
|
-
}
|
|
4581
|
-
EagerOption.prototype.
|
|
4582
|
-
return this.p46_1;
|
|
4583
|
-
};
|
|
4584
|
-
EagerOption.prototype.e3x = function () {
|
|
4585
|
-
return this.q46_1;
|
|
4586
|
-
};
|
|
4587
|
-
EagerOption.prototype.n3x = function () {
|
|
4588
|
-
return this.r46_1;
|
|
4589
|
-
};
|
|
4590
|
-
EagerOption.prototype.c3x = function () {
|
|
4572
|
+
this.s46_1 = names;
|
|
4573
|
+
this.t46_1 = nvalues;
|
|
4574
|
+
this.u46_1 = optionHelp;
|
|
4575
|
+
this.v46_1 = hidden;
|
|
4576
|
+
this.w46_1 = helpTags;
|
|
4577
|
+
this.x46_1 = groupName;
|
|
4578
|
+
this.y46_1 = callback;
|
|
4579
|
+
this.z46_1 = FlagOptionParser_getInstance();
|
|
4580
|
+
}
|
|
4581
|
+
EagerOption.prototype.k3w = function () {
|
|
4591
4582
|
return this.s46_1;
|
|
4592
4583
|
};
|
|
4593
|
-
EagerOption.prototype.
|
|
4584
|
+
EagerOption.prototype.h3x = function () {
|
|
4594
4585
|
return this.t46_1;
|
|
4595
4586
|
};
|
|
4596
|
-
EagerOption.prototype.
|
|
4587
|
+
EagerOption.prototype.q3x = function () {
|
|
4597
4588
|
return this.u46_1;
|
|
4598
4589
|
};
|
|
4599
|
-
EagerOption.prototype.
|
|
4600
|
-
return
|
|
4590
|
+
EagerOption.prototype.f3x = function () {
|
|
4591
|
+
return this.v46_1;
|
|
4601
4592
|
};
|
|
4602
|
-
EagerOption.prototype.
|
|
4593
|
+
EagerOption.prototype.a47 = function () {
|
|
4603
4594
|
return this.w46_1;
|
|
4604
4595
|
};
|
|
4605
|
-
EagerOption.prototype.
|
|
4596
|
+
EagerOption.prototype.h40 = function () {
|
|
4597
|
+
return this.x46_1;
|
|
4598
|
+
};
|
|
4599
|
+
EagerOption.prototype.l3w = function () {
|
|
4600
|
+
return emptySet();
|
|
4601
|
+
};
|
|
4602
|
+
EagerOption.prototype.b47 = function () {
|
|
4603
|
+
return this.z46_1;
|
|
4604
|
+
};
|
|
4605
|
+
EagerOption.prototype.c47 = function (context) {
|
|
4606
4606
|
return null;
|
|
4607
4607
|
};
|
|
4608
|
-
EagerOption.prototype.
|
|
4608
|
+
EagerOption.prototype.n46 = function (context) {
|
|
4609
4609
|
};
|
|
4610
|
-
EagerOption.prototype.
|
|
4611
|
-
this.
|
|
4610
|
+
EagerOption.prototype.j43 = function (context, invocations) {
|
|
4611
|
+
this.y46_1(new OptionTransformContext(this, context));
|
|
4612
4612
|
};
|
|
4613
4613
|
function helpOption(names, message) {
|
|
4614
4614
|
var tmp = emptyMap();
|
|
4615
4615
|
return new EagerOption(names, 0, message, false, tmp, null, helpOption$lambda);
|
|
4616
4616
|
}
|
|
4617
4617
|
function helpOption$lambda($this$$receiver) {
|
|
4618
|
-
throw PrintHelpMessage_init_$Create$($this$$receiver.
|
|
4618
|
+
throw PrintHelpMessage_init_$Create$($this$$receiver.e47_1.n3w_1, false, 2, null);
|
|
4619
4619
|
}
|
|
4620
4620
|
function _set_value__lx0xdg_0($this, _set____db54di) {
|
|
4621
|
-
return $this.
|
|
4621
|
+
return $this.r47_1.e46($this, value$factory_1(), _set____db54di);
|
|
4622
4622
|
}
|
|
4623
4623
|
function FlagOption(names, secondaryNames, optionHelp, hidden, helpTags, valueSourceKey, envvar, transformEnvvar, transformAll, validator) {
|
|
4624
|
-
this.
|
|
4625
|
-
this.
|
|
4626
|
-
this.
|
|
4627
|
-
this.
|
|
4628
|
-
this.
|
|
4629
|
-
this.
|
|
4630
|
-
this.
|
|
4631
|
-
this.
|
|
4632
|
-
this.
|
|
4633
|
-
this.
|
|
4634
|
-
this.
|
|
4635
|
-
this.
|
|
4636
|
-
this.
|
|
4637
|
-
this.
|
|
4638
|
-
}
|
|
4639
|
-
FlagOption.prototype.
|
|
4640
|
-
return this.c47_1;
|
|
4641
|
-
};
|
|
4642
|
-
FlagOption.prototype.n3x = function () {
|
|
4643
|
-
return this.d47_1;
|
|
4644
|
-
};
|
|
4645
|
-
FlagOption.prototype.c3x = function () {
|
|
4646
|
-
return this.e47_1;
|
|
4647
|
-
};
|
|
4648
|
-
FlagOption.prototype.x46 = function () {
|
|
4624
|
+
this.f47_1 = secondaryNames;
|
|
4625
|
+
this.g47_1 = optionHelp;
|
|
4626
|
+
this.h47_1 = hidden;
|
|
4627
|
+
this.i47_1 = helpTags;
|
|
4628
|
+
this.j47_1 = valueSourceKey;
|
|
4629
|
+
this.k47_1 = envvar;
|
|
4630
|
+
this.l47_1 = transformEnvvar;
|
|
4631
|
+
this.m47_1 = transformAll;
|
|
4632
|
+
this.n47_1 = validator;
|
|
4633
|
+
this.o47_1 = null;
|
|
4634
|
+
this.p47_1 = null;
|
|
4635
|
+
this.q47_1 = FlagOptionParser_getInstance();
|
|
4636
|
+
this.r47_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4637
|
+
this.s47_1 = names;
|
|
4638
|
+
}
|
|
4639
|
+
FlagOption.prototype.l3w = function () {
|
|
4649
4640
|
return this.f47_1;
|
|
4650
4641
|
};
|
|
4651
|
-
FlagOption.prototype.
|
|
4652
|
-
return this.
|
|
4642
|
+
FlagOption.prototype.q3x = function () {
|
|
4643
|
+
return this.g47_1;
|
|
4653
4644
|
};
|
|
4654
|
-
FlagOption.prototype.
|
|
4655
|
-
return this.
|
|
4645
|
+
FlagOption.prototype.f3x = function () {
|
|
4646
|
+
return this.h47_1;
|
|
4656
4647
|
};
|
|
4657
|
-
FlagOption.prototype.
|
|
4648
|
+
FlagOption.prototype.a47 = function () {
|
|
4649
|
+
return this.i47_1;
|
|
4650
|
+
};
|
|
4651
|
+
FlagOption.prototype.g40 = function () {
|
|
4652
|
+
return this.o47_1;
|
|
4653
|
+
};
|
|
4654
|
+
FlagOption.prototype.h40 = function () {
|
|
4655
|
+
return this.p47_1;
|
|
4656
|
+
};
|
|
4657
|
+
FlagOption.prototype.c47 = function (context) {
|
|
4658
4658
|
return null;
|
|
4659
4659
|
};
|
|
4660
|
-
FlagOption.prototype.
|
|
4660
|
+
FlagOption.prototype.h3x = function () {
|
|
4661
4661
|
return 0;
|
|
4662
4662
|
};
|
|
4663
|
-
FlagOption.prototype.
|
|
4664
|
-
return this.
|
|
4663
|
+
FlagOption.prototype.b47 = function () {
|
|
4664
|
+
return this.q47_1;
|
|
4665
4665
|
};
|
|
4666
4666
|
FlagOption.prototype.b1 = function () {
|
|
4667
|
-
return this.
|
|
4667
|
+
return this.r47_1.g46(this, value$factory_2());
|
|
4668
4668
|
};
|
|
4669
|
-
FlagOption.prototype.
|
|
4670
|
-
return this.
|
|
4669
|
+
FlagOption.prototype.k3w = function () {
|
|
4670
|
+
return this.s47_1;
|
|
4671
4671
|
};
|
|
4672
|
-
FlagOption.prototype.
|
|
4673
|
-
this.
|
|
4674
|
-
thisRef.
|
|
4672
|
+
FlagOption.prototype.t47 = function (thisRef, prop) {
|
|
4673
|
+
this.s47_1 = inferOptionNames(this.s47_1, prop.callableName);
|
|
4674
|
+
thisRef.a3y(this);
|
|
4675
4675
|
return this;
|
|
4676
4676
|
};
|
|
4677
|
-
FlagOption.prototype.
|
|
4677
|
+
FlagOption.prototype.j43 = function (context, invocations) {
|
|
4678
4678
|
var transformContext = new OptionTransformContext(this, context);
|
|
4679
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
4679
|
+
var v = getFinalValue(this, context, invocations, this.k47_1);
|
|
4680
4680
|
var tmp;
|
|
4681
4681
|
if (v instanceof Parsed) {
|
|
4682
4682
|
var tmp$ret$2;
|
|
@@ -4689,23 +4689,23 @@
|
|
|
4689
4689
|
var item = tmp0_iterator.p();
|
|
4690
4690
|
var tmp$ret$0;
|
|
4691
4691
|
// Inline function 'com.github.ajalt.clikt.parameters.options.FlagOption.finalize.<anonymous>' call
|
|
4692
|
-
tmp$ret$0 = item.
|
|
4692
|
+
tmp$ret$0 = item.y47_1;
|
|
4693
4693
|
tmp0_mapTo.g(tmp$ret$0);
|
|
4694
4694
|
}
|
|
4695
4695
|
tmp$ret$1 = tmp0_mapTo;
|
|
4696
4696
|
tmp$ret$2 = tmp$ret$1;
|
|
4697
|
-
tmp = this.
|
|
4697
|
+
tmp = this.m47_1(transformContext, tmp$ret$2);
|
|
4698
4698
|
} else {
|
|
4699
4699
|
if (v instanceof Sourced) {
|
|
4700
|
-
if (!(v.
|
|
4700
|
+
if (!(v.x47_1.o() === 1) ? true : !(v.x47_1.n(0).w47_1.o() === 1)) {
|
|
4701
4701
|
var tmp0_elvis_lhs = longestName(this);
|
|
4702
|
-
var message = context.
|
|
4702
|
+
var message = context.z3w_1.u45(tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
|
|
4703
4703
|
throw UsageError_init_$Create$_0(message, this, null, 0, 12, null);
|
|
4704
4704
|
}
|
|
4705
|
-
tmp = this.
|
|
4705
|
+
tmp = this.l47_1(transformContext, v.x47_1.n(0).w47_1.n(0));
|
|
4706
4706
|
} else {
|
|
4707
4707
|
if (v instanceof Envvar) {
|
|
4708
|
-
tmp = this.
|
|
4708
|
+
tmp = this.l47_1(transformContext, v.v47_1);
|
|
4709
4709
|
} else {
|
|
4710
4710
|
noWhenBranchMatchedException();
|
|
4711
4711
|
}
|
|
@@ -4713,20 +4713,20 @@
|
|
|
4713
4713
|
}
|
|
4714
4714
|
_set_value__lx0xdg_0(this, tmp);
|
|
4715
4715
|
};
|
|
4716
|
-
FlagOption.prototype.
|
|
4717
|
-
this.
|
|
4716
|
+
FlagOption.prototype.n46 = function (context) {
|
|
4717
|
+
this.n47_1(new OptionTransformContext(this, context), this.b1());
|
|
4718
4718
|
};
|
|
4719
|
-
FlagOption.prototype.
|
|
4720
|
-
return this.
|
|
4719
|
+
FlagOption.prototype.k46 = function (thisRef, property) {
|
|
4720
|
+
return this.a48((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4721
4721
|
};
|
|
4722
4722
|
function flag(_this__u8e3s4, secondaryNames, default_0, defaultForHelp) {
|
|
4723
4723
|
Tags_getInstance();
|
|
4724
|
-
var tags = plus_3(_this__u8e3s4.
|
|
4725
|
-
var tmp = _this__u8e3s4.
|
|
4724
|
+
var tags = plus_3(_this__u8e3s4.f48_1, mapOf(to('default', defaultForHelp)));
|
|
4725
|
+
var tmp = _this__u8e3s4.s48_1;
|
|
4726
4726
|
var tmp_0 = toSet(secondaryNames);
|
|
4727
4727
|
var tmp_1 = flag$lambda;
|
|
4728
4728
|
var tmp_2 = flag$lambda_0(default_0, secondaryNames);
|
|
4729
|
-
return new FlagOption(tmp, tmp_0, _this__u8e3s4.
|
|
4729
|
+
return new FlagOption(tmp, tmp_0, _this__u8e3s4.d48_1, _this__u8e3s4.e48_1, tags, _this__u8e3s4.g48_1, _this__u8e3s4.h48_1, tmp_1, tmp_2, flag$lambda_1);
|
|
4730
4730
|
}
|
|
4731
4731
|
function flag$default(_this__u8e3s4, secondaryNames, default_0, defaultForHelp, $mask0, $handler) {
|
|
4732
4732
|
if (!(($mask0 & 2) === 0))
|
|
@@ -4762,7 +4762,7 @@
|
|
|
4762
4762
|
tmp = false;
|
|
4763
4763
|
break;
|
|
4764
4764
|
default:
|
|
4765
|
-
var tmp_0 = $this$$receiver.
|
|
4765
|
+
var tmp_0 = $this$$receiver.e47_1.z3w_1.w45(it);
|
|
4766
4766
|
throw BadParameterValue_init_$Create$_1(tmp_0, $this$$receiver, null, 4, null);
|
|
4767
4767
|
}
|
|
4768
4768
|
return tmp;
|
|
@@ -4795,7 +4795,7 @@
|
|
|
4795
4795
|
var tmp$ret$0;
|
|
4796
4796
|
$l$block_0: {
|
|
4797
4797
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
4798
|
-
var tmp0_maxByOrNull = _this__u8e3s4.
|
|
4798
|
+
var tmp0_maxByOrNull = _this__u8e3s4.k3w();
|
|
4799
4799
|
var iterator = tmp0_maxByOrNull.j();
|
|
4800
4800
|
if (!iterator.m()) {
|
|
4801
4801
|
tmp$ret$0 = null;
|
|
@@ -4831,13 +4831,13 @@
|
|
|
4831
4831
|
}
|
|
4832
4832
|
function Parsed(values) {
|
|
4833
4833
|
FinalValue.call(this);
|
|
4834
|
-
this.
|
|
4834
|
+
this.t48_1 = values;
|
|
4835
4835
|
}
|
|
4836
4836
|
Parsed.prototype.toString = function () {
|
|
4837
|
-
return 'Parsed(values=' + this.
|
|
4837
|
+
return 'Parsed(values=' + this.t48_1 + ')';
|
|
4838
4838
|
};
|
|
4839
4839
|
Parsed.prototype.hashCode = function () {
|
|
4840
|
-
return hashCode(this.
|
|
4840
|
+
return hashCode(this.t48_1);
|
|
4841
4841
|
};
|
|
4842
4842
|
Parsed.prototype.equals = function (other) {
|
|
4843
4843
|
if (this === other)
|
|
@@ -4845,19 +4845,19 @@
|
|
|
4845
4845
|
if (!(other instanceof Parsed))
|
|
4846
4846
|
return false;
|
|
4847
4847
|
var tmp0_other_with_cast = other instanceof Parsed ? other : THROW_CCE();
|
|
4848
|
-
if (!equals(this.
|
|
4848
|
+
if (!equals(this.t48_1, tmp0_other_with_cast.t48_1))
|
|
4849
4849
|
return false;
|
|
4850
4850
|
return true;
|
|
4851
4851
|
};
|
|
4852
4852
|
function Sourced(values) {
|
|
4853
4853
|
FinalValue.call(this);
|
|
4854
|
-
this.
|
|
4854
|
+
this.x47_1 = values;
|
|
4855
4855
|
}
|
|
4856
4856
|
Sourced.prototype.toString = function () {
|
|
4857
|
-
return 'Sourced(values=' + this.
|
|
4857
|
+
return 'Sourced(values=' + this.x47_1 + ')';
|
|
4858
4858
|
};
|
|
4859
4859
|
Sourced.prototype.hashCode = function () {
|
|
4860
|
-
return hashCode(this.
|
|
4860
|
+
return hashCode(this.x47_1);
|
|
4861
4861
|
};
|
|
4862
4862
|
Sourced.prototype.equals = function (other) {
|
|
4863
4863
|
if (this === other)
|
|
@@ -4865,21 +4865,21 @@
|
|
|
4865
4865
|
if (!(other instanceof Sourced))
|
|
4866
4866
|
return false;
|
|
4867
4867
|
var tmp0_other_with_cast = other instanceof Sourced ? other : THROW_CCE();
|
|
4868
|
-
if (!equals(this.
|
|
4868
|
+
if (!equals(this.x47_1, tmp0_other_with_cast.x47_1))
|
|
4869
4869
|
return false;
|
|
4870
4870
|
return true;
|
|
4871
4871
|
};
|
|
4872
4872
|
function Envvar(key, value) {
|
|
4873
4873
|
FinalValue.call(this);
|
|
4874
|
-
this.
|
|
4875
|
-
this.
|
|
4874
|
+
this.u47_1 = key;
|
|
4875
|
+
this.v47_1 = value;
|
|
4876
4876
|
}
|
|
4877
4877
|
Envvar.prototype.toString = function () {
|
|
4878
|
-
return 'Envvar(key=' + this.
|
|
4878
|
+
return 'Envvar(key=' + this.u47_1 + ', value=' + this.v47_1 + ')';
|
|
4879
4879
|
};
|
|
4880
4880
|
Envvar.prototype.hashCode = function () {
|
|
4881
|
-
var result = getStringHashCode(this.
|
|
4882
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4881
|
+
var result = getStringHashCode(this.u47_1);
|
|
4882
|
+
result = imul(result, 31) + getStringHashCode(this.v47_1) | 0;
|
|
4883
4883
|
return result;
|
|
4884
4884
|
};
|
|
4885
4885
|
Envvar.prototype.equals = function (other) {
|
|
@@ -4888,9 +4888,9 @@
|
|
|
4888
4888
|
if (!(other instanceof Envvar))
|
|
4889
4889
|
return false;
|
|
4890
4890
|
var tmp0_other_with_cast = other instanceof Envvar ? other : THROW_CCE();
|
|
4891
|
-
if (!(this.
|
|
4891
|
+
if (!(this.u47_1 === tmp0_other_with_cast.u47_1))
|
|
4892
4892
|
return false;
|
|
4893
|
-
if (!(this.
|
|
4893
|
+
if (!(this.v47_1 === tmp0_other_with_cast.v47_1))
|
|
4894
4894
|
return false;
|
|
4895
4895
|
return true;
|
|
4896
4896
|
};
|
|
@@ -4904,7 +4904,7 @@
|
|
|
4904
4904
|
if (tmp$ret$0) {
|
|
4905
4905
|
tmp = new Parsed(invocations);
|
|
4906
4906
|
} else {
|
|
4907
|
-
if (context.
|
|
4907
|
+
if (context.w3w_1) {
|
|
4908
4908
|
var tmp0_elvis_lhs = readEnvVar(_this__u8e3s4, context, envvar);
|
|
4909
4909
|
tmp = tmp0_elvis_lhs == null ? readValueSource(_this__u8e3s4, context) : tmp0_elvis_lhs;
|
|
4910
4910
|
} else {
|
|
@@ -4972,7 +4972,7 @@
|
|
|
4972
4972
|
return setOf_0(normalizedName);
|
|
4973
4973
|
}
|
|
4974
4974
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
4975
|
-
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.
|
|
4975
|
+
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.k3w(), envvar, context.p3w_1);
|
|
4976
4976
|
var tmp;
|
|
4977
4977
|
if (tmp0_elvis_lhs == null) {
|
|
4978
4978
|
return null;
|
|
@@ -4980,7 +4980,7 @@
|
|
|
4980
4980
|
tmp = tmp0_elvis_lhs;
|
|
4981
4981
|
}
|
|
4982
4982
|
var env = tmp;
|
|
4983
|
-
var tmp1_safe_receiver = context.
|
|
4983
|
+
var tmp1_safe_receiver = context.a3x_1(env);
|
|
4984
4984
|
var tmp_0;
|
|
4985
4985
|
if (tmp1_safe_receiver == null) {
|
|
4986
4986
|
tmp_0 = null;
|
|
@@ -4997,8 +4997,8 @@
|
|
|
4997
4997
|
return tmp_0;
|
|
4998
4998
|
}
|
|
4999
4999
|
function readValueSource(_this__u8e3s4, context) {
|
|
5000
|
-
var tmp0_safe_receiver = context.
|
|
5001
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5000
|
+
var tmp0_safe_receiver = context.x3w_1;
|
|
5001
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u48(context, _this__u8e3s4);
|
|
5002
5002
|
var tmp;
|
|
5003
5003
|
if (tmp1_safe_receiver == null) {
|
|
5004
5004
|
tmp = null;
|
|
@@ -5125,69 +5125,69 @@
|
|
|
5125
5125
|
return '' + new Char(charSequenceGet(it.b1(), 0)) + '-' + new Char(charSequenceGet(it.b1(), 1));
|
|
5126
5126
|
}
|
|
5127
5127
|
function _set_value__lx0xdg_1($this, _set____db54di) {
|
|
5128
|
-
return $this.
|
|
5128
|
+
return $this.r48_1.e46($this, value$factory_3(), _set____db54di);
|
|
5129
5129
|
}
|
|
5130
5130
|
function OptionWithValues(names, metavarWithDefault, nvalues, optionHelp, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault, transformValue, transformEach, transformAll, transformValidator) {
|
|
5131
|
-
this.
|
|
5132
|
-
this.
|
|
5133
|
-
this.
|
|
5134
|
-
this.
|
|
5135
|
-
this.
|
|
5136
|
-
this.
|
|
5137
|
-
this.
|
|
5138
|
-
this.
|
|
5139
|
-
this.
|
|
5140
|
-
this.
|
|
5141
|
-
this.
|
|
5142
|
-
this.
|
|
5143
|
-
this.
|
|
5144
|
-
this.
|
|
5145
|
-
this.
|
|
5146
|
-
this.
|
|
5147
|
-
this.
|
|
5148
|
-
this.
|
|
5149
|
-
}
|
|
5150
|
-
OptionWithValues.prototype.
|
|
5151
|
-
return this.z47_1;
|
|
5152
|
-
};
|
|
5153
|
-
OptionWithValues.prototype.n3x = function () {
|
|
5154
|
-
return this.a48_1;
|
|
5155
|
-
};
|
|
5156
|
-
OptionWithValues.prototype.c3x = function () {
|
|
5157
|
-
return this.b48_1;
|
|
5158
|
-
};
|
|
5159
|
-
OptionWithValues.prototype.x46 = function () {
|
|
5131
|
+
this.b48_1 = metavarWithDefault;
|
|
5132
|
+
this.c48_1 = nvalues;
|
|
5133
|
+
this.d48_1 = optionHelp;
|
|
5134
|
+
this.e48_1 = hidden;
|
|
5135
|
+
this.f48_1 = helpTags;
|
|
5136
|
+
this.g48_1 = valueSourceKey;
|
|
5137
|
+
this.h48_1 = envvar;
|
|
5138
|
+
this.i48_1 = valueSplit;
|
|
5139
|
+
this.j48_1 = parser;
|
|
5140
|
+
this.k48_1 = completionCandidatesWithDefault;
|
|
5141
|
+
this.l48_1 = transformValue;
|
|
5142
|
+
this.m48_1 = transformEach;
|
|
5143
|
+
this.n48_1 = transformAll;
|
|
5144
|
+
this.o48_1 = transformValidator;
|
|
5145
|
+
this.p48_1 = null;
|
|
5146
|
+
this.q48_1 = null;
|
|
5147
|
+
this.r48_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
5148
|
+
this.s48_1 = names;
|
|
5149
|
+
}
|
|
5150
|
+
OptionWithValues.prototype.h3x = function () {
|
|
5160
5151
|
return this.c48_1;
|
|
5161
5152
|
};
|
|
5162
|
-
OptionWithValues.prototype.
|
|
5163
|
-
return this.
|
|
5153
|
+
OptionWithValues.prototype.q3x = function () {
|
|
5154
|
+
return this.d48_1;
|
|
5155
|
+
};
|
|
5156
|
+
OptionWithValues.prototype.f3x = function () {
|
|
5157
|
+
return this.e48_1;
|
|
5164
5158
|
};
|
|
5165
|
-
OptionWithValues.prototype.
|
|
5166
|
-
return this.
|
|
5159
|
+
OptionWithValues.prototype.a47 = function () {
|
|
5160
|
+
return this.f48_1;
|
|
5167
5161
|
};
|
|
5168
|
-
OptionWithValues.prototype.
|
|
5169
|
-
return this.
|
|
5162
|
+
OptionWithValues.prototype.b47 = function () {
|
|
5163
|
+
return this.j48_1;
|
|
5170
5164
|
};
|
|
5171
|
-
OptionWithValues.prototype.
|
|
5172
|
-
return this.
|
|
5165
|
+
OptionWithValues.prototype.g40 = function () {
|
|
5166
|
+
return this.p48_1;
|
|
5167
|
+
};
|
|
5168
|
+
OptionWithValues.prototype.h40 = function () {
|
|
5169
|
+
return this.q48_1;
|
|
5170
|
+
};
|
|
5171
|
+
OptionWithValues.prototype.c47 = function (context) {
|
|
5172
|
+
return this.b48_1.b1()(context);
|
|
5173
5173
|
};
|
|
5174
5174
|
OptionWithValues.prototype.b1 = function () {
|
|
5175
|
-
return this.
|
|
5175
|
+
return this.r48_1.g46(this, value$factory_4());
|
|
5176
5176
|
};
|
|
5177
|
-
OptionWithValues.prototype.
|
|
5177
|
+
OptionWithValues.prototype.l3w = function () {
|
|
5178
5178
|
return emptySet();
|
|
5179
5179
|
};
|
|
5180
|
-
OptionWithValues.prototype.
|
|
5181
|
-
return this.
|
|
5180
|
+
OptionWithValues.prototype.k3w = function () {
|
|
5181
|
+
return this.s48_1;
|
|
5182
5182
|
};
|
|
5183
|
-
OptionWithValues.prototype.
|
|
5184
|
-
return this.
|
|
5183
|
+
OptionWithValues.prototype.g3x = function () {
|
|
5184
|
+
return this.k48_1.b1();
|
|
5185
5185
|
};
|
|
5186
|
-
OptionWithValues.prototype.
|
|
5187
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
5186
|
+
OptionWithValues.prototype.j43 = function (context, invocations) {
|
|
5187
|
+
var v = getFinalValue(this, context, invocations, this.h48_1);
|
|
5188
5188
|
var tmp;
|
|
5189
5189
|
if (v instanceof Parsed) {
|
|
5190
|
-
var tmp0_subject = this.
|
|
5190
|
+
var tmp0_subject = this.i48_1;
|
|
5191
5191
|
var tmp_0;
|
|
5192
5192
|
if (tmp0_subject == null) {
|
|
5193
5193
|
tmp_0 = invocations;
|
|
@@ -5204,7 +5204,7 @@
|
|
|
5204
5204
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>' call
|
|
5205
5205
|
var tmp$ret$3;
|
|
5206
5206
|
// Inline function 'kotlin.collections.flatMap' call
|
|
5207
|
-
var tmp0_flatMap = item.
|
|
5207
|
+
var tmp0_flatMap = item.z47_1;
|
|
5208
5208
|
var tmp$ret$2;
|
|
5209
5209
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
5210
5210
|
var tmp0_flatMapTo = ArrayList_init_$Create$();
|
|
@@ -5215,7 +5215,7 @@
|
|
|
5215
5215
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>.<anonymous>' call
|
|
5216
5216
|
var tmp$ret$0;
|
|
5217
5217
|
// Inline function 'kotlin.text.split' call
|
|
5218
|
-
var tmp0_split = this.
|
|
5218
|
+
var tmp0_split = this.i48_1;
|
|
5219
5219
|
tmp$ret$0 = tmp0_split.mf(element, 0);
|
|
5220
5220
|
tmp$ret$1 = tmp$ret$0;
|
|
5221
5221
|
var list = tmp$ret$1;
|
|
@@ -5223,7 +5223,7 @@
|
|
|
5223
5223
|
}
|
|
5224
5224
|
tmp$ret$2 = tmp0_flatMapTo;
|
|
5225
5225
|
tmp$ret$3 = tmp$ret$2;
|
|
5226
|
-
tmp$ret$4 = item.
|
|
5226
|
+
tmp$ret$4 = item.v48(null, tmp$ret$3, 1, null);
|
|
5227
5227
|
tmp0_mapTo.g(tmp$ret$4);
|
|
5228
5228
|
}
|
|
5229
5229
|
tmp$ret$5 = tmp0_mapTo;
|
|
@@ -5236,7 +5236,7 @@
|
|
|
5236
5236
|
var tmp$ret$7;
|
|
5237
5237
|
$l$block_0: {
|
|
5238
5238
|
// Inline function 'kotlin.collections.any' call
|
|
5239
|
-
var tmp0_any = v.
|
|
5239
|
+
var tmp0_any = v.x47_1;
|
|
5240
5240
|
var tmp_1;
|
|
5241
5241
|
if (isInterface(tmp0_any, Collection)) {
|
|
5242
5242
|
tmp_1 = tmp0_any.d();
|
|
@@ -5252,7 +5252,7 @@
|
|
|
5252
5252
|
var element_0 = tmp0_iterator_1.p();
|
|
5253
5253
|
var tmp$ret$8;
|
|
5254
5254
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>' call
|
|
5255
|
-
tmp$ret$8 = !(element_0.
|
|
5255
|
+
tmp$ret$8 = !(element_0.w47_1.o() === this.c48_1);
|
|
5256
5256
|
if (tmp$ret$8) {
|
|
5257
5257
|
tmp$ret$7 = true;
|
|
5258
5258
|
break $l$block_0;
|
|
@@ -5266,7 +5266,7 @@
|
|
|
5266
5266
|
}
|
|
5267
5267
|
var tmp$ret$11;
|
|
5268
5268
|
// Inline function 'kotlin.collections.map' call
|
|
5269
|
-
var tmp1_map = v.
|
|
5269
|
+
var tmp1_map = v.x47_1;
|
|
5270
5270
|
var tmp$ret$10;
|
|
5271
5271
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5272
5272
|
var tmp0_mapTo_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
|
|
@@ -5275,7 +5275,7 @@
|
|
|
5275
5275
|
var item_0 = tmp0_iterator_2.p();
|
|
5276
5276
|
var tmp$ret$9;
|
|
5277
5277
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>' call
|
|
5278
|
-
tmp$ret$9 = new Invocation('', item_0.
|
|
5278
|
+
tmp$ret$9 = new Invocation('', item_0.w47_1);
|
|
5279
5279
|
tmp0_mapTo_0.g(tmp$ret$9);
|
|
5280
5280
|
}
|
|
5281
5281
|
tmp$ret$10 = tmp0_mapTo_0;
|
|
@@ -5283,17 +5283,17 @@
|
|
|
5283
5283
|
tmp = tmp$ret$11;
|
|
5284
5284
|
} else {
|
|
5285
5285
|
if (v instanceof Envvar) {
|
|
5286
|
-
var tmp1_subject = this.
|
|
5286
|
+
var tmp1_subject = this.i48_1;
|
|
5287
5287
|
var tmp_3;
|
|
5288
5288
|
if (tmp1_subject == null) {
|
|
5289
|
-
tmp_3 = listOf(new Invocation(v.
|
|
5289
|
+
tmp_3 = listOf(new Invocation(v.u47_1, listOf(v.v47_1)));
|
|
5290
5290
|
} else {
|
|
5291
5291
|
var tmp$ret$12;
|
|
5292
5292
|
// Inline function 'kotlin.text.split' call
|
|
5293
|
-
var tmp2_split = v.
|
|
5294
|
-
var tmp3_split = this.
|
|
5293
|
+
var tmp2_split = v.v47_1;
|
|
5294
|
+
var tmp3_split = this.i48_1;
|
|
5295
5295
|
tmp$ret$12 = tmp3_split.mf(tmp2_split, 0);
|
|
5296
|
-
tmp_3 = listOf(new Invocation(v.
|
|
5296
|
+
tmp_3 = listOf(new Invocation(v.u47_1, tmp$ret$12));
|
|
5297
5297
|
}
|
|
5298
5298
|
tmp = tmp_3;
|
|
5299
5299
|
} else {
|
|
@@ -5313,10 +5313,10 @@
|
|
|
5313
5313
|
var item_1 = tmp0_iterator_3.p();
|
|
5314
5314
|
var tmp$ret$16;
|
|
5315
5315
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>' call
|
|
5316
|
-
var tc = new OptionCallTransformContext(item_1.
|
|
5316
|
+
var tc = new OptionCallTransformContext(item_1.y47_1, this, context);
|
|
5317
5317
|
var tmp$ret$15;
|
|
5318
5318
|
// Inline function 'kotlin.collections.map' call
|
|
5319
|
-
var tmp0_map = item_1.
|
|
5319
|
+
var tmp0_map = item_1.z47_1;
|
|
5320
5320
|
var tmp$ret$14;
|
|
5321
5321
|
// Inline function 'kotlin.collections.mapTo' call
|
|
5322
5322
|
var tmp0_mapTo_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp0_map, 10));
|
|
@@ -5325,21 +5325,21 @@
|
|
|
5325
5325
|
var item_2 = tmp0_iterator_4.p();
|
|
5326
5326
|
var tmp$ret$13;
|
|
5327
5327
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValues.finalize.<anonymous>.<anonymous>' call
|
|
5328
|
-
tmp$ret$13 = this.
|
|
5328
|
+
tmp$ret$13 = this.l48_1(tc, item_2);
|
|
5329
5329
|
tmp0_mapTo_2.g(tmp$ret$13);
|
|
5330
5330
|
}
|
|
5331
5331
|
tmp$ret$14 = tmp0_mapTo_2;
|
|
5332
5332
|
tmp$ret$15 = tmp$ret$14;
|
|
5333
|
-
tmp$ret$16 = this.
|
|
5333
|
+
tmp$ret$16 = this.m48_1(tc, tmp$ret$15);
|
|
5334
5334
|
tmp0_mapTo_1.g(tmp$ret$16);
|
|
5335
5335
|
}
|
|
5336
5336
|
tmp$ret$17 = tmp0_mapTo_1;
|
|
5337
5337
|
tmp$ret$18 = tmp$ret$17;
|
|
5338
|
-
_set_value__lx0xdg_1(this, this.
|
|
5338
|
+
_set_value__lx0xdg_1(this, this.n48_1(tmp_4, tmp$ret$18));
|
|
5339
5339
|
};
|
|
5340
|
-
OptionWithValues.prototype.
|
|
5340
|
+
OptionWithValues.prototype.t47 = function (thisRef, prop) {
|
|
5341
5341
|
// Inline function 'kotlin.require' call
|
|
5342
|
-
var tmp0_require = this.
|
|
5342
|
+
var tmp0_require = this.l3w().d();
|
|
5343
5343
|
// Inline function 'kotlin.contracts.contract' call
|
|
5344
5344
|
if (!tmp0_require) {
|
|
5345
5345
|
var tmp$ret$0;
|
|
@@ -5348,43 +5348,43 @@
|
|
|
5348
5348
|
var message = tmp$ret$0;
|
|
5349
5349
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
5350
5350
|
}
|
|
5351
|
-
this.
|
|
5352
|
-
thisRef.
|
|
5351
|
+
this.s48_1 = inferOptionNames(this.s48_1, prop.callableName);
|
|
5352
|
+
thisRef.a3y(this);
|
|
5353
5353
|
return this;
|
|
5354
5354
|
};
|
|
5355
|
-
OptionWithValues.prototype.
|
|
5356
|
-
this.
|
|
5355
|
+
OptionWithValues.prototype.n46 = function (context) {
|
|
5356
|
+
this.o48_1(new OptionTransformContext(this, context), this.b1());
|
|
5357
5357
|
};
|
|
5358
|
-
OptionWithValues.prototype.
|
|
5358
|
+
OptionWithValues.prototype.w48 = function (transformValue, transformEach, transformAll, validator, names, metavarWithDefault, nvalues, help, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault) {
|
|
5359
5359
|
return new OptionWithValues(names, metavarWithDefault, nvalues, help, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault, transformValue, transformEach, transformAll, validator);
|
|
5360
5360
|
};
|
|
5361
|
-
OptionWithValues.prototype.
|
|
5361
|
+
OptionWithValues.prototype.x48 = function (transformValue, transformEach, transformAll, validator, names, metavarWithDefault, nvalues, help, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault, $mask0, $handler) {
|
|
5362
5362
|
if (!(($mask0 & 16) === 0))
|
|
5363
|
-
names = this.
|
|
5363
|
+
names = this.s48_1;
|
|
5364
5364
|
if (!(($mask0 & 32) === 0))
|
|
5365
|
-
metavarWithDefault = this.
|
|
5365
|
+
metavarWithDefault = this.b48_1;
|
|
5366
5366
|
if (!(($mask0 & 64) === 0))
|
|
5367
|
-
nvalues = this.
|
|
5367
|
+
nvalues = this.c48_1;
|
|
5368
5368
|
if (!(($mask0 & 128) === 0))
|
|
5369
|
-
help = this.
|
|
5369
|
+
help = this.d48_1;
|
|
5370
5370
|
if (!(($mask0 & 256) === 0))
|
|
5371
|
-
hidden = this.
|
|
5371
|
+
hidden = this.e48_1;
|
|
5372
5372
|
if (!(($mask0 & 512) === 0))
|
|
5373
|
-
helpTags = this.
|
|
5373
|
+
helpTags = this.f48_1;
|
|
5374
5374
|
if (!(($mask0 & 1024) === 0))
|
|
5375
|
-
valueSourceKey = this.
|
|
5375
|
+
valueSourceKey = this.g48_1;
|
|
5376
5376
|
if (!(($mask0 & 2048) === 0))
|
|
5377
|
-
envvar = this.
|
|
5377
|
+
envvar = this.h48_1;
|
|
5378
5378
|
if (!(($mask0 & 4096) === 0))
|
|
5379
|
-
valueSplit = this.
|
|
5379
|
+
valueSplit = this.i48_1;
|
|
5380
5380
|
if (!(($mask0 & 8192) === 0))
|
|
5381
|
-
parser = this.
|
|
5381
|
+
parser = this.j48_1;
|
|
5382
5382
|
if (!(($mask0 & 16384) === 0))
|
|
5383
|
-
completionCandidatesWithDefault = this.
|
|
5384
|
-
return this.
|
|
5383
|
+
completionCandidatesWithDefault = this.k48_1;
|
|
5384
|
+
return this.w48(transformValue, transformEach, transformAll, validator, names, metavarWithDefault, nvalues, help, hidden, helpTags, valueSourceKey, envvar, valueSplit, parser, completionCandidatesWithDefault);
|
|
5385
5385
|
};
|
|
5386
|
-
OptionWithValues.prototype.
|
|
5387
|
-
return this.
|
|
5386
|
+
OptionWithValues.prototype.k46 = function (thisRef, property) {
|
|
5387
|
+
return this.a48((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
5388
5388
|
};
|
|
5389
5389
|
function option(_this__u8e3s4, names, help, metavar, hidden, envvar, helpTags, completionCandidates, valueSourceKey) {
|
|
5390
5390
|
var tmp = toSet(names);
|
|
@@ -5426,88 +5426,88 @@
|
|
|
5426
5426
|
return option(_this__u8e3s4, names, help, metavar, hidden, envvar, helpTags, completionCandidates, valueSourceKey);
|
|
5427
5427
|
}
|
|
5428
5428
|
function OptionCallTransformContext(name, option, context) {
|
|
5429
|
-
this.
|
|
5430
|
-
this.
|
|
5431
|
-
this.
|
|
5429
|
+
this.y48_1 = name;
|
|
5430
|
+
this.z48_1 = option;
|
|
5431
|
+
this.a49_1 = context;
|
|
5432
5432
|
}
|
|
5433
|
-
OptionCallTransformContext.prototype.
|
|
5434
|
-
return this.
|
|
5433
|
+
OptionCallTransformContext.prototype.g3x = function () {
|
|
5434
|
+
return this.z48_1.g3x();
|
|
5435
5435
|
};
|
|
5436
|
-
OptionCallTransformContext.prototype.
|
|
5437
|
-
return this.
|
|
5436
|
+
OptionCallTransformContext.prototype.a47 = function () {
|
|
5437
|
+
return this.z48_1.a47();
|
|
5438
5438
|
};
|
|
5439
|
-
OptionCallTransformContext.prototype.
|
|
5440
|
-
return this.
|
|
5439
|
+
OptionCallTransformContext.prototype.f3x = function () {
|
|
5440
|
+
return this.z48_1.f3x();
|
|
5441
5441
|
};
|
|
5442
|
-
OptionCallTransformContext.prototype.
|
|
5443
|
-
return this.
|
|
5442
|
+
OptionCallTransformContext.prototype.k3w = function () {
|
|
5443
|
+
return this.z48_1.k3w();
|
|
5444
5444
|
};
|
|
5445
|
-
OptionCallTransformContext.prototype.
|
|
5446
|
-
return this.
|
|
5445
|
+
OptionCallTransformContext.prototype.h3x = function () {
|
|
5446
|
+
return this.z48_1.h3x();
|
|
5447
5447
|
};
|
|
5448
|
-
OptionCallTransformContext.prototype.
|
|
5449
|
-
return this.
|
|
5448
|
+
OptionCallTransformContext.prototype.q3x = function () {
|
|
5449
|
+
return this.z48_1.q3x();
|
|
5450
5450
|
};
|
|
5451
|
-
OptionCallTransformContext.prototype.
|
|
5452
|
-
return this.
|
|
5451
|
+
OptionCallTransformContext.prototype.b47 = function () {
|
|
5452
|
+
return this.z48_1.b47();
|
|
5453
5453
|
};
|
|
5454
|
-
OptionCallTransformContext.prototype.
|
|
5455
|
-
return this.
|
|
5454
|
+
OptionCallTransformContext.prototype.l3w = function () {
|
|
5455
|
+
return this.z48_1.l3w();
|
|
5456
5456
|
};
|
|
5457
|
-
OptionCallTransformContext.prototype.
|
|
5458
|
-
this.
|
|
5457
|
+
OptionCallTransformContext.prototype.j43 = function (context, invocations) {
|
|
5458
|
+
this.z48_1.j43(context, invocations);
|
|
5459
5459
|
};
|
|
5460
|
-
OptionCallTransformContext.prototype.
|
|
5461
|
-
return this.
|
|
5460
|
+
OptionCallTransformContext.prototype.c47 = function (context) {
|
|
5461
|
+
return this.z48_1.c47(context);
|
|
5462
5462
|
};
|
|
5463
|
-
OptionCallTransformContext.prototype.
|
|
5464
|
-
return this.
|
|
5463
|
+
OptionCallTransformContext.prototype.v3x = function (context) {
|
|
5464
|
+
return this.z48_1.v3x(context);
|
|
5465
5465
|
};
|
|
5466
|
-
OptionCallTransformContext.prototype.
|
|
5467
|
-
this.
|
|
5466
|
+
OptionCallTransformContext.prototype.n46 = function (context) {
|
|
5467
|
+
this.z48_1.n46(context);
|
|
5468
5468
|
};
|
|
5469
|
-
OptionCallTransformContext.prototype.
|
|
5470
|
-
throw BadParameterValue_init_$Create$_0(message, this.
|
|
5469
|
+
OptionCallTransformContext.prototype.b49 = function (message) {
|
|
5470
|
+
throw BadParameterValue_init_$Create$_0(message, this.y48_1, null, 4, null);
|
|
5471
5471
|
};
|
|
5472
5472
|
function OptionTransformContext(option, context) {
|
|
5473
|
-
this.
|
|
5474
|
-
this.
|
|
5473
|
+
this.d47_1 = option;
|
|
5474
|
+
this.e47_1 = context;
|
|
5475
5475
|
}
|
|
5476
|
-
OptionTransformContext.prototype.
|
|
5477
|
-
return this.
|
|
5476
|
+
OptionTransformContext.prototype.g3x = function () {
|
|
5477
|
+
return this.d47_1.g3x();
|
|
5478
5478
|
};
|
|
5479
|
-
OptionTransformContext.prototype.
|
|
5480
|
-
return this.
|
|
5479
|
+
OptionTransformContext.prototype.a47 = function () {
|
|
5480
|
+
return this.d47_1.a47();
|
|
5481
5481
|
};
|
|
5482
|
-
OptionTransformContext.prototype.
|
|
5483
|
-
return this.
|
|
5482
|
+
OptionTransformContext.prototype.f3x = function () {
|
|
5483
|
+
return this.d47_1.f3x();
|
|
5484
5484
|
};
|
|
5485
|
-
OptionTransformContext.prototype.
|
|
5486
|
-
return this.
|
|
5485
|
+
OptionTransformContext.prototype.k3w = function () {
|
|
5486
|
+
return this.d47_1.k3w();
|
|
5487
5487
|
};
|
|
5488
|
-
OptionTransformContext.prototype.
|
|
5489
|
-
return this.
|
|
5488
|
+
OptionTransformContext.prototype.h3x = function () {
|
|
5489
|
+
return this.d47_1.h3x();
|
|
5490
5490
|
};
|
|
5491
|
-
OptionTransformContext.prototype.
|
|
5492
|
-
return this.
|
|
5491
|
+
OptionTransformContext.prototype.q3x = function () {
|
|
5492
|
+
return this.d47_1.q3x();
|
|
5493
5493
|
};
|
|
5494
|
-
OptionTransformContext.prototype.
|
|
5495
|
-
return this.
|
|
5494
|
+
OptionTransformContext.prototype.b47 = function () {
|
|
5495
|
+
return this.d47_1.b47();
|
|
5496
5496
|
};
|
|
5497
|
-
OptionTransformContext.prototype.
|
|
5498
|
-
return this.
|
|
5497
|
+
OptionTransformContext.prototype.l3w = function () {
|
|
5498
|
+
return this.d47_1.l3w();
|
|
5499
5499
|
};
|
|
5500
|
-
OptionTransformContext.prototype.
|
|
5501
|
-
this.
|
|
5500
|
+
OptionTransformContext.prototype.j43 = function (context, invocations) {
|
|
5501
|
+
this.d47_1.j43(context, invocations);
|
|
5502
5502
|
};
|
|
5503
|
-
OptionTransformContext.prototype.
|
|
5504
|
-
return this.
|
|
5503
|
+
OptionTransformContext.prototype.c47 = function (context) {
|
|
5504
|
+
return this.d47_1.c47(context);
|
|
5505
5505
|
};
|
|
5506
|
-
OptionTransformContext.prototype.
|
|
5507
|
-
return this.
|
|
5506
|
+
OptionTransformContext.prototype.v3x = function (context) {
|
|
5507
|
+
return this.d47_1.v3x(context);
|
|
5508
5508
|
};
|
|
5509
|
-
OptionTransformContext.prototype.
|
|
5510
|
-
this.
|
|
5509
|
+
OptionTransformContext.prototype.n46 = function (context) {
|
|
5510
|
+
this.d47_1.n46(context);
|
|
5511
5511
|
};
|
|
5512
5512
|
function defaultEachProcessor() {
|
|
5513
5513
|
return defaultEachProcessor$lambda;
|
|
@@ -5524,7 +5524,7 @@
|
|
|
5524
5524
|
};
|
|
5525
5525
|
}
|
|
5526
5526
|
function option$lambda_0($this$$receiver) {
|
|
5527
|
-
return $this$$receiver.
|
|
5527
|
+
return $this$$receiver.z3w_1.x45();
|
|
5528
5528
|
}
|
|
5529
5529
|
function option$lambda_1($this$$receiver, it) {
|
|
5530
5530
|
return it;
|
|
@@ -5571,7 +5571,7 @@
|
|
|
5571
5571
|
return default_0(_this__u8e3s4, value, defaultForHelp);
|
|
5572
5572
|
}
|
|
5573
5573
|
function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform) {
|
|
5574
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
5574
|
+
var tags = toMutableMap(_this__u8e3s4.f48_1);
|
|
5575
5575
|
if (showAsRequired) {
|
|
5576
5576
|
// Inline function 'kotlin.collections.set' call
|
|
5577
5577
|
Tags_getInstance();
|
|
@@ -5591,18 +5591,18 @@
|
|
|
5591
5591
|
tags.x3('default');
|
|
5592
5592
|
}
|
|
5593
5593
|
var tmp = defaultValidator_0();
|
|
5594
|
-
return _this__u8e3s4.
|
|
5594
|
+
return _this__u8e3s4.x48(_this__u8e3s4.l48_1, _this__u8e3s4.m48_1, transform, tmp, null, null, 0, null, false, tags, null, null, null, null, null, 32240, null);
|
|
5595
5595
|
}
|
|
5596
5596
|
function transformAll$default(_this__u8e3s4, defaultForHelp, showAsRequired, transform, $mask0, $handler) {
|
|
5597
5597
|
if (!(($mask0 & 1) === 0)) {
|
|
5598
5598
|
Tags_getInstance();
|
|
5599
|
-
defaultForHelp = _this__u8e3s4.
|
|
5599
|
+
defaultForHelp = _this__u8e3s4.f48_1.a3('default');
|
|
5600
5600
|
}
|
|
5601
5601
|
if (!(($mask0 & 2) === 0)) {
|
|
5602
5602
|
var tmp$ret$1;
|
|
5603
5603
|
var tmp$ret$1_0;
|
|
5604
5604
|
// Inline function 'kotlin.collections.contains' call
|
|
5605
|
-
var tmp0_contains = _this__u8e3s4.
|
|
5605
|
+
var tmp0_contains = _this__u8e3s4.f48_1;
|
|
5606
5606
|
Tags_getInstance();
|
|
5607
5607
|
var tmp1_contains = 'required';
|
|
5608
5608
|
var tmp$ret$0;
|
|
@@ -5620,7 +5620,7 @@
|
|
|
5620
5620
|
return function ($this$transformAll, it) {
|
|
5621
5621
|
var tmp;
|
|
5622
5622
|
if (it.d() ? $required : false) {
|
|
5623
|
-
throw MissingOption_init_$Create$($this$transformAll.
|
|
5623
|
+
throw MissingOption_init_$Create$($this$transformAll.d47_1, null, 2, null);
|
|
5624
5624
|
} else if (it.d() ? !$required : false) {
|
|
5625
5625
|
tmp = $default;
|
|
5626
5626
|
} else {
|
|
@@ -5636,29 +5636,29 @@
|
|
|
5636
5636
|
};
|
|
5637
5637
|
}
|
|
5638
5638
|
function ValueWithDefault(explicit, default_0) {
|
|
5639
|
-
this.
|
|
5640
|
-
this.
|
|
5639
|
+
this.h46_1 = explicit;
|
|
5640
|
+
this.i46_1 = default_0;
|
|
5641
5641
|
}
|
|
5642
5642
|
ValueWithDefault.prototype.b1 = function () {
|
|
5643
|
-
var tmp0_elvis_lhs = this.
|
|
5644
|
-
return tmp0_elvis_lhs == null ? this.
|
|
5643
|
+
var tmp0_elvis_lhs = this.h46_1;
|
|
5644
|
+
return tmp0_elvis_lhs == null ? this.i46_1 : tmp0_elvis_lhs;
|
|
5645
5645
|
};
|
|
5646
|
-
ValueWithDefault.prototype.
|
|
5646
|
+
ValueWithDefault.prototype.c49 = function (explicit, default_0) {
|
|
5647
5647
|
return new ValueWithDefault(explicit, default_0);
|
|
5648
5648
|
};
|
|
5649
|
-
ValueWithDefault.prototype.
|
|
5649
|
+
ValueWithDefault.prototype.d49 = function (explicit, default_0, $mask0, $handler) {
|
|
5650
5650
|
if (!(($mask0 & 1) === 0))
|
|
5651
|
-
explicit = this.
|
|
5651
|
+
explicit = this.h46_1;
|
|
5652
5652
|
if (!(($mask0 & 2) === 0))
|
|
5653
|
-
default_0 = this.
|
|
5654
|
-
return this.
|
|
5653
|
+
default_0 = this.i46_1;
|
|
5654
|
+
return this.c49(explicit, default_0);
|
|
5655
5655
|
};
|
|
5656
5656
|
ValueWithDefault.prototype.toString = function () {
|
|
5657
|
-
return 'ValueWithDefault(explicit=' + this.
|
|
5657
|
+
return 'ValueWithDefault(explicit=' + this.h46_1 + ', default=' + this.i46_1 + ')';
|
|
5658
5658
|
};
|
|
5659
5659
|
ValueWithDefault.prototype.hashCode = function () {
|
|
5660
|
-
var result = this.
|
|
5661
|
-
result = imul(result, 31) + (this.
|
|
5660
|
+
var result = this.h46_1 == null ? 0 : hashCode(this.h46_1);
|
|
5661
|
+
result = imul(result, 31) + (this.i46_1 == null ? 0 : hashCode(this.i46_1)) | 0;
|
|
5662
5662
|
return result;
|
|
5663
5663
|
};
|
|
5664
5664
|
ValueWithDefault.prototype.equals = function (other) {
|
|
@@ -5667,9 +5667,9 @@
|
|
|
5667
5667
|
if (!(other instanceof ValueWithDefault))
|
|
5668
5668
|
return false;
|
|
5669
5669
|
var tmp0_other_with_cast = other instanceof ValueWithDefault ? other : THROW_CCE();
|
|
5670
|
-
if (!equals(this.
|
|
5670
|
+
if (!equals(this.h46_1, tmp0_other_with_cast.h46_1))
|
|
5671
5671
|
return false;
|
|
5672
|
-
if (!equals(this.
|
|
5672
|
+
if (!equals(this.i46_1, tmp0_other_with_cast.i46_1))
|
|
5673
5673
|
return false;
|
|
5674
5674
|
return true;
|
|
5675
5675
|
};
|
|
@@ -5677,20 +5677,20 @@
|
|
|
5677
5677
|
var tmp$ret$0;
|
|
5678
5678
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert' call
|
|
5679
5679
|
var tmp0_convert = int$lambda;
|
|
5680
|
-
var tmp1_convert = _this__u8e3s4.
|
|
5680
|
+
var tmp1_convert = _this__u8e3s4.k48_1.i46_1;
|
|
5681
5681
|
var proc = int$lambda_0(_this__u8e3s4);
|
|
5682
5682
|
var tmp = defaultEachProcessor();
|
|
5683
5683
|
var tmp_0 = defaultAllProcessor_0();
|
|
5684
5684
|
var tmp_1 = defaultValidator_0();
|
|
5685
|
-
var tmp_2 = _this__u8e3s4.
|
|
5686
|
-
tmp$ret$0 = _this__u8e3s4.
|
|
5685
|
+
var tmp_2 = _this__u8e3s4.b48_1.d49(null, tmp0_convert, 1, null);
|
|
5686
|
+
tmp$ret$0 = _this__u8e3s4.x48(proc, tmp, tmp_0, tmp_1, null, tmp_2, 0, null, false, null, null, null, null, null, _this__u8e3s4.k48_1.d49(null, tmp1_convert, 1, null), 16336, null);
|
|
5687
5687
|
return tmp$ret$0;
|
|
5688
5688
|
}
|
|
5689
5689
|
function valueToInt(context, it) {
|
|
5690
5690
|
var tmp0_elvis_lhs = toIntOrNull(it);
|
|
5691
5691
|
var tmp;
|
|
5692
5692
|
if (tmp0_elvis_lhs == null) {
|
|
5693
|
-
var tmp_0 = context.
|
|
5693
|
+
var tmp_0 = context.z3w_1.v45(it);
|
|
5694
5694
|
throw BadParameterValue_init_$Create$(tmp_0, null, 2, null);
|
|
5695
5695
|
} else {
|
|
5696
5696
|
tmp = tmp0_elvis_lhs;
|
|
@@ -5698,7 +5698,7 @@
|
|
|
5698
5698
|
return tmp;
|
|
5699
5699
|
}
|
|
5700
5700
|
function int$lambda($this$convert) {
|
|
5701
|
-
return $this$convert.
|
|
5701
|
+
return $this$convert.z3w_1.y45();
|
|
5702
5702
|
}
|
|
5703
5703
|
function int$lambda_0($this_int) {
|
|
5704
5704
|
return function ($this$null, it) {
|
|
@@ -5706,18 +5706,18 @@
|
|
|
5706
5706
|
try {
|
|
5707
5707
|
var tmp$ret$0;
|
|
5708
5708
|
// Inline function 'com.github.ajalt.clikt.parameters.types.int.<anonymous>' call
|
|
5709
|
-
var tmp2__anonymous__z9zvc9 = $this_int.
|
|
5710
|
-
tmp$ret$0 = valueToInt($this$null.
|
|
5709
|
+
var tmp2__anonymous__z9zvc9 = $this_int.l48_1($this$null, it);
|
|
5710
|
+
tmp$ret$0 = valueToInt($this$null.a49_1, tmp2__anonymous__z9zvc9);
|
|
5711
5711
|
tmp = tmp$ret$0;
|
|
5712
5712
|
} catch ($p) {
|
|
5713
5713
|
var tmp_0;
|
|
5714
5714
|
if ($p instanceof UsageError) {
|
|
5715
|
-
$p.
|
|
5715
|
+
$p.u3y_1 = $this$null.y48_1;
|
|
5716
5716
|
throw $p;
|
|
5717
5717
|
} else {
|
|
5718
5718
|
if ($p instanceof Exception) {
|
|
5719
5719
|
var tmp0_elvis_lhs = $p.message;
|
|
5720
|
-
$this$null.
|
|
5720
|
+
$this$null.b49(tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
|
|
5721
5721
|
} else {
|
|
5722
5722
|
throw $p;
|
|
5723
5723
|
}
|
|
@@ -5730,13 +5730,13 @@
|
|
|
5730
5730
|
function FlagOptionParser() {
|
|
5731
5731
|
FlagOptionParser_instance = this;
|
|
5732
5732
|
}
|
|
5733
|
-
FlagOptionParser.prototype.
|
|
5733
|
+
FlagOptionParser.prototype.e49 = function (option, name, argv, index, explicitValue) {
|
|
5734
5734
|
if (!(explicitValue == null)) {
|
|
5735
5735
|
throw IncorrectOptionValueCount_init_$Create$(option, name, null, 4, null);
|
|
5736
5736
|
}
|
|
5737
5737
|
return ParseResult_init_$Create$(1, name, emptyList());
|
|
5738
5738
|
};
|
|
5739
|
-
FlagOptionParser.prototype.
|
|
5739
|
+
FlagOptionParser.prototype.f49 = function (option, name, argv, index, optionIndex) {
|
|
5740
5740
|
var consumed = optionIndex === get_lastIndex(argv.n(index)) ? 1 : 0;
|
|
5741
5741
|
return ParseResult_init_$Create$(consumed, name, emptyList());
|
|
5742
5742
|
};
|
|
@@ -5754,25 +5754,25 @@
|
|
|
5754
5754
|
return ParseResult_init_$Init$(consumedCount, name, values, Object.create(ParseResult.prototype));
|
|
5755
5755
|
}
|
|
5756
5756
|
function Invocation(name, values) {
|
|
5757
|
-
this.
|
|
5758
|
-
this.
|
|
5757
|
+
this.y47_1 = name;
|
|
5758
|
+
this.z47_1 = values;
|
|
5759
5759
|
}
|
|
5760
|
-
Invocation.prototype.
|
|
5760
|
+
Invocation.prototype.g49 = function (name, values) {
|
|
5761
5761
|
return new Invocation(name, values);
|
|
5762
5762
|
};
|
|
5763
|
-
Invocation.prototype.
|
|
5763
|
+
Invocation.prototype.v48 = function (name, values, $mask0, $handler) {
|
|
5764
5764
|
if (!(($mask0 & 1) === 0))
|
|
5765
|
-
name = this.
|
|
5765
|
+
name = this.y47_1;
|
|
5766
5766
|
if (!(($mask0 & 2) === 0))
|
|
5767
|
-
values = this.
|
|
5768
|
-
return this.
|
|
5767
|
+
values = this.z47_1;
|
|
5768
|
+
return this.g49(name, values);
|
|
5769
5769
|
};
|
|
5770
5770
|
Invocation.prototype.toString = function () {
|
|
5771
|
-
return 'Invocation(name=' + this.
|
|
5771
|
+
return 'Invocation(name=' + this.y47_1 + ', values=' + this.z47_1 + ')';
|
|
5772
5772
|
};
|
|
5773
5773
|
Invocation.prototype.hashCode = function () {
|
|
5774
|
-
var result = getStringHashCode(this.
|
|
5775
|
-
result = imul(result, 31) + hashCode(this.
|
|
5774
|
+
var result = getStringHashCode(this.y47_1);
|
|
5775
|
+
result = imul(result, 31) + hashCode(this.z47_1) | 0;
|
|
5776
5776
|
return result;
|
|
5777
5777
|
};
|
|
5778
5778
|
Invocation.prototype.equals = function (other) {
|
|
@@ -5781,22 +5781,22 @@
|
|
|
5781
5781
|
if (!(other instanceof Invocation))
|
|
5782
5782
|
return false;
|
|
5783
5783
|
var tmp0_other_with_cast = other instanceof Invocation ? other : THROW_CCE();
|
|
5784
|
-
if (!(this.
|
|
5784
|
+
if (!(this.y47_1 === tmp0_other_with_cast.y47_1))
|
|
5785
5785
|
return false;
|
|
5786
|
-
if (!equals(this.
|
|
5786
|
+
if (!equals(this.z47_1, tmp0_other_with_cast.z47_1))
|
|
5787
5787
|
return false;
|
|
5788
5788
|
return true;
|
|
5789
5789
|
};
|
|
5790
5790
|
function ParseResult(consumedCount, invocation) {
|
|
5791
|
-
this.
|
|
5792
|
-
this.
|
|
5791
|
+
this.h49_1 = consumedCount;
|
|
5792
|
+
this.i49_1 = invocation;
|
|
5793
5793
|
}
|
|
5794
5794
|
ParseResult.prototype.toString = function () {
|
|
5795
|
-
return 'ParseResult(consumedCount=' + this.
|
|
5795
|
+
return 'ParseResult(consumedCount=' + this.h49_1 + ', invocation=' + this.i49_1 + ')';
|
|
5796
5796
|
};
|
|
5797
5797
|
ParseResult.prototype.hashCode = function () {
|
|
5798
|
-
var result = this.
|
|
5799
|
-
result = imul(result, 31) + this.
|
|
5798
|
+
var result = this.h49_1;
|
|
5799
|
+
result = imul(result, 31) + this.i49_1.hashCode() | 0;
|
|
5800
5800
|
return result;
|
|
5801
5801
|
};
|
|
5802
5802
|
ParseResult.prototype.equals = function (other) {
|
|
@@ -5805,18 +5805,18 @@
|
|
|
5805
5805
|
if (!(other instanceof ParseResult))
|
|
5806
5806
|
return false;
|
|
5807
5807
|
var tmp0_other_with_cast = other instanceof ParseResult ? other : THROW_CCE();
|
|
5808
|
-
if (!(this.
|
|
5808
|
+
if (!(this.h49_1 === tmp0_other_with_cast.h49_1))
|
|
5809
5809
|
return false;
|
|
5810
|
-
if (!this.
|
|
5810
|
+
if (!this.i49_1.equals(tmp0_other_with_cast.i49_1))
|
|
5811
5811
|
return false;
|
|
5812
5812
|
return true;
|
|
5813
5813
|
};
|
|
5814
5814
|
function OptionWithValuesParser() {
|
|
5815
5815
|
OptionWithValuesParser_instance = this;
|
|
5816
5816
|
}
|
|
5817
|
-
OptionWithValuesParser.prototype.
|
|
5817
|
+
OptionWithValuesParser.prototype.e49 = function (option, name, argv, index, explicitValue) {
|
|
5818
5818
|
// Inline function 'kotlin.require' call
|
|
5819
|
-
var tmp0_require = option.
|
|
5819
|
+
var tmp0_require = option.h3x() > 0;
|
|
5820
5820
|
// Inline function 'kotlin.contracts.contract' call
|
|
5821
5821
|
if (!tmp0_require) {
|
|
5822
5822
|
var tmp$ret$0;
|
|
@@ -5826,13 +5826,13 @@
|
|
|
5826
5826
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
5827
5827
|
}
|
|
5828
5828
|
var hasIncludedValue = !(explicitValue == null);
|
|
5829
|
-
var consumedCount = hasIncludedValue ? option.
|
|
5829
|
+
var consumedCount = hasIncludedValue ? option.h3x() : option.h3x() + 1 | 0;
|
|
5830
5830
|
var endIndex = (index + consumedCount | 0) - 1 | 0;
|
|
5831
5831
|
if (endIndex > get_lastIndex_0(argv)) {
|
|
5832
5832
|
throw IncorrectOptionValueCount_init_$Create$(option, name, null, 4, null);
|
|
5833
5833
|
}
|
|
5834
5834
|
var tmp;
|
|
5835
|
-
if (option.
|
|
5835
|
+
if (option.h3x() > 1) {
|
|
5836
5836
|
var args = slice_0(argv, numberRangeToNumber(index + 1 | 0, endIndex));
|
|
5837
5837
|
if (!(explicitValue == null))
|
|
5838
5838
|
args = plus_0(listOf(explicitValue), args);
|
|
@@ -5844,7 +5844,7 @@
|
|
|
5844
5844
|
var invocation = tmp;
|
|
5845
5845
|
return new ParseResult(consumedCount, invocation);
|
|
5846
5846
|
};
|
|
5847
|
-
OptionWithValuesParser.prototype.
|
|
5847
|
+
OptionWithValuesParser.prototype.f49 = function (option, name, argv, index, optionIndex) {
|
|
5848
5848
|
var opt = argv.n(index);
|
|
5849
5849
|
var hasIncludedValue = !(optionIndex === get_lastIndex(opt));
|
|
5850
5850
|
var tmp;
|
|
@@ -5861,7 +5861,7 @@
|
|
|
5861
5861
|
tmp = null;
|
|
5862
5862
|
}
|
|
5863
5863
|
var explicitValue = tmp;
|
|
5864
|
-
return this.
|
|
5864
|
+
return this.e49(option, name, argv, index, explicitValue);
|
|
5865
5865
|
};
|
|
5866
5866
|
var OptionWithValuesParser_instance;
|
|
5867
5867
|
function OptionWithValuesParser_getInstance() {
|
|
@@ -5871,11 +5871,11 @@
|
|
|
5871
5871
|
}
|
|
5872
5872
|
function parse($this, argv, context, startingArgI, canRun) {
|
|
5873
5873
|
var tokens = argv;
|
|
5874
|
-
var command = context.
|
|
5875
|
-
var aliases = command.
|
|
5874
|
+
var command = context.n3w_1;
|
|
5875
|
+
var aliases = command.j3x();
|
|
5876
5876
|
var tmp$ret$2;
|
|
5877
5877
|
// Inline function 'kotlin.collections.associateBy' call
|
|
5878
|
-
var tmp0_associateBy = command.
|
|
5878
|
+
var tmp0_associateBy = command.d3w_1;
|
|
5879
5879
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(tmp0_associateBy, 10)), 16);
|
|
5880
5880
|
var tmp$ret$1;
|
|
5881
5881
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
@@ -5885,14 +5885,14 @@
|
|
|
5885
5885
|
var element = tmp0_iterator.p();
|
|
5886
5886
|
var tmp$ret$0;
|
|
5887
5887
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5888
|
-
tmp$ret$0 = element.
|
|
5888
|
+
tmp$ret$0 = element.a3w_1;
|
|
5889
5889
|
tmp0_associateByTo.w3(tmp$ret$0, element);
|
|
5890
5890
|
}
|
|
5891
5891
|
tmp$ret$1 = tmp0_associateByTo;
|
|
5892
5892
|
tmp$ret$2 = tmp$ret$1;
|
|
5893
5893
|
var subcommands = tmp$ret$2;
|
|
5894
5894
|
var optionsByName = HashMap_init_$Create$();
|
|
5895
|
-
var arguments_0 = command.
|
|
5895
|
+
var arguments_0 = command.f3w_1;
|
|
5896
5896
|
var tmp$ret$3;
|
|
5897
5897
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
5898
5898
|
tmp$ret$3 = LinkedHashSet_init_$Create$();
|
|
@@ -5904,13 +5904,13 @@
|
|
|
5904
5904
|
var tmp$ret$6;
|
|
5905
5905
|
$l$block: {
|
|
5906
5906
|
// Inline function 'kotlin.sequences.any' call
|
|
5907
|
-
var tmp1_any = generateSequence(context.
|
|
5907
|
+
var tmp1_any = generateSequence(context.m3w_1, Parser$parse$lambda);
|
|
5908
5908
|
var tmp0_iterator_0 = tmp1_any.j();
|
|
5909
5909
|
while (tmp0_iterator_0.m()) {
|
|
5910
5910
|
var element_0 = tmp0_iterator_0.p();
|
|
5911
5911
|
var tmp$ret$5;
|
|
5912
5912
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5913
|
-
tmp$ret$5 = element_0.
|
|
5913
|
+
tmp$ret$5 = element_0.n3w_1.x3v_1;
|
|
5914
5914
|
if (tmp$ret$5) {
|
|
5915
5915
|
tmp$ret$6 = true;
|
|
5916
5916
|
break $l$block;
|
|
@@ -5919,21 +5919,21 @@
|
|
|
5919
5919
|
tmp$ret$6 = false;
|
|
5920
5920
|
}
|
|
5921
5921
|
var hasMultipleSubAncestor = tmp$ret$6;
|
|
5922
|
-
var tmp0_iterator_1 = command.
|
|
5922
|
+
var tmp0_iterator_1 = command.e3w_1.j();
|
|
5923
5923
|
while (tmp0_iterator_1.m()) {
|
|
5924
5924
|
var option = tmp0_iterator_1.p();
|
|
5925
5925
|
// Inline function 'kotlin.require' call
|
|
5926
5926
|
var tmp;
|
|
5927
5927
|
var tmp$ret$7;
|
|
5928
5928
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5929
|
-
var tmp2_isNotEmpty = option.
|
|
5929
|
+
var tmp2_isNotEmpty = option.k3w();
|
|
5930
5930
|
tmp$ret$7 = !tmp2_isNotEmpty.d();
|
|
5931
5931
|
if (tmp$ret$7) {
|
|
5932
5932
|
tmp = true;
|
|
5933
5933
|
} else {
|
|
5934
5934
|
var tmp$ret$8;
|
|
5935
5935
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5936
|
-
var tmp3_isNotEmpty = option.
|
|
5936
|
+
var tmp3_isNotEmpty = option.l3w();
|
|
5937
5937
|
tmp$ret$8 = !tmp3_isNotEmpty.d();
|
|
5938
5938
|
tmp = tmp$ret$8;
|
|
5939
5939
|
}
|
|
@@ -5946,7 +5946,7 @@
|
|
|
5946
5946
|
var message = tmp$ret$9;
|
|
5947
5947
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
5948
5948
|
}
|
|
5949
|
-
var tmp1_iterator = plus(option.
|
|
5949
|
+
var tmp1_iterator = plus(option.k3w(), option.l3w()).j();
|
|
5950
5950
|
while (tmp1_iterator.m()) {
|
|
5951
5951
|
var name = tmp1_iterator.p();
|
|
5952
5952
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -5961,14 +5961,14 @@
|
|
|
5961
5961
|
}
|
|
5962
5962
|
}
|
|
5963
5963
|
prefixes.ia('');
|
|
5964
|
-
if (startingArgI > get_lastIndex_0(tokens) ? command.
|
|
5964
|
+
if (startingArgI > get_lastIndex_0(tokens) ? command.u3v_1 : false) {
|
|
5965
5965
|
throw new PrintHelpMessage(command, true);
|
|
5966
5966
|
}
|
|
5967
5967
|
var positionalArgs = ArrayList_init_$Create$();
|
|
5968
5968
|
var i = {_v: startingArgI};
|
|
5969
5969
|
var subcommand = null;
|
|
5970
5970
|
var canParseOptions = true;
|
|
5971
|
-
var canExpandAtFiles = context.
|
|
5971
|
+
var canExpandAtFiles = context.v3w_1;
|
|
5972
5972
|
var tmp$ret$10;
|
|
5973
5973
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5974
5974
|
tmp$ret$10 = ArrayList_init_$Create$();
|
|
@@ -5976,7 +5976,7 @@
|
|
|
5976
5976
|
var minAliasI = 0;
|
|
5977
5977
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
5978
5978
|
var tok = tokens.n(i._v);
|
|
5979
|
-
var normTok = context.
|
|
5979
|
+
var normTok = context.t3w_1(context, tok);
|
|
5980
5980
|
var prefix = splitOptionPrefix(tok).g4_1;
|
|
5981
5981
|
var tmp_0;
|
|
5982
5982
|
var tmp_1;
|
|
@@ -6014,7 +6014,7 @@
|
|
|
6014
6014
|
canExpandAtFiles = false;
|
|
6015
6015
|
} else {
|
|
6016
6016
|
if (canParseOptions ? ((prefix.length > 1 ? prefixes.v(prefix) : false) ? true : longNames.v(normTok)) ? true : parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) : false) {
|
|
6017
|
-
parse$consumeParse(positionalArgs, invocations, i, parseLongOpt($this, command.
|
|
6017
|
+
parse$consumeParse(positionalArgs, invocations, i, parseLongOpt($this, command.y3v_1, context, tokens, tok, i._v, optionsByName));
|
|
6018
6018
|
} else {
|
|
6019
6019
|
var tmp_2;
|
|
6020
6020
|
var tmp_3;
|
|
@@ -6032,7 +6032,7 @@
|
|
|
6032
6032
|
tmp_2 = false;
|
|
6033
6033
|
}
|
|
6034
6034
|
if (tmp_2) {
|
|
6035
|
-
parse$consumeParse(positionalArgs, invocations, i, parseShortOpt($this, command.
|
|
6035
|
+
parse$consumeParse(positionalArgs, invocations, i, parseShortOpt($this, command.y3v_1, context, tokens, tok, i._v, optionsByName));
|
|
6036
6036
|
} else {
|
|
6037
6037
|
var tmp_4;
|
|
6038
6038
|
if (i._v >= minAliasI) {
|
|
@@ -6061,7 +6061,7 @@
|
|
|
6061
6061
|
subcommand = getValue(subcommands, normTok);
|
|
6062
6062
|
break loop;
|
|
6063
6063
|
} else {
|
|
6064
|
-
if (!context.
|
|
6064
|
+
if (!context.o3w_1)
|
|
6065
6065
|
canParseOptions = false;
|
|
6066
6066
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6067
6067
|
var tmp7_plusAssign = tokens.n(i._v);
|
|
@@ -6084,7 +6084,7 @@
|
|
|
6084
6084
|
var element_1 = tmp0_iterator_2.p();
|
|
6085
6085
|
var tmp$ret$18;
|
|
6086
6086
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6087
|
-
tmp$ret$18 = element_1.
|
|
6087
|
+
tmp$ret$18 = element_1.j49_1;
|
|
6088
6088
|
var key = tmp$ret$18;
|
|
6089
6089
|
var tmp$ret$20;
|
|
6090
6090
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
@@ -6104,7 +6104,7 @@
|
|
|
6104
6104
|
var list = tmp$ret$20;
|
|
6105
6105
|
var tmp$ret$21;
|
|
6106
6106
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6107
|
-
tmp$ret$21 = element_1.
|
|
6107
|
+
tmp$ret$21 = element_1.k49_1;
|
|
6108
6108
|
list.g(tmp$ret$21);
|
|
6109
6109
|
}
|
|
6110
6110
|
tmp$ret$22 = tmp0_groupByTo;
|
|
@@ -6120,9 +6120,9 @@
|
|
|
6120
6120
|
var element_2 = tmp0_iterator_3.p();
|
|
6121
6121
|
var tmp$ret$24;
|
|
6122
6122
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6123
|
-
var tmp_6 = element_2.
|
|
6123
|
+
var tmp_6 = element_2.j49_1;
|
|
6124
6124
|
var tmp0_safe_receiver = isInterface(tmp_6, GroupableOption) ? tmp_6 : null;
|
|
6125
|
-
tmp$ret$24 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
6125
|
+
tmp$ret$24 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g40();
|
|
6126
6126
|
var key_0 = tmp$ret$24;
|
|
6127
6127
|
var tmp$ret$26;
|
|
6128
6128
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
@@ -6178,7 +6178,7 @@
|
|
|
6178
6178
|
var element_4 = tmp0_iterator_5.p();
|
|
6179
6179
|
var tmp$ret$31;
|
|
6180
6180
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
6181
|
-
tmp$ret$31 = element_4.
|
|
6181
|
+
tmp$ret$31 = element_4.j49_1;
|
|
6182
6182
|
var key_1 = tmp$ret$31;
|
|
6183
6183
|
var tmp$ret$33;
|
|
6184
6184
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
@@ -6198,7 +6198,7 @@
|
|
|
6198
6198
|
var list_1 = tmp$ret$33;
|
|
6199
6199
|
var tmp$ret$34;
|
|
6200
6200
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
6201
|
-
tmp$ret$34 = element_4.
|
|
6201
|
+
tmp$ret$34 = element_4.k49_1;
|
|
6202
6202
|
list_1.g(tmp$ret$34);
|
|
6203
6203
|
}
|
|
6204
6204
|
tmp$ret$35 = tmp0_groupByTo_1;
|
|
@@ -6246,7 +6246,7 @@
|
|
|
6246
6246
|
tmp$ret$46 = element_5.b1();
|
|
6247
6247
|
var inv = tmp$ret$46;
|
|
6248
6248
|
if (get_isEager(o)) {
|
|
6249
|
-
o.
|
|
6249
|
+
o.j43(context, inv);
|
|
6250
6250
|
}
|
|
6251
6251
|
}
|
|
6252
6252
|
var tmp2_container = parseArguments($this, positionalArgs, arguments_0);
|
|
@@ -6256,7 +6256,7 @@
|
|
|
6256
6256
|
i._v = handleExcessArguments($this, excess, hasMultipleSubAncestor, i._v, tokens, subcommands, positionalArgs, context);
|
|
6257
6257
|
var tmp$ret$49;
|
|
6258
6258
|
// Inline function 'kotlin.collections.filter' call
|
|
6259
|
-
var tmp8_filter = command.
|
|
6259
|
+
var tmp8_filter = command.e3w_1;
|
|
6260
6260
|
var tmp$ret$48;
|
|
6261
6261
|
// Inline function 'kotlin.collections.filterTo' call
|
|
6262
6262
|
var tmp0_filterTo = ArrayList_init_$Create$();
|
|
@@ -6268,7 +6268,7 @@
|
|
|
6268
6268
|
var tmp_10;
|
|
6269
6269
|
if (!get_isEager(element_6)) {
|
|
6270
6270
|
var tmp0_safe_receiver_0 = isInterface(element_6, GroupableOption) ? element_6 : null;
|
|
6271
|
-
tmp_10 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
6271
|
+
tmp_10 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.g40()) == null;
|
|
6272
6272
|
} else {
|
|
6273
6273
|
tmp_10 = false;
|
|
6274
6274
|
}
|
|
@@ -6302,11 +6302,11 @@
|
|
|
6302
6302
|
if (tmp0_safe_receiver_1 == null)
|
|
6303
6303
|
null;
|
|
6304
6304
|
else {
|
|
6305
|
-
tmp0_safe_receiver_1.
|
|
6305
|
+
tmp0_safe_receiver_1.r46(context, invocations_0);
|
|
6306
6306
|
}
|
|
6307
6307
|
}
|
|
6308
6308
|
// Inline function 'kotlin.collections.forEach' call
|
|
6309
|
-
var tmp9_forEach = command.
|
|
6309
|
+
var tmp9_forEach = command.g3w_1;
|
|
6310
6310
|
var tmp0_iterator_10 = tmp9_forEach.j();
|
|
6311
6311
|
while (tmp0_iterator_10.m()) {
|
|
6312
6312
|
var element_8 = tmp0_iterator_10.p();
|
|
@@ -6318,7 +6318,7 @@
|
|
|
6318
6318
|
tmp$ret$53 = (isInterface(invocationsByGroup, Map) ? invocationsByGroup : THROW_CCE()).u2(element_8);
|
|
6319
6319
|
tmp$ret$54 = tmp$ret$53;
|
|
6320
6320
|
if (!tmp$ret$54) {
|
|
6321
|
-
element_8.
|
|
6321
|
+
element_8.r46(context, emptyMap());
|
|
6322
6322
|
}
|
|
6323
6323
|
}
|
|
6324
6324
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -6337,34 +6337,34 @@
|
|
|
6337
6337
|
// Inline function 'kotlin.collections.component2' call
|
|
6338
6338
|
tmp$ret$57 = element_9.b1();
|
|
6339
6339
|
var v = tmp$ret$57;
|
|
6340
|
-
arg.
|
|
6340
|
+
arg.m46(context, v);
|
|
6341
6341
|
}
|
|
6342
6342
|
// Inline function 'kotlin.collections.forEach' call
|
|
6343
|
-
var tmp10_forEach = command.
|
|
6343
|
+
var tmp10_forEach = command.e3w_1;
|
|
6344
6344
|
var tmp0_iterator_12 = tmp10_forEach.j();
|
|
6345
6345
|
while (tmp0_iterator_12.m()) {
|
|
6346
6346
|
var element_10 = tmp0_iterator_12.p();
|
|
6347
6347
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6348
6348
|
var tmp0_safe_receiver_2 = isInterface(element_10, GroupableOption) ? element_10 : null;
|
|
6349
|
-
if ((tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.
|
|
6350
|
-
element_10.
|
|
6349
|
+
if ((tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.g40()) == null) {
|
|
6350
|
+
element_10.n46(context);
|
|
6351
6351
|
}
|
|
6352
6352
|
}
|
|
6353
6353
|
// Inline function 'kotlin.collections.forEach' call
|
|
6354
|
-
var tmp11_forEach = command.
|
|
6354
|
+
var tmp11_forEach = command.g3w_1;
|
|
6355
6355
|
var tmp0_iterator_13 = tmp11_forEach.j();
|
|
6356
6356
|
while (tmp0_iterator_13.m()) {
|
|
6357
6357
|
var element_11 = tmp0_iterator_13.p();
|
|
6358
6358
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6359
|
-
element_11.
|
|
6359
|
+
element_11.n46(context);
|
|
6360
6360
|
}
|
|
6361
6361
|
// Inline function 'kotlin.collections.forEach' call
|
|
6362
|
-
var tmp12_forEach = command.
|
|
6362
|
+
var tmp12_forEach = command.f3w_1;
|
|
6363
6363
|
var tmp0_iterator_14 = tmp12_forEach.j();
|
|
6364
6364
|
while (tmp0_iterator_14.m()) {
|
|
6365
6365
|
var element_12 = tmp0_iterator_14.p();
|
|
6366
6366
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
6367
|
-
element_12.
|
|
6367
|
+
element_12.n46(context);
|
|
6368
6368
|
}
|
|
6369
6369
|
var tmp_12;
|
|
6370
6370
|
var tmp_13;
|
|
@@ -6377,24 +6377,24 @@
|
|
|
6377
6377
|
tmp_13 = false;
|
|
6378
6378
|
}
|
|
6379
6379
|
if (tmp_13) {
|
|
6380
|
-
tmp_12 = !command.
|
|
6380
|
+
tmp_12 = !command.t3v_1;
|
|
6381
6381
|
} else {
|
|
6382
6382
|
tmp_12 = false;
|
|
6383
6383
|
}
|
|
6384
6384
|
if (tmp_12) {
|
|
6385
6385
|
throw new PrintHelpMessage(command, true);
|
|
6386
6386
|
}
|
|
6387
|
-
command.
|
|
6388
|
-
if (command.
|
|
6389
|
-
var console = command.
|
|
6390
|
-
var tmp4_iterator = command.
|
|
6387
|
+
command.v2b().c3x_1 = subcommand;
|
|
6388
|
+
if (command.v2b().q3w_1) {
|
|
6389
|
+
var console = command.v2b().u3w_1;
|
|
6390
|
+
var tmp4_iterator = command.y3x().j();
|
|
6391
6391
|
while (tmp4_iterator.m()) {
|
|
6392
6392
|
var warning = tmp4_iterator.p();
|
|
6393
|
-
console.
|
|
6394
|
-
console.
|
|
6393
|
+
console.z45(warning, true);
|
|
6394
|
+
console.z45(console.j3y(), true);
|
|
6395
6395
|
}
|
|
6396
6396
|
}
|
|
6397
|
-
command.
|
|
6397
|
+
command.h3z();
|
|
6398
6398
|
} else {
|
|
6399
6399
|
var tmp_14;
|
|
6400
6400
|
if (subcommand == null) {
|
|
@@ -6411,18 +6411,18 @@
|
|
|
6411
6411
|
}
|
|
6412
6412
|
} catch ($p) {
|
|
6413
6413
|
if ($p instanceof UsageError) {
|
|
6414
|
-
if ($p.
|
|
6415
|
-
$p.
|
|
6414
|
+
if ($p.x3y_1 == null)
|
|
6415
|
+
$p.x3y_1 = context;
|
|
6416
6416
|
throw $p;
|
|
6417
6417
|
} else {
|
|
6418
6418
|
throw $p;
|
|
6419
6419
|
}
|
|
6420
6420
|
}
|
|
6421
6421
|
if (!(subcommand == null)) {
|
|
6422
|
-
var tmp5_container = parse($this, tokens, subcommand.
|
|
6422
|
+
var tmp5_container = parse($this, tokens, subcommand.v2b(), i._v + 1 | 0, true);
|
|
6423
6423
|
var nextTokens = tmp5_container.n3();
|
|
6424
6424
|
var nextArgI = tmp5_container.o3();
|
|
6425
|
-
if (command.
|
|
6425
|
+
if (command.x3v_1 ? (nextTokens.o() - nextArgI | 0) > 0 : false) {
|
|
6426
6426
|
parse($this, nextTokens, context, nextArgI, false);
|
|
6427
6427
|
}
|
|
6428
6428
|
return to(nextTokens, nextArgI);
|
|
@@ -6445,7 +6445,7 @@
|
|
|
6445
6445
|
}
|
|
6446
6446
|
if (tmp) {
|
|
6447
6447
|
var actual = last(positionalArgs);
|
|
6448
|
-
var tmp_0 = context.
|
|
6448
|
+
var tmp_0 = context.y3w_1(actual, toList_1(subcommands.b3()));
|
|
6449
6449
|
throw NoSuchSubcommand_init_$Create$(actual, tmp_0, null, 4, null);
|
|
6450
6450
|
} else {
|
|
6451
6451
|
throwExcessArgsError($this, positionalArgs, excess, context);
|
|
@@ -6480,7 +6480,7 @@
|
|
|
6480
6480
|
var tmp0_container = tmp_0;
|
|
6481
6481
|
var name = tmp0_container.n3();
|
|
6482
6482
|
var value = tmp0_container.o3();
|
|
6483
|
-
name = context.
|
|
6483
|
+
name = context.t3w_1(context, name);
|
|
6484
6484
|
var tmp1_elvis_lhs = optionsByName.a3(name);
|
|
6485
6485
|
var tmp_2;
|
|
6486
6486
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -6503,14 +6503,14 @@
|
|
|
6503
6503
|
var element = tmp0_iterator.p();
|
|
6504
6504
|
var tmp$ret$5;
|
|
6505
6505
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseLongOpt.<anonymous>' call
|
|
6506
|
-
tmp$ret$5 = element.b1().
|
|
6506
|
+
tmp$ret$5 = element.b1().f3x();
|
|
6507
6507
|
if (!tmp$ret$5) {
|
|
6508
6508
|
tmp0_filterNotTo.w3(element.a1(), element.b1());
|
|
6509
6509
|
}
|
|
6510
6510
|
}
|
|
6511
6511
|
tmp$ret$6 = tmp0_filterNotTo;
|
|
6512
6512
|
tmp$ret$7 = tmp$ret$6;
|
|
6513
|
-
var tmp_6 = context.
|
|
6513
|
+
var tmp_6 = context.y3w_1(tmp_5, toList_1(tmp$ret$7.b3()));
|
|
6514
6514
|
throw NoSuchOption_init_$Create$(tmp_4, tmp_6, null, 4, null);
|
|
6515
6515
|
}
|
|
6516
6516
|
tmp_2 = tmp_3;
|
|
@@ -6518,8 +6518,8 @@
|
|
|
6518
6518
|
tmp_2 = tmp1_elvis_lhs;
|
|
6519
6519
|
}
|
|
6520
6520
|
var option = tmp_2;
|
|
6521
|
-
var result = option.
|
|
6522
|
-
return new OptParseResult(result.
|
|
6521
|
+
var result = option.b47().e49(option, name, tokens, index, value);
|
|
6522
|
+
return new OptParseResult(result.h49_1, emptyList(), listOf(new OptInvocation(option, result.i49_1)));
|
|
6523
6523
|
}
|
|
6524
6524
|
function parseShortOpt($this, ignoreUnknown, context, tokens, tok, index, optionsByName) {
|
|
6525
6525
|
var prefix = toString(charSequenceGet(tok, 0));
|
|
@@ -6536,7 +6536,7 @@
|
|
|
6536
6536
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6537
6537
|
if (i === 0)
|
|
6538
6538
|
continue $l$loop;
|
|
6539
|
-
var name = context.
|
|
6539
|
+
var name = context.t3w_1(context, prefix + new Char(opt));
|
|
6540
6540
|
var tmp2_elvis_lhs = optionsByName.a3(name);
|
|
6541
6541
|
var tmp;
|
|
6542
6542
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -6571,12 +6571,12 @@
|
|
|
6571
6571
|
tmp = tmp2_elvis_lhs;
|
|
6572
6572
|
}
|
|
6573
6573
|
var option = tmp;
|
|
6574
|
-
var result = option.
|
|
6574
|
+
var result = option.b47().f49(option, name, tokens, index, i);
|
|
6575
6575
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6576
|
-
var tmp1_plusAssign = new OptInvocation(option, result.
|
|
6576
|
+
var tmp1_plusAssign = new OptInvocation(option, result.i49_1);
|
|
6577
6577
|
invocations.g(tmp1_plusAssign);
|
|
6578
|
-
if (result.
|
|
6579
|
-
return new OptParseResult(result.
|
|
6578
|
+
if (result.h49_1 > 0)
|
|
6579
|
+
return new OptParseResult(result.h49_1, emptyList(), invocations);
|
|
6580
6580
|
}
|
|
6581
6581
|
throw IllegalStateException_init_$Create$('Error parsing short option ' + tokens.n(index) + ': no parser consumed value.');
|
|
6582
6582
|
}
|
|
@@ -6597,7 +6597,7 @@
|
|
|
6597
6597
|
var item = tmp0_iterator.p();
|
|
6598
6598
|
var tmp$ret$1;
|
|
6599
6599
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6600
|
-
tmp$ret$1 = item.
|
|
6600
|
+
tmp$ret$1 = item.h3x() > 0;
|
|
6601
6601
|
if (!tmp$ret$1)
|
|
6602
6602
|
break $l$loop;
|
|
6603
6603
|
list.g(item);
|
|
@@ -6611,7 +6611,7 @@
|
|
|
6611
6611
|
var tmp_0 = sum;
|
|
6612
6612
|
var tmp$ret$3;
|
|
6613
6613
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6614
|
-
tmp$ret$3 = element.
|
|
6614
|
+
tmp$ret$3 = element.h3x();
|
|
6615
6615
|
sum = tmp_0 + tmp$ret$3 | 0;
|
|
6616
6616
|
}
|
|
6617
6617
|
tmp$ret$4 = sum;
|
|
@@ -6622,17 +6622,17 @@
|
|
|
6622
6622
|
var argument = tmp0_iterator_1.p();
|
|
6623
6623
|
var remaining = positionalArgs.o() - i | 0;
|
|
6624
6624
|
var tmp_1;
|
|
6625
|
-
if (argument.
|
|
6625
|
+
if (argument.h3x() <= 0) {
|
|
6626
6626
|
var tmp$ret$5;
|
|
6627
6627
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6628
|
-
var tmp2_maxOf = argument.
|
|
6628
|
+
var tmp2_maxOf = argument.f46() ? 1 : 0;
|
|
6629
6629
|
var tmp3_maxOf = remaining - endSize | 0;
|
|
6630
6630
|
tmp$ret$5 = Math.max(tmp2_maxOf, tmp3_maxOf);
|
|
6631
6631
|
tmp_1 = tmp$ret$5;
|
|
6632
|
-
} else if ((argument.
|
|
6632
|
+
} else if ((argument.h3x() > 0 ? !argument.f46() : false) ? remaining === 0 : false) {
|
|
6633
6633
|
tmp_1 = 0;
|
|
6634
6634
|
} else {
|
|
6635
|
-
tmp_1 = argument.
|
|
6635
|
+
tmp_1 = argument.h3x();
|
|
6636
6636
|
}
|
|
6637
6637
|
var consumed = tmp_1;
|
|
6638
6638
|
if (consumed > remaining) {
|
|
@@ -6670,7 +6670,7 @@
|
|
|
6670
6670
|
tmp$ret$3 = tmp1_loop_parameter.b1();
|
|
6671
6671
|
var v = tmp$ret$3;
|
|
6672
6672
|
try {
|
|
6673
|
-
it.
|
|
6673
|
+
it.m46(context, v);
|
|
6674
6674
|
} catch ($p) {
|
|
6675
6675
|
if ($p instanceof IllegalStateException) {
|
|
6676
6676
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -6713,7 +6713,7 @@
|
|
|
6713
6713
|
} else {
|
|
6714
6714
|
if (equals(new Char(c), new Char(_Char___init__impl__6a9atx(92)))) {
|
|
6715
6715
|
if (i._v >= get_lastIndex(text)) {
|
|
6716
|
-
loadArgFile$err(filename, text, i, context, context.
|
|
6716
|
+
loadArgFile$err(filename, text, i, context, context.z3w_1.r45());
|
|
6717
6717
|
}
|
|
6718
6718
|
var tmp_2 = charSequenceGet(text, i._v + 1 | 0);
|
|
6719
6719
|
if (contains$default('\r\n', tmp_2, false, 2, null)) {
|
|
@@ -6791,7 +6791,7 @@
|
|
|
6791
6791
|
}
|
|
6792
6792
|
var tmp_13 = inQuote;
|
|
6793
6793
|
if (!((tmp_13 == null ? null : new Char(tmp_13)) == null)) {
|
|
6794
|
-
loadArgFile$err(filename, text, i, context, context.
|
|
6794
|
+
loadArgFile$err(filename, text, i, context, context.z3w_1.q45());
|
|
6795
6795
|
}
|
|
6796
6796
|
var tmp$ret$2;
|
|
6797
6797
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
@@ -6806,7 +6806,7 @@
|
|
|
6806
6806
|
function throwExcessArgsError($this, positionalArgs, excess, context) {
|
|
6807
6807
|
var tmp = takeLast(positionalArgs, excess);
|
|
6808
6808
|
var actual = joinToString$default(tmp, ' ', '(', ')', 3, null, null, 48, null);
|
|
6809
|
-
var message = excess === 1 ? context.
|
|
6809
|
+
var message = excess === 1 ? context.z3w_1.s45(actual) : context.z3w_1.t45(actual, excess);
|
|
6810
6810
|
throw UsageError_init_$Create$(message, null, null, 0, 14, null);
|
|
6811
6811
|
}
|
|
6812
6812
|
function parse$isLongOptionWithEquals(longNames, $context, optionsByName, prefix, token) {
|
|
@@ -6819,11 +6819,11 @@
|
|
|
6819
6819
|
return false;
|
|
6820
6820
|
if (prefix.length > 1)
|
|
6821
6821
|
return true;
|
|
6822
|
-
if (longNames.v($context.
|
|
6822
|
+
if (longNames.v($context.t3w_1($context, substringBefore$default(token, '=', null, 2, null))))
|
|
6823
6823
|
return true;
|
|
6824
6824
|
var tmp$ret$2;
|
|
6825
6825
|
// Inline function 'kotlin.collections.contains' call
|
|
6826
|
-
var tmp0_contains = $context.
|
|
6826
|
+
var tmp0_contains = $context.t3w_1($context, take(token, 2));
|
|
6827
6827
|
var tmp$ret$1;
|
|
6828
6828
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6829
6829
|
tmp$ret$1 = (isInterface(optionsByName, Map) ? optionsByName : THROW_CCE()).u2(tmp0_contains);
|
|
@@ -6834,12 +6834,12 @@
|
|
|
6834
6834
|
}
|
|
6835
6835
|
function parse$consumeParse(positionalArgs, invocations, i, result) {
|
|
6836
6836
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6837
|
-
var tmp0_plusAssign = result.
|
|
6837
|
+
var tmp0_plusAssign = result.m49_1;
|
|
6838
6838
|
addAll(positionalArgs, tmp0_plusAssign);
|
|
6839
6839
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6840
|
-
var tmp1_plusAssign = result.
|
|
6840
|
+
var tmp1_plusAssign = result.n49_1;
|
|
6841
6841
|
addAll(invocations, tmp1_plusAssign);
|
|
6842
|
-
i._v = i._v + result.
|
|
6842
|
+
i._v = i._v + result.l49_1 | 0;
|
|
6843
6843
|
}
|
|
6844
6844
|
function loadArgFile$err($filename, text, i, $context, msg) {
|
|
6845
6845
|
var tmp$ret$1;
|
|
@@ -6863,7 +6863,7 @@
|
|
|
6863
6863
|
throw new InvalidFileFormat($filename, msg, tmp$ret$1, $context);
|
|
6864
6864
|
}
|
|
6865
6865
|
function Parser$parse$lambda(it) {
|
|
6866
|
-
return it.
|
|
6866
|
+
return it.m3w_1;
|
|
6867
6867
|
}
|
|
6868
6868
|
function Parser$parseArguments$lambda(it) {
|
|
6869
6869
|
var tmp$ret$0;
|
|
@@ -6874,7 +6874,7 @@
|
|
|
6874
6874
|
function Parser() {
|
|
6875
6875
|
Parser_instance = this;
|
|
6876
6876
|
}
|
|
6877
|
-
Parser.prototype.
|
|
6877
|
+
Parser.prototype.o3y = function (argv, context) {
|
|
6878
6878
|
parse(this, argv, context, 0, true);
|
|
6879
6879
|
};
|
|
6880
6880
|
var Parser_instance;
|
|
@@ -6884,15 +6884,15 @@
|
|
|
6884
6884
|
return Parser_instance;
|
|
6885
6885
|
}
|
|
6886
6886
|
function OptInvocation(opt, inv) {
|
|
6887
|
-
this.
|
|
6888
|
-
this.
|
|
6887
|
+
this.j49_1 = opt;
|
|
6888
|
+
this.k49_1 = inv;
|
|
6889
6889
|
}
|
|
6890
6890
|
OptInvocation.prototype.toString = function () {
|
|
6891
|
-
return 'OptInvocation(opt=' + this.
|
|
6891
|
+
return 'OptInvocation(opt=' + this.j49_1 + ', inv=' + this.k49_1 + ')';
|
|
6892
6892
|
};
|
|
6893
6893
|
OptInvocation.prototype.hashCode = function () {
|
|
6894
|
-
var result = hashCode(this.
|
|
6895
|
-
result = imul(result, 31) + this.
|
|
6894
|
+
var result = hashCode(this.j49_1);
|
|
6895
|
+
result = imul(result, 31) + this.k49_1.hashCode() | 0;
|
|
6896
6896
|
return result;
|
|
6897
6897
|
};
|
|
6898
6898
|
OptInvocation.prototype.equals = function (other) {
|
|
@@ -6901,24 +6901,24 @@
|
|
|
6901
6901
|
if (!(other instanceof OptInvocation))
|
|
6902
6902
|
return false;
|
|
6903
6903
|
var tmp0_other_with_cast = other instanceof OptInvocation ? other : THROW_CCE();
|
|
6904
|
-
if (!equals(this.
|
|
6904
|
+
if (!equals(this.j49_1, tmp0_other_with_cast.j49_1))
|
|
6905
6905
|
return false;
|
|
6906
|
-
if (!this.
|
|
6906
|
+
if (!this.k49_1.equals(tmp0_other_with_cast.k49_1))
|
|
6907
6907
|
return false;
|
|
6908
6908
|
return true;
|
|
6909
6909
|
};
|
|
6910
6910
|
function OptParseResult(consumed, unknown, known) {
|
|
6911
|
-
this.
|
|
6912
|
-
this.
|
|
6913
|
-
this.
|
|
6911
|
+
this.l49_1 = consumed;
|
|
6912
|
+
this.m49_1 = unknown;
|
|
6913
|
+
this.n49_1 = known;
|
|
6914
6914
|
}
|
|
6915
6915
|
OptParseResult.prototype.toString = function () {
|
|
6916
|
-
return 'OptParseResult(consumed=' + this.
|
|
6916
|
+
return 'OptParseResult(consumed=' + this.l49_1 + ', unknown=' + this.m49_1 + ', known=' + this.n49_1 + ')';
|
|
6917
6917
|
};
|
|
6918
6918
|
OptParseResult.prototype.hashCode = function () {
|
|
6919
|
-
var result = this.
|
|
6920
|
-
result = imul(result, 31) + hashCode(this.
|
|
6921
|
-
result = imul(result, 31) + hashCode(this.
|
|
6919
|
+
var result = this.l49_1;
|
|
6920
|
+
result = imul(result, 31) + hashCode(this.m49_1) | 0;
|
|
6921
|
+
result = imul(result, 31) + hashCode(this.n49_1) | 0;
|
|
6922
6922
|
return result;
|
|
6923
6923
|
};
|
|
6924
6924
|
OptParseResult.prototype.equals = function (other) {
|
|
@@ -6927,11 +6927,11 @@
|
|
|
6927
6927
|
if (!(other instanceof OptParseResult))
|
|
6928
6928
|
return false;
|
|
6929
6929
|
var tmp0_other_with_cast = other instanceof OptParseResult ? other : THROW_CCE();
|
|
6930
|
-
if (!(this.
|
|
6930
|
+
if (!(this.l49_1 === tmp0_other_with_cast.l49_1))
|
|
6931
6931
|
return false;
|
|
6932
|
-
if (!equals(this.
|
|
6932
|
+
if (!equals(this.m49_1, tmp0_other_with_cast.m49_1))
|
|
6933
6933
|
return false;
|
|
6934
|
-
if (!equals(this.
|
|
6934
|
+
if (!equals(this.n49_1, tmp0_other_with_cast.n49_1))
|
|
6935
6935
|
return false;
|
|
6936
6936
|
return true;
|
|
6937
6937
|
};
|
|
@@ -7015,26 +7015,26 @@
|
|
|
7015
7015
|
}
|
|
7016
7016
|
var LETTER_OR_DIGIT_RE;
|
|
7017
7017
|
function NodeMppImpls(fs) {
|
|
7018
|
-
this.
|
|
7018
|
+
this.o49_1 = fs;
|
|
7019
7019
|
}
|
|
7020
|
-
NodeMppImpls.prototype.
|
|
7020
|
+
NodeMppImpls.prototype.p49 = function (key) {
|
|
7021
7021
|
var tmp = process.env[key];
|
|
7022
7022
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
7023
7023
|
};
|
|
7024
|
-
NodeMppImpls.prototype.
|
|
7024
|
+
NodeMppImpls.prototype.q49 = function () {
|
|
7025
7025
|
return process.platform == 'win32';
|
|
7026
7026
|
};
|
|
7027
|
-
NodeMppImpls.prototype.
|
|
7027
|
+
NodeMppImpls.prototype.r49 = function (status) {
|
|
7028
7028
|
var tmp$ret$0;
|
|
7029
7029
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
7030
7030
|
var tmp0_unsafeCast = process.exit(status);
|
|
7031
7031
|
tmp$ret$0 = tmp0_unsafeCast;
|
|
7032
7032
|
return tmp$ret$0;
|
|
7033
7033
|
};
|
|
7034
|
-
NodeMppImpls.prototype.
|
|
7034
|
+
NodeMppImpls.prototype.s49 = function (filename) {
|
|
7035
7035
|
var tmp;
|
|
7036
7036
|
try {
|
|
7037
|
-
var tmp_0 = this.
|
|
7037
|
+
var tmp_0 = this.o49_1.readFileSync(filename, 'utf-8');
|
|
7038
7038
|
tmp = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
7039
7039
|
} catch ($p) {
|
|
7040
7040
|
var tmp_1;
|
|
@@ -7050,15 +7050,15 @@
|
|
|
7050
7050
|
function BrowserMppImpls() {
|
|
7051
7051
|
BrowserMppImpls_instance = this;
|
|
7052
7052
|
}
|
|
7053
|
-
BrowserMppImpls.prototype.
|
|
7053
|
+
BrowserMppImpls.prototype.p49 = function (key) {
|
|
7054
7054
|
return null;
|
|
7055
7055
|
};
|
|
7056
|
-
BrowserMppImpls.prototype.
|
|
7056
|
+
BrowserMppImpls.prototype.q49 = function () {
|
|
7057
7057
|
return false;
|
|
7058
7058
|
};
|
|
7059
|
-
BrowserMppImpls.prototype.
|
|
7059
|
+
BrowserMppImpls.prototype.r49 = function (status) {
|
|
7060
7060
|
};
|
|
7061
|
-
BrowserMppImpls.prototype.
|
|
7061
|
+
BrowserMppImpls.prototype.s49 = function (filename) {
|
|
7062
7062
|
return null;
|
|
7063
7063
|
};
|
|
7064
7064
|
var BrowserMppImpls_instance;
|
|
@@ -7069,15 +7069,15 @@
|
|
|
7069
7069
|
}
|
|
7070
7070
|
function exitProcessMpp(status) {
|
|
7071
7071
|
init_properties_MppImpl_kt_rcrg0p();
|
|
7072
|
-
return get_impls().
|
|
7072
|
+
return get_impls().r49(status);
|
|
7073
7073
|
}
|
|
7074
7074
|
function readEnvvar(key) {
|
|
7075
7075
|
init_properties_MppImpl_kt_rcrg0p();
|
|
7076
|
-
return get_impls().
|
|
7076
|
+
return get_impls().p49(key);
|
|
7077
7077
|
}
|
|
7078
7078
|
function isWindowsMpp() {
|
|
7079
7079
|
init_properties_MppImpl_kt_rcrg0p();
|
|
7080
|
-
return get_impls().
|
|
7080
|
+
return get_impls().q49();
|
|
7081
7081
|
}
|
|
7082
7082
|
function isLetterOrDigit(c) {
|
|
7083
7083
|
init_properties_MppImpl_kt_rcrg0p();
|
|
@@ -7085,7 +7085,7 @@
|
|
|
7085
7085
|
}
|
|
7086
7086
|
function readFileIfExists(filename) {
|
|
7087
7087
|
init_properties_MppImpl_kt_rcrg0p();
|
|
7088
|
-
return get_impls().
|
|
7088
|
+
return get_impls().s49(filename);
|
|
7089
7089
|
}
|
|
7090
7090
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
7091
7091
|
init_properties_MppImpl_kt_rcrg0p();
|
|
@@ -7132,9 +7132,9 @@
|
|
|
7132
7132
|
return tmp;
|
|
7133
7133
|
}
|
|
7134
7134
|
function NodeCliktConsole(fs) {
|
|
7135
|
-
this.
|
|
7135
|
+
this.t49_1 = fs;
|
|
7136
7136
|
}
|
|
7137
|
-
NodeCliktConsole.prototype.
|
|
7137
|
+
NodeCliktConsole.prototype.b46 = function (prompt, hideInput) {
|
|
7138
7138
|
try {
|
|
7139
7139
|
var tmp$ret$1;
|
|
7140
7140
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -7148,7 +7148,7 @@
|
|
|
7148
7148
|
var char;
|
|
7149
7149
|
var buf = Buffer.alloc(1);
|
|
7150
7150
|
do {
|
|
7151
|
-
this.
|
|
7151
|
+
this.t49_1.readSync(0, buf, 0, 1, null);
|
|
7152
7152
|
char = '' + buf;
|
|
7153
7153
|
tmp0_apply.re(char);
|
|
7154
7154
|
}
|
|
@@ -7164,7 +7164,7 @@
|
|
|
7164
7164
|
}
|
|
7165
7165
|
}
|
|
7166
7166
|
};
|
|
7167
|
-
NodeCliktConsole.prototype.
|
|
7167
|
+
NodeCliktConsole.prototype.z45 = function (text, error) {
|
|
7168
7168
|
var tmp;
|
|
7169
7169
|
if (error) {
|
|
7170
7170
|
tmp = process.stderr;
|
|
@@ -7173,61 +7173,61 @@
|
|
|
7173
7173
|
}
|
|
7174
7174
|
tmp.write(text);
|
|
7175
7175
|
};
|
|
7176
|
-
NodeCliktConsole.prototype.
|
|
7176
|
+
NodeCliktConsole.prototype.j3y = function () {
|
|
7177
7177
|
return isWindowsMpp() ? '\r\n' : '\n';
|
|
7178
7178
|
};
|
|
7179
7179
|
function BrowserCliktConsole() {
|
|
7180
7180
|
}
|
|
7181
|
-
BrowserCliktConsole.prototype.
|
|
7181
|
+
BrowserCliktConsole.prototype.b46 = function (prompt, hideInput) {
|
|
7182
7182
|
return null;
|
|
7183
7183
|
};
|
|
7184
|
-
BrowserCliktConsole.prototype.
|
|
7184
|
+
BrowserCliktConsole.prototype.z45 = function (text, error) {
|
|
7185
7185
|
println(text);
|
|
7186
7186
|
};
|
|
7187
|
-
BrowserCliktConsole.prototype.
|
|
7187
|
+
BrowserCliktConsole.prototype.j3y = function () {
|
|
7188
7188
|
return '\n';
|
|
7189
7189
|
};
|
|
7190
7190
|
//region block: post-declaration
|
|
7191
|
-
defaultLocalization$1.prototype.
|
|
7192
|
-
defaultLocalization$1.prototype.
|
|
7193
|
-
defaultLocalization$1.prototype.
|
|
7194
|
-
defaultLocalization$1.prototype.
|
|
7195
|
-
defaultLocalization$1.prototype.
|
|
7196
|
-
defaultLocalization$1.prototype.
|
|
7197
|
-
defaultLocalization$1.prototype.
|
|
7198
|
-
defaultLocalization$1.prototype.
|
|
7199
|
-
defaultLocalization$1.prototype.
|
|
7200
|
-
defaultLocalization$1.prototype.
|
|
7201
|
-
defaultLocalization$1.prototype.
|
|
7202
|
-
defaultLocalization$1.prototype.
|
|
7203
|
-
defaultLocalization$1.prototype.
|
|
7204
|
-
defaultLocalization$1.prototype.
|
|
7205
|
-
defaultLocalization$1.prototype.
|
|
7206
|
-
defaultLocalization$1.prototype.
|
|
7207
|
-
defaultLocalization$1.prototype.
|
|
7208
|
-
defaultLocalization$1.prototype.
|
|
7209
|
-
defaultLocalization$1.prototype.
|
|
7210
|
-
defaultLocalization$1.prototype.
|
|
7211
|
-
defaultLocalization$1.prototype.
|
|
7212
|
-
defaultLocalization$1.prototype.
|
|
7213
|
-
defaultLocalization$1.prototype.
|
|
7214
|
-
defaultLocalization$1.prototype.
|
|
7215
|
-
defaultLocalization$1.prototype.
|
|
7216
|
-
defaultLocalization$1.prototype.
|
|
7217
|
-
defaultLocalization$1.prototype.
|
|
7218
|
-
defaultLocalization$1.prototype.
|
|
7219
|
-
defaultLocalization$1.prototype.
|
|
7220
|
-
defaultLocalization$1.prototype.
|
|
7221
|
-
defaultLocalization$1.prototype.
|
|
7222
|
-
defaultLocalization$1.prototype.
|
|
7223
|
-
defaultLocalization$1.prototype.
|
|
7224
|
-
EagerOption.prototype.
|
|
7225
|
-
EagerOption.prototype.
|
|
7226
|
-
FlagOption.prototype.
|
|
7227
|
-
FlagOption.prototype.
|
|
7228
|
-
FlagOption.prototype.
|
|
7229
|
-
OptionWithValues.prototype.
|
|
7230
|
-
OptionWithValues.prototype.
|
|
7191
|
+
defaultLocalization$1.prototype.r3y = aborted;
|
|
7192
|
+
defaultLocalization$1.prototype.k40 = usageError;
|
|
7193
|
+
defaultLocalization$1.prototype.d41 = badParameter;
|
|
7194
|
+
defaultLocalization$1.prototype.b41 = badParameterWithMessage;
|
|
7195
|
+
defaultLocalization$1.prototype.c41 = badParameterWithParam;
|
|
7196
|
+
defaultLocalization$1.prototype.a41 = badParameterWithMessageAndParam;
|
|
7197
|
+
defaultLocalization$1.prototype.k41 = missingOption;
|
|
7198
|
+
defaultLocalization$1.prototype.j42 = missingArgument;
|
|
7199
|
+
defaultLocalization$1.prototype.t41 = noSuchSubcommand;
|
|
7200
|
+
defaultLocalization$1.prototype.c42 = noSuchOption;
|
|
7201
|
+
defaultLocalization$1.prototype.t40 = incorrectOptionValueCount;
|
|
7202
|
+
defaultLocalization$1.prototype.q42 = incorrectArgumentValueCount;
|
|
7203
|
+
defaultLocalization$1.prototype.y42 = fileNotFound;
|
|
7204
|
+
defaultLocalization$1.prototype.i43 = invalidFileFormat;
|
|
7205
|
+
defaultLocalization$1.prototype.h43 = invalidFileFormat_0;
|
|
7206
|
+
defaultLocalization$1.prototype.q45 = unclosedQuote;
|
|
7207
|
+
defaultLocalization$1.prototype.r45 = fileEndsWithSlash;
|
|
7208
|
+
defaultLocalization$1.prototype.s45 = extraArgumentOne;
|
|
7209
|
+
defaultLocalization$1.prototype.t45 = extraArgumentMany;
|
|
7210
|
+
defaultLocalization$1.prototype.u45 = invalidFlagValueInFile;
|
|
7211
|
+
defaultLocalization$1.prototype.v45 = intConversionError;
|
|
7212
|
+
defaultLocalization$1.prototype.w45 = boolConversionError;
|
|
7213
|
+
defaultLocalization$1.prototype.x45 = stringMetavar;
|
|
7214
|
+
defaultLocalization$1.prototype.y45 = intMetavar;
|
|
7215
|
+
defaultLocalization$1.prototype.i44 = usageTitle;
|
|
7216
|
+
defaultLocalization$1.prototype.z44 = optionsTitle;
|
|
7217
|
+
defaultLocalization$1.prototype.g45 = argumentsTitle;
|
|
7218
|
+
defaultLocalization$1.prototype.l45 = commandsTitle;
|
|
7219
|
+
defaultLocalization$1.prototype.j44 = optionsMetavar;
|
|
7220
|
+
defaultLocalization$1.prototype.p44 = commandMetavar;
|
|
7221
|
+
defaultLocalization$1.prototype.n45 = helpTagDefault;
|
|
7222
|
+
defaultLocalization$1.prototype.m45 = helpTagRequired;
|
|
7223
|
+
defaultLocalization$1.prototype.u3x = helpOptionMessage;
|
|
7224
|
+
EagerOption.prototype.g3x = get_completionCandidates;
|
|
7225
|
+
EagerOption.prototype.v3x = parameterHelp;
|
|
7226
|
+
FlagOption.prototype.a48 = getValue_0;
|
|
7227
|
+
FlagOption.prototype.g3x = get_completionCandidates;
|
|
7228
|
+
FlagOption.prototype.v3x = parameterHelp;
|
|
7229
|
+
OptionWithValues.prototype.a48 = getValue_0;
|
|
7230
|
+
OptionWithValues.prototype.v3x = parameterHelp;
|
|
7231
7231
|
//endregion
|
|
7232
7232
|
//region block: exports
|
|
7233
7233
|
_.$_$ = _.$_$ || {};
|