@flock/wirespec 0.14.30 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clikt-clikt.mjs +1125 -1125
- package/colormath-root-colormath.mjs +400 -400
- package/kotlin-kotlin-stdlib.mjs +11 -11
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlin-rgxgen.mjs +1764 -1764
- package/kotlinx-io-kotlinx-io-core.mjs +371 -371
- package/markdown.mjs +1816 -1816
- package/mordant-mordant.mjs +1531 -1531
- package/package.json +1 -1
- package/wirespec-src-compiler-core.mjs +632 -508
- package/wirespec-src-compiler-core.mjs.map +1 -1
- package/wirespec-src-compiler-lib.mjs +269 -269
- package/wirespec-src-converter-avro.mjs +263 -263
- package/wirespec-src-converter-openapi.mjs +171 -171
- package/wirespec-src-plugin-arguments.mjs +119 -119
- package/wirespec-src-plugin-cli.mjs +61 -61
- package/wirespec-src-plugin-npm.d.ts +1 -1
- package/wirespec-src-plugin-npm.mjs +13 -12
- package/wirespec-src-plugin-npm.mjs.map +1 -1
- package/wirespec-src-tools-generator.mjs +3 -3
package/clikt-clikt.mjs
CHANGED
|
@@ -184,24 +184,24 @@ function get_acceptsUnattachedValue() {
|
|
|
184
184
|
}
|
|
185
185
|
function parameterHelp(context) {
|
|
186
186
|
var tmp;
|
|
187
|
-
if (this.
|
|
187
|
+
if (this.o3x()) {
|
|
188
188
|
tmp = null;
|
|
189
189
|
} else {
|
|
190
|
-
var tmp_0 = this.
|
|
191
|
-
var tmp_1 = this.
|
|
192
|
-
var tmp_2 = this.
|
|
193
|
-
var tmp_3 = this.
|
|
194
|
-
var tmp_4 = this.
|
|
195
|
-
var tmp_5 = this.
|
|
196
|
-
var tmp_6 = this.
|
|
197
|
-
var tmp_7 = this.
|
|
190
|
+
var tmp_0 = this.q3w();
|
|
191
|
+
var tmp_1 = this.r3w();
|
|
192
|
+
var tmp_2 = this.y48(context);
|
|
193
|
+
var tmp_3 = this.z3x(context);
|
|
194
|
+
var tmp_4 = this.q3x();
|
|
195
|
+
var tmp_5 = this.q40();
|
|
196
|
+
var tmp_6 = this.o3y();
|
|
197
|
+
var tmp_7 = this.t40();
|
|
198
198
|
var tmp0_safe_receiver = isInterface(this, StaticallyGroupedOption) ? this : null;
|
|
199
|
-
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
199
|
+
var tmp3_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p40();
|
|
200
200
|
var tmp_8;
|
|
201
201
|
if (tmp3_elvis_lhs == null) {
|
|
202
202
|
var tmp1_safe_receiver = isInterface(this, GroupableOption) ? this : null;
|
|
203
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
204
|
-
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
203
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.u40();
|
|
204
|
+
tmp_8 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.p40();
|
|
205
205
|
} else {
|
|
206
206
|
tmp_8 = tmp3_elvis_lhs;
|
|
207
207
|
}
|
|
@@ -372,19 +372,19 @@ function get_completionCandidates_0() {
|
|
|
372
372
|
initMetadataForInterface(Argument_0, 'Argument');
|
|
373
373
|
function copy$default(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates, $super) {
|
|
374
374
|
name = name === VOID ? this.s2() : name;
|
|
375
|
-
nvalues = nvalues === VOID ? this.
|
|
376
|
-
required = required === VOID ? this.
|
|
377
|
-
helpGetter = helpGetter === VOID ? this.
|
|
378
|
-
helpTags = helpTags === VOID ? this.
|
|
379
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
380
|
-
return $super === VOID ? this.
|
|
375
|
+
nvalues = nvalues === VOID ? this.q3x() : nvalues;
|
|
376
|
+
required = required === VOID ? this.n47() : required;
|
|
377
|
+
helpGetter = helpGetter === VOID ? this.p47() : helpGetter;
|
|
378
|
+
helpTags = helpTags === VOID ? this.q40() : helpTags;
|
|
379
|
+
completionCandidates = completionCandidates === VOID ? this.r47() : completionCandidates;
|
|
380
|
+
return $super === VOID ? this.s47(transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) : $super.s47.call(this, transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates);
|
|
381
381
|
}
|
|
382
382
|
initMetadataForInterface(ProcessedArgument, 'ProcessedArgument', VOID, VOID, [Argument_0]);
|
|
383
383
|
initMetadataForClass(ArgumentTransformContext, 'ArgumentTransformContext', VOID, VOID, [Argument_0]);
|
|
384
384
|
initMetadataForClass(ProcessedArgumentImpl, 'ProcessedArgumentImpl', VOID, VOID, [ProcessedArgument]);
|
|
385
385
|
function parameterHelp_0(context) {
|
|
386
|
-
var n = this.
|
|
387
|
-
var h = this.
|
|
386
|
+
var n = this.p40();
|
|
387
|
+
var h = this.q48();
|
|
388
388
|
return n == null || h == null ? null : new Group_0(n, h);
|
|
389
389
|
}
|
|
390
390
|
initMetadataForInterface(ParameterGroup, 'ParameterGroup');
|
|
@@ -400,39 +400,39 @@ initMetadataForClass(Sourced, 'Sourced', VOID, FinalValue);
|
|
|
400
400
|
initMetadataForClass(Envvar, 'Envvar', VOID, FinalValue);
|
|
401
401
|
initMetadataForClass(OptionTransformContext, 'OptionTransformContext', VOID, VOID, [Option_0]);
|
|
402
402
|
function copy$default_0(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
403
|
-
names = names === VOID ? this.
|
|
404
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
405
|
-
nvalues = nvalues === VOID ? this.
|
|
406
|
-
helpGetter = helpGetter === VOID ? this.
|
|
407
|
-
hidden = hidden === VOID ? this.
|
|
408
|
-
helpTags = helpTags === VOID ? this.
|
|
409
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
410
|
-
envvar = envvar === VOID ? this.
|
|
411
|
-
valueSplit = valueSplit === VOID ? this.
|
|
412
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
413
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
414
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
415
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
416
|
-
eager = eager === VOID ? this.
|
|
417
|
-
return $super === VOID ? this.
|
|
403
|
+
names = names === VOID ? this.q3w() : names;
|
|
404
|
+
metavarGetter = metavarGetter === VOID ? this.i49() : metavarGetter;
|
|
405
|
+
nvalues = nvalues === VOID ? this.q3x() : nvalues;
|
|
406
|
+
helpGetter = helpGetter === VOID ? this.p47() : helpGetter;
|
|
407
|
+
hidden = hidden === VOID ? this.o3x() : hidden;
|
|
408
|
+
helpTags = helpTags === VOID ? this.q40() : helpTags;
|
|
409
|
+
valueSourceKey = valueSourceKey === VOID ? this.r40() : valueSourceKey;
|
|
410
|
+
envvar = envvar === VOID ? this.g49() : envvar;
|
|
411
|
+
valueSplit = valueSplit === VOID ? this.j49() : valueSplit;
|
|
412
|
+
completionCandidates = completionCandidates === VOID ? this.r47() : completionCandidates;
|
|
413
|
+
secondaryNames = secondaryNames === VOID ? this.r3w() : secondaryNames;
|
|
414
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.o3y() : acceptsNumberValueWithoutName;
|
|
415
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.t40() : acceptsUnattachedValue;
|
|
416
|
+
eager = eager === VOID ? this.s40() : eager;
|
|
417
|
+
return $super === VOID ? this.k49(transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.k49.call(this, transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
418
418
|
}
|
|
419
419
|
function copy$default_1(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, $super) {
|
|
420
|
-
validator = validator === VOID ? this.
|
|
421
|
-
names = names === VOID ? this.
|
|
422
|
-
metavarGetter = metavarGetter === VOID ? this.
|
|
423
|
-
nvalues = nvalues === VOID ? this.
|
|
424
|
-
helpGetter = helpGetter === VOID ? this.
|
|
425
|
-
hidden = hidden === VOID ? this.
|
|
426
|
-
helpTags = helpTags === VOID ? this.
|
|
427
|
-
envvar = envvar === VOID ? this.
|
|
428
|
-
valueSourceKey = valueSourceKey === VOID ? this.
|
|
429
|
-
valueSplit = valueSplit === VOID ? this.
|
|
430
|
-
completionCandidates = completionCandidates === VOID ? this.
|
|
431
|
-
secondaryNames = secondaryNames === VOID ? this.
|
|
432
|
-
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.
|
|
433
|
-
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.
|
|
434
|
-
eager = eager === VOID ? this.
|
|
435
|
-
return $super === VOID ? this.
|
|
420
|
+
validator = validator === VOID ? this.h49() : validator;
|
|
421
|
+
names = names === VOID ? this.q3w() : names;
|
|
422
|
+
metavarGetter = metavarGetter === VOID ? this.i49() : metavarGetter;
|
|
423
|
+
nvalues = nvalues === VOID ? this.q3x() : nvalues;
|
|
424
|
+
helpGetter = helpGetter === VOID ? this.p47() : helpGetter;
|
|
425
|
+
hidden = hidden === VOID ? this.o3x() : hidden;
|
|
426
|
+
helpTags = helpTags === VOID ? this.q40() : helpTags;
|
|
427
|
+
envvar = envvar === VOID ? this.g49() : envvar;
|
|
428
|
+
valueSourceKey = valueSourceKey === VOID ? this.r40() : valueSourceKey;
|
|
429
|
+
valueSplit = valueSplit === VOID ? this.j49() : valueSplit;
|
|
430
|
+
completionCandidates = completionCandidates === VOID ? this.r47() : completionCandidates;
|
|
431
|
+
secondaryNames = secondaryNames === VOID ? this.r3w() : secondaryNames;
|
|
432
|
+
acceptsNumberValueWithoutName = acceptsNumberValueWithoutName === VOID ? this.o3y() : acceptsNumberValueWithoutName;
|
|
433
|
+
acceptsUnattachedValue = acceptsUnattachedValue === VOID ? this.t40() : acceptsUnattachedValue;
|
|
434
|
+
eager = eager === VOID ? this.s40() : eager;
|
|
435
|
+
return $super === VOID ? this.l49(validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) : $super.l49.call(this, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager);
|
|
436
436
|
}
|
|
437
437
|
initMetadataForInterface(OptionWithValues, 'OptionWithValues', VOID, VOID, [OptionDelegate]);
|
|
438
438
|
initMetadataForClass(OptionCallTransformContext, 'OptionCallTransformContext', VOID, VOID, [Option_0]);
|
|
@@ -449,7 +449,7 @@ initMetadataForClass(NodeMppImpls, 'NodeMppImpls');
|
|
|
449
449
|
initMetadataForObject(BrowserMppImpls, 'BrowserMppImpls');
|
|
450
450
|
//endregion
|
|
451
451
|
function commandCompletionFuncName($this, command) {
|
|
452
|
-
var tmp = command.
|
|
452
|
+
var tmp = command.p3w();
|
|
453
453
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
454
454
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
455
455
|
var isTopLevel = ancestors.j() === 1;
|
|
@@ -460,33 +460,33 @@ function customParamCompletionName($this, commandFuncName, name) {
|
|
|
460
460
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').hc(name, '_');
|
|
461
461
|
}
|
|
462
462
|
function _get_allNames__eplh1g(_this__u8e3s4, $this) {
|
|
463
|
-
return plus(_this__u8e3s4.
|
|
463
|
+
return plus(_this__u8e3s4.q3w(), _this__u8e3s4.r3w());
|
|
464
464
|
}
|
|
465
465
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
466
466
|
return "'" + it + "'";
|
|
467
467
|
}
|
|
468
468
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
469
|
-
return it.
|
|
469
|
+
return it.s3w_1;
|
|
470
470
|
}
|
|
471
471
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
472
|
-
return it.
|
|
472
|
+
return it.t3w_1.f3w_1;
|
|
473
473
|
}
|
|
474
474
|
function BashCompletionGenerator() {
|
|
475
475
|
}
|
|
476
|
-
protoOf(BashCompletionGenerator).
|
|
477
|
-
var commandName = command.
|
|
476
|
+
protoOf(BashCompletionGenerator).n3x = function (command, zsh) {
|
|
477
|
+
var commandName = command.f3w_1;
|
|
478
478
|
var tmp0_container = commandCompletionFuncName(this, command);
|
|
479
479
|
var isTopLevel = tmp0_container.yd();
|
|
480
480
|
var funcName = tmp0_container.zd();
|
|
481
481
|
// Inline function 'kotlin.collections.filterNot' call
|
|
482
|
-
var tmp0 = command.
|
|
482
|
+
var tmp0 = command.j3w_1;
|
|
483
483
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
484
484
|
var destination = ArrayList_init_$Create$();
|
|
485
485
|
var _iterator__ex2g4s = tmp0.g();
|
|
486
486
|
while (_iterator__ex2g4s.h()) {
|
|
487
487
|
var element = _iterator__ex2g4s.i();
|
|
488
488
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
489
|
-
if (!element.
|
|
489
|
+
if (!element.o3x()) {
|
|
490
490
|
destination.e(element);
|
|
491
491
|
}
|
|
492
492
|
}
|
|
@@ -497,42 +497,42 @@ protoOf(BashCompletionGenerator).o3x = function (command, zsh) {
|
|
|
497
497
|
while (_iterator__ex2g4s_0.h()) {
|
|
498
498
|
var item = _iterator__ex2g4s_0.i();
|
|
499
499
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
500
|
-
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.
|
|
500
|
+
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.p3x(), item.q3x());
|
|
501
501
|
destination_0.e(tmp$ret$3);
|
|
502
502
|
}
|
|
503
503
|
var options = destination_0;
|
|
504
504
|
// Inline function 'kotlin.collections.map' call
|
|
505
|
-
var this_0 = command.
|
|
505
|
+
var this_0 = command.k3w_1;
|
|
506
506
|
// Inline function 'kotlin.collections.mapTo' call
|
|
507
507
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
508
508
|
var _iterator__ex2g4s_1 = this_0.g();
|
|
509
509
|
while (_iterator__ex2g4s_1.h()) {
|
|
510
510
|
var item_0 = _iterator__ex2g4s_1.i();
|
|
511
511
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
512
|
-
var tmp$ret$6 = to(item_0.s2(), item_0.
|
|
512
|
+
var tmp$ret$6 = to(item_0.s2(), item_0.p3x());
|
|
513
513
|
destination_1.e(tmp$ret$6);
|
|
514
514
|
}
|
|
515
515
|
var arguments_0 = destination_1;
|
|
516
516
|
// Inline function 'kotlin.collections.map' call
|
|
517
|
-
var this_1 = command.
|
|
517
|
+
var this_1 = command.i3w_1;
|
|
518
518
|
// Inline function 'kotlin.collections.mapTo' call
|
|
519
519
|
var destination_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
520
520
|
var _iterator__ex2g4s_2 = this_1.g();
|
|
521
521
|
while (_iterator__ex2g4s_2.h()) {
|
|
522
522
|
var item_1 = _iterator__ex2g4s_2.i();
|
|
523
523
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
524
|
-
var tmp$ret$9 = item_1.
|
|
524
|
+
var tmp$ret$9 = item_1.f3w_1;
|
|
525
525
|
destination_2.e(tmp$ret$9);
|
|
526
526
|
}
|
|
527
527
|
var subcommands = destination_2;
|
|
528
528
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
529
|
-
var this_2 = command.
|
|
529
|
+
var this_2 = command.k3w_1;
|
|
530
530
|
var list = ArrayList_init_$Create$();
|
|
531
531
|
var _iterator__ex2g4s_3 = this_2.g();
|
|
532
532
|
$l$loop: while (_iterator__ex2g4s_3.h()) {
|
|
533
533
|
var item_2 = _iterator__ex2g4s_3.i();
|
|
534
534
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
535
|
-
if (!(item_2.
|
|
535
|
+
if (!(item_2.q3x() > 0))
|
|
536
536
|
break $l$loop;
|
|
537
537
|
list.e(item_2);
|
|
538
538
|
}
|
|
@@ -544,7 +544,7 @@ protoOf(BashCompletionGenerator).o3x = function (command, zsh) {
|
|
|
544
544
|
var element_0 = _iterator__ex2g4s_4.i();
|
|
545
545
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
546
546
|
// Inline function 'kotlin.collections.map' call
|
|
547
|
-
var this_3 = numberRangeToNumber(1, element_0.
|
|
547
|
+
var this_3 = numberRangeToNumber(1, element_0.q3x());
|
|
548
548
|
// Inline function 'kotlin.collections.mapTo' call
|
|
549
549
|
var destination_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_3, 10));
|
|
550
550
|
var inductionVariable = this_3.d1_1;
|
|
@@ -563,7 +563,7 @@ protoOf(BashCompletionGenerator).o3x = function (command, zsh) {
|
|
|
563
563
|
}
|
|
564
564
|
var fixedArgNameArray = joinToString(destination_3, ' ');
|
|
565
565
|
// Inline function 'kotlin.collections.find' call
|
|
566
|
-
var tmp0_0 = command.
|
|
566
|
+
var tmp0_0 = command.k3w_1;
|
|
567
567
|
var tmp$ret$21;
|
|
568
568
|
$l$block: {
|
|
569
569
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -571,7 +571,7 @@ protoOf(BashCompletionGenerator).o3x = function (command, zsh) {
|
|
|
571
571
|
while (_iterator__ex2g4s_5.h()) {
|
|
572
572
|
var element_1 = _iterator__ex2g4s_5.i();
|
|
573
573
|
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
574
|
-
if (element_1.
|
|
574
|
+
if (element_1.q3x() < 0) {
|
|
575
575
|
tmp$ret$21 = element_1;
|
|
576
576
|
break $l$block;
|
|
577
577
|
}
|
|
@@ -640,7 +640,7 @@ protoOf(BashCompletionGenerator).o3x = function (command, zsh) {
|
|
|
640
640
|
var name = tmp1_loop_parameter.yd();
|
|
641
641
|
var candidate = tmp1_loop_parameter.zd();
|
|
642
642
|
var tmp2_safe_receiver = candidate instanceof Custom ? candidate : null;
|
|
643
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
643
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.r3x_1;
|
|
644
644
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver(ShellType_BASH_getInstance());
|
|
645
645
|
var tmp;
|
|
646
646
|
if (tmp4_elvis_lhs == null) {
|
|
@@ -698,7 +698,7 @@ protoOf(BashCompletionGenerator).o3x = function (command, zsh) {
|
|
|
698
698
|
}
|
|
699
699
|
this_4.b8(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
700
700
|
// Inline function 'kotlin.collections.iterator' call
|
|
701
|
-
var tmp7_iterator = command.
|
|
701
|
+
var tmp7_iterator = command.s3x().z().g();
|
|
702
702
|
while (tmp7_iterator.h()) {
|
|
703
703
|
var tmp8_loop_parameter = tmp7_iterator.i();
|
|
704
704
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -709,18 +709,18 @@ protoOf(BashCompletionGenerator).o3x = function (command, zsh) {
|
|
|
709
709
|
joinTo(toks, this_4, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
710
710
|
this_4.b8(' "${COMP_WORDS[@]:${i}}" )').b8('\n');
|
|
711
711
|
this_4.b8(' (( COMP_CWORD = COMP_CWORD + ' + toks.j() + ' ))\n');
|
|
712
|
-
if (!command.
|
|
712
|
+
if (!command.p3w().u3w_1) {
|
|
713
713
|
this_4.b8(' can_parse_options=0\n');
|
|
714
714
|
}
|
|
715
715
|
this_4.b8(' ;;\n');
|
|
716
716
|
}
|
|
717
|
-
var tmp9_iterator = command.
|
|
717
|
+
var tmp9_iterator = command.i3w_1.g();
|
|
718
718
|
while (tmp9_iterator.h()) {
|
|
719
719
|
var sub = tmp9_iterator.i();
|
|
720
|
-
this_4.b8(trimMargin('\n | ' + sub.
|
|
720
|
+
this_4.b8(trimMargin('\n | ' + sub.f3w_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).le_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
721
721
|
}
|
|
722
722
|
this_4.b8(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
723
|
-
if (!command.
|
|
723
|
+
if (!command.p3w().u3w_1) {
|
|
724
724
|
this_4.b8(' can_parse_options=0\n');
|
|
725
725
|
}
|
|
726
726
|
this_4.b8(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -780,11 +780,11 @@ protoOf(BashCompletionGenerator).o3x = function (command, zsh) {
|
|
|
780
780
|
} else {
|
|
781
781
|
if (completion instanceof Fixed) {
|
|
782
782
|
this_4.b8(" COMPREPLY=($(compgen -W '");
|
|
783
|
-
joinTo(completion.
|
|
783
|
+
joinTo(completion.t3x_1, this_4, ' ');
|
|
784
784
|
this_4.b8('\' -- "${word}"))\n');
|
|
785
785
|
} else {
|
|
786
786
|
if (completion instanceof Custom) {
|
|
787
|
-
if (!(completion.
|
|
787
|
+
if (!(completion.r3x_1(ShellType_BASH_getInstance()) == null)) {
|
|
788
788
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
789
789
|
this_4.b8(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
790
790
|
}
|
|
@@ -803,10 +803,10 @@ protoOf(BashCompletionGenerator).o3x = function (command, zsh) {
|
|
|
803
803
|
this_4.b8('\' -- "${word}"))\n ;;\n');
|
|
804
804
|
}
|
|
805
805
|
this_4.b8(' esac\n}\n');
|
|
806
|
-
var tmp13_iterator = command.
|
|
806
|
+
var tmp13_iterator = command.i3w_1.g();
|
|
807
807
|
while (tmp13_iterator.h()) {
|
|
808
808
|
var subcommand = tmp13_iterator.i();
|
|
809
|
-
this_4.b8(BashCompletionGenerator_instance.
|
|
809
|
+
this_4.b8(BashCompletionGenerator_instance.n3x(subcommand, zsh));
|
|
810
810
|
}
|
|
811
811
|
if (isTopLevel) {
|
|
812
812
|
this_4.b8('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -936,13 +936,13 @@ function Username_getInstance() {
|
|
|
936
936
|
}
|
|
937
937
|
function Fixed(candidates) {
|
|
938
938
|
CompletionCandidates.call(this);
|
|
939
|
-
this.
|
|
939
|
+
this.t3x_1 = candidates;
|
|
940
940
|
}
|
|
941
941
|
protoOf(Fixed).toString = function () {
|
|
942
|
-
return 'Fixed(candidates=' + toString_0(this.
|
|
942
|
+
return 'Fixed(candidates=' + toString_0(this.t3x_1) + ')';
|
|
943
943
|
};
|
|
944
944
|
protoOf(Fixed).hashCode = function () {
|
|
945
|
-
return hashCode(this.
|
|
945
|
+
return hashCode(this.t3x_1);
|
|
946
946
|
};
|
|
947
947
|
protoOf(Fixed).equals = function (other) {
|
|
948
948
|
if (this === other)
|
|
@@ -950,7 +950,7 @@ protoOf(Fixed).equals = function (other) {
|
|
|
950
950
|
if (!(other instanceof Fixed))
|
|
951
951
|
return false;
|
|
952
952
|
var tmp0_other_with_cast = other instanceof Fixed ? other : THROW_CCE();
|
|
953
|
-
if (!equals(this.
|
|
953
|
+
if (!equals(this.t3x_1, tmp0_other_with_cast.t3x_1))
|
|
954
954
|
return false;
|
|
955
955
|
return true;
|
|
956
956
|
};
|
|
@@ -960,20 +960,20 @@ function CompletionCandidates() {
|
|
|
960
960
|
}
|
|
961
961
|
function CompletionGenerator() {
|
|
962
962
|
}
|
|
963
|
-
protoOf(CompletionGenerator).
|
|
963
|
+
protoOf(CompletionGenerator).u3x = function (command, shell) {
|
|
964
964
|
// Inline function 'kotlin.text.trim' call
|
|
965
965
|
// Inline function 'kotlin.text.lowercase' call
|
|
966
966
|
// Inline function 'kotlin.js.asDynamic' call
|
|
967
967
|
var message;
|
|
968
968
|
switch (toString_0(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
969
969
|
case 'fish':
|
|
970
|
-
message = FishCompletionGenerator_instance.
|
|
970
|
+
message = FishCompletionGenerator_instance.v3x(command);
|
|
971
971
|
break;
|
|
972
972
|
case 'zsh':
|
|
973
|
-
message = BashCompletionGenerator_instance.
|
|
973
|
+
message = BashCompletionGenerator_instance.n3x(command, true);
|
|
974
974
|
break;
|
|
975
975
|
default:
|
|
976
|
-
message = BashCompletionGenerator_instance.
|
|
976
|
+
message = BashCompletionGenerator_instance.n3x(command, false);
|
|
977
977
|
break;
|
|
978
978
|
}
|
|
979
979
|
throw new PrintCompletionMessage(message);
|
|
@@ -987,29 +987,29 @@ function generateFishCompletionForCommand($this, command) {
|
|
|
987
987
|
// Inline function 'kotlin.apply' call
|
|
988
988
|
var this_0 = StringBuilder_init_$Create$();
|
|
989
989
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
990
|
-
var parentCommandName = lastOrNull(command.
|
|
991
|
-
var rootCommandName = first_0(command.
|
|
990
|
+
var parentCommandName = lastOrNull(command.p3w().w3x());
|
|
991
|
+
var rootCommandName = first_0(command.p3w().x3x());
|
|
992
992
|
var isTopLevel = parentCommandName == null;
|
|
993
|
-
var commandName = command.
|
|
993
|
+
var commandName = command.f3w_1;
|
|
994
994
|
// Inline function 'kotlin.collections.filterNot' call
|
|
995
|
-
var tmp0 = command.
|
|
995
|
+
var tmp0 = command.j3w_1;
|
|
996
996
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
997
997
|
var destination = ArrayList_init_$Create$();
|
|
998
998
|
var _iterator__ex2g4s = tmp0.g();
|
|
999
999
|
while (_iterator__ex2g4s.h()) {
|
|
1000
1000
|
var element = _iterator__ex2g4s.i();
|
|
1001
1001
|
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
1002
|
-
if (!element.
|
|
1002
|
+
if (!element.o3x()) {
|
|
1003
1003
|
destination.e(element);
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
1006
|
var options = destination;
|
|
1007
|
-
var arguments_0 = command.
|
|
1008
|
-
var subcommands = command.
|
|
1007
|
+
var arguments_0 = command.k3w_1;
|
|
1008
|
+
var subcommands = command.i3w_1;
|
|
1009
1009
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1010
1010
|
var hasSubcommands = !subcommands.l();
|
|
1011
|
-
var subcommandsVarName_0 = subcommandsVarName(command.
|
|
1012
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.
|
|
1011
|
+
var subcommandsVarName_0 = subcommandsVarName(command.p3w().x3x(), FishCompletionGenerator_instance);
|
|
1012
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.p3w().w3x(), FishCompletionGenerator_instance);
|
|
1013
1013
|
if (isTopLevel) {
|
|
1014
1014
|
// Inline function 'kotlin.text.appendLine' call
|
|
1015
1015
|
var value = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
@@ -1037,7 +1037,7 @@ function generateFishCompletionForCommand($this, command) {
|
|
|
1037
1037
|
this_0.b8('-n "__fish_seen_subcommand_from ' + parentCommandName + '; and not __fish_seen_subcommand_from $' + parentSubcommandsVarName + '" ');
|
|
1038
1038
|
}
|
|
1039
1039
|
this_0.b8('-a ' + commandName + ' ');
|
|
1040
|
-
var help = replace_0(command.
|
|
1040
|
+
var help = replace_0(command.y3x(command.p3w()), "'", "\\'");
|
|
1041
1041
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1042
1042
|
if (!isBlank(help)) {
|
|
1043
1043
|
this_0.b8("-d '" + help + "'");
|
|
@@ -1133,11 +1133,11 @@ function generateFishCompletionForCommand($this, command) {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
this_0.b8(trimStart(name, charArrayOf([_Char___init__impl__6a9atx(45)])));
|
|
1135
1135
|
}
|
|
1136
|
-
if (option.
|
|
1136
|
+
if (option.q3x().d1_1 > 0) {
|
|
1137
1137
|
this_0.b8(' -r');
|
|
1138
1138
|
}
|
|
1139
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.
|
|
1140
|
-
appendHelp(this_0, FishCompletionGenerator_instance, option.
|
|
1139
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, option.p3x());
|
|
1140
|
+
appendHelp(this_0, FishCompletionGenerator_instance, option.z3x(command.p3w()));
|
|
1141
1141
|
// Inline function 'kotlin.text.appendLine' call
|
|
1142
1142
|
this_0.c8(_Char___init__impl__6a9atx(10));
|
|
1143
1143
|
}
|
|
@@ -1152,8 +1152,8 @@ function generateFishCompletionForCommand($this, command) {
|
|
|
1152
1152
|
while (tmp2_iterator.h()) {
|
|
1153
1153
|
var argument = tmp2_iterator.i();
|
|
1154
1154
|
appendCompleteCall(this_0, FishCompletionGenerator_instance, rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1155
|
-
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.
|
|
1156
|
-
appendHelp(this_0, FishCompletionGenerator_instance, argument.
|
|
1155
|
+
appendParamCompletion(this_0, FishCompletionGenerator_instance, argument.p3x());
|
|
1156
|
+
appendHelp(this_0, FishCompletionGenerator_instance, argument.a3y(command.p3w()));
|
|
1157
1157
|
// Inline function 'kotlin.text.appendLine' call
|
|
1158
1158
|
this_0.c8(_Char___init__impl__6a9atx(10));
|
|
1159
1159
|
}
|
|
@@ -1214,10 +1214,10 @@ function appendParamCompletion(_this__u8e3s4, $this, completion) {
|
|
|
1214
1214
|
_this__u8e3s4.b8(' -fa "(__fish_complete_users)"');
|
|
1215
1215
|
} else {
|
|
1216
1216
|
if (completion instanceof Fixed) {
|
|
1217
|
-
joinTo(completion.
|
|
1217
|
+
joinTo(completion.t3x_1, _this__u8e3s4, ' ', ' -fa "', '"');
|
|
1218
1218
|
} else {
|
|
1219
1219
|
if (completion instanceof Custom) {
|
|
1220
|
-
var customCompletion = completion.
|
|
1220
|
+
var customCompletion = completion.r3x_1(ShellType_FISH_getInstance());
|
|
1221
1221
|
_this__u8e3s4.b8(' -fa ' + customCompletion);
|
|
1222
1222
|
}
|
|
1223
1223
|
}
|
|
@@ -1233,17 +1233,17 @@ function _get_hasFishCompletionRequirements__qhz0b7(_this__u8e3s4, $this) {
|
|
|
1233
1233
|
var tmp;
|
|
1234
1234
|
var tmp_0;
|
|
1235
1235
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1236
|
-
if (!_this__u8e3s4.
|
|
1236
|
+
if (!_this__u8e3s4.k3w_1.l()) {
|
|
1237
1237
|
tmp_0 = true;
|
|
1238
1238
|
} else {
|
|
1239
1239
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1240
|
-
tmp_0 = !_this__u8e3s4.
|
|
1240
|
+
tmp_0 = !_this__u8e3s4.i3w_1.l();
|
|
1241
1241
|
}
|
|
1242
1242
|
if (tmp_0) {
|
|
1243
1243
|
tmp = true;
|
|
1244
1244
|
} else {
|
|
1245
1245
|
// Inline function 'kotlin.collections.flatMap' call
|
|
1246
|
-
var tmp0 = _this__u8e3s4.
|
|
1246
|
+
var tmp0 = _this__u8e3s4.j3w_1;
|
|
1247
1247
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1248
1248
|
var destination = ArrayList_init_$Create$();
|
|
1249
1249
|
var _iterator__ex2g4s = tmp0.g();
|
|
@@ -1285,10 +1285,10 @@ function _get_isValidFishCompletionOption__och4wa(_this__u8e3s4, $this) {
|
|
|
1285
1285
|
return startsWith_0(_this__u8e3s4, _Char___init__impl__6a9atx(45));
|
|
1286
1286
|
}
|
|
1287
1287
|
function _get_allNames__eplh1g_0(_this__u8e3s4, $this) {
|
|
1288
|
-
return plus(_this__u8e3s4.
|
|
1288
|
+
return plus(_this__u8e3s4.q3w(), _this__u8e3s4.r3w());
|
|
1289
1289
|
}
|
|
1290
1290
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
1291
|
-
return it.
|
|
1291
|
+
return it.f3w_1;
|
|
1292
1292
|
}
|
|
1293
1293
|
function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
1294
1294
|
// Inline function 'kotlin.text.replace' call
|
|
@@ -1296,7 +1296,7 @@ function FishCompletionGenerator$subcommandsVarName$lambda(it) {
|
|
|
1296
1296
|
}
|
|
1297
1297
|
function FishCompletionGenerator() {
|
|
1298
1298
|
}
|
|
1299
|
-
protoOf(FishCompletionGenerator).
|
|
1299
|
+
protoOf(FishCompletionGenerator).v3x = function (command) {
|
|
1300
1300
|
if (!_get_hasFishCompletionRequirements__qhz0b7(command, this))
|
|
1301
1301
|
return '';
|
|
1302
1302
|
return generateFishCompletionForCommand(this, command);
|
|
@@ -1306,7 +1306,7 @@ function FishCompletionGenerator_getInstance() {
|
|
|
1306
1306
|
return FishCompletionGenerator_instance;
|
|
1307
1307
|
}
|
|
1308
1308
|
function registeredOptionNames($this) {
|
|
1309
|
-
var tmp0 = $this.
|
|
1309
|
+
var tmp0 = $this.j3w_1;
|
|
1310
1310
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
1311
1311
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
1312
1312
|
var destination = LinkedHashSet_init_$Create$();
|
|
@@ -1314,15 +1314,15 @@ function registeredOptionNames($this) {
|
|
|
1314
1314
|
while (_iterator__ex2g4s.h()) {
|
|
1315
1315
|
var element = _iterator__ex2g4s.i();
|
|
1316
1316
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registeredOptionNames.<anonymous>' call
|
|
1317
|
-
var list = element.
|
|
1317
|
+
var list = element.q3w();
|
|
1318
1318
|
addAll(destination, list);
|
|
1319
1319
|
}
|
|
1320
1320
|
return destination;
|
|
1321
1321
|
}
|
|
1322
1322
|
function createContext($this, argv, parent, ancestors) {
|
|
1323
|
-
$this.
|
|
1324
|
-
if ($this.
|
|
1325
|
-
var tmp0 = $this.
|
|
1323
|
+
$this.n3w_1 = Companion_instance_0.b3y($this, parent, argv, $this.m3w_1);
|
|
1324
|
+
if ($this.c3w_1) {
|
|
1325
|
+
var tmp0 = $this.p3w().c3y();
|
|
1326
1326
|
var tmp$ret$1;
|
|
1327
1327
|
$l$block: {
|
|
1328
1328
|
// Inline function 'kotlin.sequences.none' call
|
|
@@ -1330,7 +1330,7 @@ function createContext($this, argv, parent, ancestors) {
|
|
|
1330
1330
|
while (_iterator__ex2g4s.h()) {
|
|
1331
1331
|
var element = _iterator__ex2g4s.i();
|
|
1332
1332
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1333
|
-
if (element.
|
|
1333
|
+
if (element.t3w_1.c3w_1) {
|
|
1334
1334
|
tmp$ret$1 = false;
|
|
1335
1335
|
break $l$block;
|
|
1336
1336
|
}
|
|
@@ -1345,47 +1345,47 @@ function createContext($this, argv, parent, ancestors) {
|
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
1347
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1348
|
-
if (!$this.
|
|
1349
|
-
var names = minus($this.
|
|
1348
|
+
if (!$this.p3w().y3w_1.l()) {
|
|
1349
|
+
var names = minus($this.p3w().y3w_1, registeredOptionNames($this));
|
|
1350
1350
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1351
1351
|
if (!names.l()) {
|
|
1352
|
-
var tmp = $this.
|
|
1352
|
+
var tmp = $this.p3w().g3x_1.d3y();
|
|
1353
1353
|
eagerOption($this, names, tmp, VOID, VOID, VOID, CliktCommand$createContext$lambda);
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
var tmp0_iterator = $this.
|
|
1356
|
+
var tmp0_iterator = $this.i3w_1.g();
|
|
1357
1357
|
while (tmp0_iterator.h()) {
|
|
1358
1358
|
var command = tmp0_iterator.i();
|
|
1359
|
-
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.
|
|
1359
|
+
var a = filterNotNull(plus_1(ancestors, parent == null ? null : parent.t3w_1));
|
|
1360
1360
|
// Inline function 'kotlin.check' call
|
|
1361
1361
|
if (!!a.o1(command)) {
|
|
1362
1362
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.createContext.<anonymous>' call
|
|
1363
|
-
var message_0 = 'Command ' + command.
|
|
1363
|
+
var message_0 = 'Command ' + command.f3w_1 + ' already registered';
|
|
1364
1364
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1365
1365
|
}
|
|
1366
|
-
createContext(command, argv, $this.
|
|
1366
|
+
createContext(command, argv, $this.p3w(), a);
|
|
1367
1367
|
}
|
|
1368
|
-
return ensureNotNull($this.
|
|
1368
|
+
return ensureNotNull($this.n3w_1);
|
|
1369
1369
|
}
|
|
1370
1370
|
function getCommandNameWithParents($this) {
|
|
1371
|
-
if ($this.
|
|
1371
|
+
if ($this.n3w_1 == null) {
|
|
1372
1372
|
createContext($this, emptyList(), null, emptyList());
|
|
1373
1373
|
}
|
|
1374
|
-
return joinToString($this.
|
|
1374
|
+
return joinToString($this.p3w().x3x(), ' ');
|
|
1375
1375
|
}
|
|
1376
1376
|
function generateCompletion($this) {
|
|
1377
|
-
if ($this.
|
|
1377
|
+
if ($this.b3w_1 == null)
|
|
1378
1378
|
return Unit_instance;
|
|
1379
1379
|
var tmp;
|
|
1380
|
-
if (isBlank($this.
|
|
1380
|
+
if (isBlank($this.b3w_1)) {
|
|
1381
1381
|
// Inline function 'kotlin.text.uppercase' call
|
|
1382
1382
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1383
|
-
tmp = '_' + replace_0($this.
|
|
1383
|
+
tmp = '_' + replace_0($this.f3w_1, '-', '_').toUpperCase() + '_COMPLETE';
|
|
1384
1384
|
} else {
|
|
1385
|
-
tmp = $this.
|
|
1385
|
+
tmp = $this.b3w_1;
|
|
1386
1386
|
}
|
|
1387
1387
|
var envvar = tmp;
|
|
1388
|
-
var tmp0_elvis_lhs = $this.
|
|
1388
|
+
var tmp0_elvis_lhs = $this.p3w().h3x_1(envvar);
|
|
1389
1389
|
var tmp_0;
|
|
1390
1390
|
if (tmp0_elvis_lhs == null) {
|
|
1391
1391
|
return Unit_instance;
|
|
@@ -1393,13 +1393,13 @@ function generateCompletion($this) {
|
|
|
1393
1393
|
tmp_0 = tmp0_elvis_lhs;
|
|
1394
1394
|
}
|
|
1395
1395
|
var envval = tmp_0;
|
|
1396
|
-
CompletionGenerator_instance.
|
|
1396
|
+
CompletionGenerator_instance.u3x($this, envval);
|
|
1397
1397
|
}
|
|
1398
1398
|
function CliktCommand$_contextConfig$lambda($this$null) {
|
|
1399
1399
|
return Unit_instance;
|
|
1400
1400
|
}
|
|
1401
1401
|
function CliktCommand$createContext$lambda($this$eagerOption) {
|
|
1402
|
-
throw new PrintHelpMessage($this$eagerOption.
|
|
1402
|
+
throw new PrintHelpMessage($this$eagerOption.f3y_1);
|
|
1403
1403
|
}
|
|
1404
1404
|
function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, treatUnknownOptionsAsArgs, hidden) {
|
|
1405
1405
|
help = help === VOID ? '' : help;
|
|
@@ -1412,49 +1412,49 @@ function CliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelpOnEm
|
|
|
1412
1412
|
allowMultipleSubcommands = allowMultipleSubcommands === VOID ? false : allowMultipleSubcommands;
|
|
1413
1413
|
treatUnknownOptionsAsArgs = treatUnknownOptionsAsArgs === VOID ? false : treatUnknownOptionsAsArgs;
|
|
1414
1414
|
hidden = hidden === VOID ? false : hidden;
|
|
1415
|
-
this.
|
|
1416
|
-
this.
|
|
1417
|
-
this.
|
|
1418
|
-
this.
|
|
1419
|
-
this.
|
|
1420
|
-
this.
|
|
1421
|
-
this.
|
|
1415
|
+
this.y3v_1 = invokeWithoutSubcommand;
|
|
1416
|
+
this.z3v_1 = printHelpOnEmptyArgs;
|
|
1417
|
+
this.a3w_1 = helpTags;
|
|
1418
|
+
this.b3w_1 = autoCompleteEnvvar;
|
|
1419
|
+
this.c3w_1 = allowMultipleSubcommands;
|
|
1420
|
+
this.d3w_1 = treatUnknownOptionsAsArgs;
|
|
1421
|
+
this.e3w_1 = hidden;
|
|
1422
1422
|
var tmp = this;
|
|
1423
|
-
tmp.
|
|
1424
|
-
this.
|
|
1425
|
-
this.
|
|
1426
|
-
this.
|
|
1423
|
+
tmp.f3w_1 = name == null ? inferCommandName(this) : name;
|
|
1424
|
+
this.g3w_1 = help;
|
|
1425
|
+
this.h3w_1 = epilog;
|
|
1426
|
+
this.i3w_1 = emptyList();
|
|
1427
1427
|
var tmp_0 = this;
|
|
1428
1428
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1429
|
-
tmp_0.
|
|
1429
|
+
tmp_0.j3w_1 = ArrayList_init_$Create$();
|
|
1430
1430
|
var tmp_1 = this;
|
|
1431
1431
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1432
|
-
tmp_1.
|
|
1432
|
+
tmp_1.k3w_1 = ArrayList_init_$Create$();
|
|
1433
1433
|
var tmp_2 = this;
|
|
1434
1434
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1435
|
-
tmp_2.
|
|
1435
|
+
tmp_2.l3w_1 = ArrayList_init_$Create$();
|
|
1436
1436
|
var tmp_3 = this;
|
|
1437
|
-
tmp_3.
|
|
1438
|
-
this.
|
|
1437
|
+
tmp_3.m3w_1 = CliktCommand$_contextConfig$lambda;
|
|
1438
|
+
this.n3w_1 = null;
|
|
1439
1439
|
var tmp_4 = this;
|
|
1440
1440
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1441
|
-
tmp_4.
|
|
1441
|
+
tmp_4.o3w_1 = ArrayList_init_$Create$();
|
|
1442
1442
|
}
|
|
1443
|
+
protoOf(CliktCommand).g3y = function () {
|
|
1444
|
+
return this.g3w_1;
|
|
1445
|
+
};
|
|
1446
|
+
protoOf(CliktCommand).y3x = function (context) {
|
|
1447
|
+
return this.g3y();
|
|
1448
|
+
};
|
|
1443
1449
|
protoOf(CliktCommand).h3y = function () {
|
|
1444
1450
|
return this.h3w_1;
|
|
1445
1451
|
};
|
|
1446
|
-
protoOf(CliktCommand).
|
|
1452
|
+
protoOf(CliktCommand).i3y = function (context) {
|
|
1447
1453
|
return this.h3y();
|
|
1448
1454
|
};
|
|
1449
|
-
protoOf(CliktCommand).
|
|
1450
|
-
return this.i3w_1;
|
|
1451
|
-
};
|
|
1452
|
-
protoOf(CliktCommand).j3y = function (context) {
|
|
1453
|
-
return this.i3y();
|
|
1454
|
-
};
|
|
1455
|
-
protoOf(CliktCommand).k3y = function () {
|
|
1455
|
+
protoOf(CliktCommand).j3y = function () {
|
|
1456
1456
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1457
|
-
var tmp0 = this.
|
|
1457
|
+
var tmp0 = this.j3w_1;
|
|
1458
1458
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1459
1459
|
var destination = ArrayList_init_$Create$();
|
|
1460
1460
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -1463,7 +1463,7 @@ protoOf(CliktCommand).k3y = function () {
|
|
|
1463
1463
|
var element = _iterator__ex2g4s.i();
|
|
1464
1464
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1465
1465
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1466
|
-
var tmp0_safe_receiver = element.
|
|
1466
|
+
var tmp0_safe_receiver = element.k3y(this.p3w());
|
|
1467
1467
|
if (tmp0_safe_receiver == null)
|
|
1468
1468
|
null;
|
|
1469
1469
|
else {
|
|
@@ -1474,7 +1474,7 @@ protoOf(CliktCommand).k3y = function () {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
var tmp = destination;
|
|
1476
1476
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1477
|
-
var tmp0_0 = this.
|
|
1477
|
+
var tmp0_0 = this.k3w_1;
|
|
1478
1478
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1479
1479
|
var destination_0 = ArrayList_init_$Create$();
|
|
1480
1480
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -1483,7 +1483,7 @@ protoOf(CliktCommand).k3y = function () {
|
|
|
1483
1483
|
var element_0 = _iterator__ex2g4s_0.i();
|
|
1484
1484
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1485
1485
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1486
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
1486
|
+
var tmp0_safe_receiver_0 = element_0.k3y(this.p3w());
|
|
1487
1487
|
if (tmp0_safe_receiver_0 == null)
|
|
1488
1488
|
null;
|
|
1489
1489
|
else {
|
|
@@ -1494,7 +1494,7 @@ protoOf(CliktCommand).k3y = function () {
|
|
|
1494
1494
|
}
|
|
1495
1495
|
var tmp_0 = destination_0;
|
|
1496
1496
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1497
|
-
var tmp0_1 = this.
|
|
1497
|
+
var tmp0_1 = this.l3w_1;
|
|
1498
1498
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1499
1499
|
var destination_1 = ArrayList_init_$Create$();
|
|
1500
1500
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -1503,7 +1503,7 @@ protoOf(CliktCommand).k3y = function () {
|
|
|
1503
1503
|
var element_1 = _iterator__ex2g4s_1.i();
|
|
1504
1504
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1505
1505
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1506
|
-
var tmp0_safe_receiver_1 = element_1.
|
|
1506
|
+
var tmp0_safe_receiver_1 = element_1.k3y(this.p3w());
|
|
1507
1507
|
if (tmp0_safe_receiver_1 == null)
|
|
1508
1508
|
null;
|
|
1509
1509
|
else {
|
|
@@ -1514,7 +1514,7 @@ protoOf(CliktCommand).k3y = function () {
|
|
|
1514
1514
|
}
|
|
1515
1515
|
var tmp_1 = destination_1;
|
|
1516
1516
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
1517
|
-
var tmp0_2 = this.
|
|
1517
|
+
var tmp0_2 = this.i3w_1;
|
|
1518
1518
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
1519
1519
|
var destination_2 = ArrayList_init_$Create$();
|
|
1520
1520
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -1524,10 +1524,10 @@ protoOf(CliktCommand).k3y = function () {
|
|
|
1524
1524
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1525
1525
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>' call
|
|
1526
1526
|
// Inline function 'kotlin.takeUnless' call
|
|
1527
|
-
var this_0 = new Subcommand(element_2.
|
|
1527
|
+
var this_0 = new Subcommand(element_2.f3w_1, element_2.l3y(this.p3w()), element_2.a3w_1);
|
|
1528
1528
|
var tmp_2;
|
|
1529
1529
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.allHelpParams.<anonymous>.<anonymous>' call
|
|
1530
|
-
if (!element_2.
|
|
1530
|
+
if (!element_2.e3w_1) {
|
|
1531
1531
|
tmp_2 = this_0;
|
|
1532
1532
|
} else {
|
|
1533
1533
|
tmp_2 = null;
|
|
@@ -1543,8 +1543,8 @@ protoOf(CliktCommand).k3y = function () {
|
|
|
1543
1543
|
}
|
|
1544
1544
|
return flatten(listOf([tmp, tmp_0, tmp_1, destination_2]));
|
|
1545
1545
|
};
|
|
1546
|
-
protoOf(CliktCommand).
|
|
1547
|
-
var tmp0 = this.
|
|
1546
|
+
protoOf(CliktCommand).p3w = function () {
|
|
1547
|
+
var tmp0 = this.n3w_1;
|
|
1548
1548
|
$l$block: {
|
|
1549
1549
|
// Inline function 'kotlin.checkNotNull' call
|
|
1550
1550
|
if (tmp0 == null) {
|
|
@@ -1555,21 +1555,21 @@ protoOf(CliktCommand).q3w = function () {
|
|
|
1555
1555
|
break $l$block;
|
|
1556
1556
|
}
|
|
1557
1557
|
}
|
|
1558
|
-
return ensureNotNull(this.
|
|
1558
|
+
return ensureNotNull(this.n3w_1);
|
|
1559
1559
|
};
|
|
1560
|
-
protoOf(CliktCommand).
|
|
1561
|
-
return this.
|
|
1560
|
+
protoOf(CliktCommand).m3y = function () {
|
|
1561
|
+
return this.o3w_1;
|
|
1562
1562
|
};
|
|
1563
|
-
protoOf(CliktCommand).
|
|
1564
|
-
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').ec(this.
|
|
1563
|
+
protoOf(CliktCommand).l3y = function (context) {
|
|
1564
|
+
var tmp0_safe_receiver = Regex_init_$Create$('\\s*(?:```)?\\s*(.+)').ec(this.y3x(context));
|
|
1565
1565
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.pc();
|
|
1566
1566
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k(1);
|
|
1567
1567
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.oc_1;
|
|
1568
1568
|
return tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
1569
1569
|
};
|
|
1570
|
-
protoOf(CliktCommand).
|
|
1570
|
+
protoOf(CliktCommand).n3y = function (option) {
|
|
1571
1571
|
var names = registeredOptionNames(this);
|
|
1572
|
-
var tmp0_iterator = option.
|
|
1572
|
+
var tmp0_iterator = option.q3w().g();
|
|
1573
1573
|
while (tmp0_iterator.h()) {
|
|
1574
1574
|
var name = tmp0_iterator.i();
|
|
1575
1575
|
// Inline function 'kotlin.require' call
|
|
@@ -1579,8 +1579,8 @@ protoOf(CliktCommand).o3y = function (option) {
|
|
|
1579
1579
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
|
-
if (option.
|
|
1583
|
-
var tmp1 = this.
|
|
1582
|
+
if (option.o3y()) {
|
|
1583
|
+
var tmp1 = this.j3w_1;
|
|
1584
1584
|
var tmp$ret$1;
|
|
1585
1585
|
$l$block_0: {
|
|
1586
1586
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -1598,7 +1598,7 @@ protoOf(CliktCommand).o3y = function (option) {
|
|
|
1598
1598
|
while (_iterator__ex2g4s.h()) {
|
|
1599
1599
|
var element = _iterator__ex2g4s.i();
|
|
1600
1600
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerOption.<anonymous>' call
|
|
1601
|
-
if (element.
|
|
1601
|
+
if (element.o3y()) {
|
|
1602
1602
|
tmp$ret$1 = false;
|
|
1603
1603
|
break $l$block_0;
|
|
1604
1604
|
}
|
|
@@ -1613,17 +1613,17 @@ protoOf(CliktCommand).o3y = function (option) {
|
|
|
1613
1613
|
}
|
|
1614
1614
|
}
|
|
1615
1615
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1616
|
-
this.
|
|
1616
|
+
this.j3w_1.e(option);
|
|
1617
1617
|
};
|
|
1618
|
-
protoOf(CliktCommand).
|
|
1619
|
-
return this.
|
|
1618
|
+
protoOf(CliktCommand).p3y = function (option) {
|
|
1619
|
+
return this.n3y(isInterface(option, Option_0) ? option : THROW_CCE());
|
|
1620
1620
|
};
|
|
1621
|
-
protoOf(CliktCommand).
|
|
1621
|
+
protoOf(CliktCommand).q3y = function (argument) {
|
|
1622
1622
|
var tmp;
|
|
1623
|
-
if (argument.
|
|
1623
|
+
if (argument.q3x() > 0) {
|
|
1624
1624
|
tmp = true;
|
|
1625
1625
|
} else {
|
|
1626
|
-
var tmp0 = this.
|
|
1626
|
+
var tmp0 = this.k3w_1;
|
|
1627
1627
|
var tmp$ret$0;
|
|
1628
1628
|
$l$block_0: {
|
|
1629
1629
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -1641,7 +1641,7 @@ protoOf(CliktCommand).r3y = function (argument) {
|
|
|
1641
1641
|
while (_iterator__ex2g4s.h()) {
|
|
1642
1642
|
var element = _iterator__ex2g4s.i();
|
|
1643
1643
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.registerArgument.<anonymous>' call
|
|
1644
|
-
if (element.
|
|
1644
|
+
if (element.q3x() < 0) {
|
|
1645
1645
|
tmp$ret$0 = false;
|
|
1646
1646
|
break $l$block_0;
|
|
1647
1647
|
}
|
|
@@ -1657,9 +1657,9 @@ protoOf(CliktCommand).r3y = function (argument) {
|
|
|
1657
1657
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1658
1658
|
}
|
|
1659
1659
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
1660
|
-
this.
|
|
1660
|
+
this.k3w_1.e(argument);
|
|
1661
1661
|
};
|
|
1662
|
-
protoOf(CliktCommand).
|
|
1662
|
+
protoOf(CliktCommand).r3y = function (error) {
|
|
1663
1663
|
var tmp;
|
|
1664
1664
|
if (!(error == null)) {
|
|
1665
1665
|
tmp = !(!(error == null) ? isInterface(error, ContextCliktError) : false);
|
|
@@ -1671,91 +1671,91 @@ protoOf(CliktCommand).s3y = function (error) {
|
|
|
1671
1671
|
}
|
|
1672
1672
|
var tmp0_safe_receiver = (!(error == null) ? isInterface(error, ContextCliktError) : false) ? error : null;
|
|
1673
1673
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a9();
|
|
1674
|
-
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.
|
|
1674
|
+
var tmp2_elvis_lhs = tmp1_elvis_lhs == null ? this.n3w_1 : tmp1_elvis_lhs;
|
|
1675
1675
|
var ctx = tmp2_elvis_lhs == null ? createContext(this, emptyList(), null, emptyList()) : tmp2_elvis_lhs;
|
|
1676
|
-
var cmd = ctx.
|
|
1676
|
+
var cmd = ctx.t3w_1;
|
|
1677
1677
|
var programName = getCommandNameWithParents(cmd);
|
|
1678
|
-
var tmp_0 = ctx.
|
|
1679
|
-
return tmp_0.
|
|
1678
|
+
var tmp_0 = ctx.z3w_1(ctx);
|
|
1679
|
+
return tmp_0.s3y(error instanceof UsageError ? error : null, cmd.y3x(ctx), cmd.i3y(ctx), cmd.j3y(), programName);
|
|
1680
1680
|
};
|
|
1681
|
-
protoOf(CliktCommand).
|
|
1682
|
-
var msg = this.
|
|
1681
|
+
protoOf(CliktCommand).t3y = function (error) {
|
|
1682
|
+
var msg = this.r3y(error);
|
|
1683
1683
|
if (!(msg == null)) {
|
|
1684
|
-
var tmp1_elvis_lhs = error == null ? null : error.
|
|
1685
|
-
this.
|
|
1684
|
+
var tmp1_elvis_lhs = error == null ? null : error.v3y_1;
|
|
1685
|
+
this.w3y(msg, VOID, tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs);
|
|
1686
1686
|
}
|
|
1687
1687
|
};
|
|
1688
|
-
protoOf(CliktCommand).
|
|
1688
|
+
protoOf(CliktCommand).s3x = function () {
|
|
1689
1689
|
return emptyMap();
|
|
1690
1690
|
};
|
|
1691
|
-
protoOf(CliktCommand).
|
|
1691
|
+
protoOf(CliktCommand).x3y = function (message, trailingNewline, err) {
|
|
1692
1692
|
if (trailingNewline) {
|
|
1693
|
-
this.
|
|
1693
|
+
this.p3w().b3x_1.i3t(message, VOID, VOID, VOID, VOID, err);
|
|
1694
1694
|
} else {
|
|
1695
|
-
this.
|
|
1695
|
+
this.p3w().b3x_1.h3t(message, VOID, VOID, VOID, VOID, err);
|
|
1696
1696
|
}
|
|
1697
1697
|
};
|
|
1698
|
-
protoOf(CliktCommand).
|
|
1698
|
+
protoOf(CliktCommand).w3y = function (message, trailingNewline, err, $super) {
|
|
1699
1699
|
trailingNewline = trailingNewline === VOID ? true : trailingNewline;
|
|
1700
1700
|
err = err === VOID ? false : err;
|
|
1701
1701
|
var tmp;
|
|
1702
1702
|
if ($super === VOID) {
|
|
1703
|
-
this.
|
|
1703
|
+
this.x3y(message, trailingNewline, err);
|
|
1704
1704
|
tmp = Unit_instance;
|
|
1705
1705
|
} else {
|
|
1706
|
-
tmp = $super.
|
|
1706
|
+
tmp = $super.x3y.call(this, message, trailingNewline, err);
|
|
1707
1707
|
}
|
|
1708
1708
|
return tmp;
|
|
1709
1709
|
};
|
|
1710
|
-
protoOf(CliktCommand).
|
|
1710
|
+
protoOf(CliktCommand).y3y = function (argv, parentContext) {
|
|
1711
1711
|
createContext(this, argv, parentContext, emptyList());
|
|
1712
1712
|
generateCompletion(this);
|
|
1713
|
-
Parser_instance.
|
|
1713
|
+
Parser_instance.z3y(argv, this.p3w());
|
|
1714
1714
|
};
|
|
1715
|
-
protoOf(CliktCommand).
|
|
1715
|
+
protoOf(CliktCommand).a3z = function (argv, parentContext, $super) {
|
|
1716
1716
|
parentContext = parentContext === VOID ? null : parentContext;
|
|
1717
1717
|
var tmp;
|
|
1718
1718
|
if ($super === VOID) {
|
|
1719
|
-
this.
|
|
1719
|
+
this.y3y(argv, parentContext);
|
|
1720
1720
|
tmp = Unit_instance;
|
|
1721
1721
|
} else {
|
|
1722
|
-
tmp = $super.
|
|
1722
|
+
tmp = $super.y3y.call(this, argv, parentContext);
|
|
1723
1723
|
}
|
|
1724
1724
|
return tmp;
|
|
1725
1725
|
};
|
|
1726
|
-
protoOf(CliktCommand).
|
|
1726
|
+
protoOf(CliktCommand).b3z = function (argv) {
|
|
1727
1727
|
try {
|
|
1728
|
-
this.
|
|
1728
|
+
this.a3z(argv);
|
|
1729
1729
|
} catch ($p) {
|
|
1730
1730
|
if ($p instanceof CliktError) {
|
|
1731
1731
|
var e = $p;
|
|
1732
|
-
this.
|
|
1733
|
-
exitProcessMpp(e.
|
|
1732
|
+
this.t3y(e);
|
|
1733
|
+
exitProcessMpp(e.u3y_1);
|
|
1734
1734
|
} else {
|
|
1735
1735
|
throw $p;
|
|
1736
1736
|
}
|
|
1737
1737
|
}
|
|
1738
1738
|
};
|
|
1739
|
-
protoOf(CliktCommand).
|
|
1740
|
-
return this.
|
|
1739
|
+
protoOf(CliktCommand).c3z = function (argv) {
|
|
1740
|
+
return this.b3z(asList(argv));
|
|
1741
1741
|
};
|
|
1742
1742
|
protoOf(CliktCommand).toString = function () {
|
|
1743
1743
|
// Inline function 'kotlin.text.buildString' call
|
|
1744
1744
|
// Inline function 'kotlin.apply' call
|
|
1745
1745
|
var this_0 = StringBuilder_init_$Create$();
|
|
1746
1746
|
// Inline function 'com.github.ajalt.clikt.core.CliktCommand.toString.<anonymous>' call
|
|
1747
|
-
this_0.b8('<' + classSimpleName(this) + ' name=' + this.
|
|
1747
|
+
this_0.b8('<' + classSimpleName(this) + ' name=' + this.f3w_1);
|
|
1748
1748
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1749
|
-
if (!this.
|
|
1750
|
-
joinTo(this.
|
|
1749
|
+
if (!this.j3w_1.l()) {
|
|
1750
|
+
joinTo(this.j3w_1, this_0, VOID, ' options=[', ']');
|
|
1751
1751
|
}
|
|
1752
1752
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1753
|
-
if (!this.
|
|
1754
|
-
joinTo(this.
|
|
1753
|
+
if (!this.k3w_1.l()) {
|
|
1754
|
+
joinTo(this.k3w_1, this_0, VOID, ' arguments=[', ']');
|
|
1755
1755
|
}
|
|
1756
1756
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1757
|
-
if (!this.
|
|
1758
|
-
joinTo(this.
|
|
1757
|
+
if (!this.i3w_1.l()) {
|
|
1758
|
+
joinTo(this.i3w_1, this_0, VOID, ' subcommands=[', ']');
|
|
1759
1759
|
}
|
|
1760
1760
|
this_0.b8('>');
|
|
1761
1761
|
return this_0.toString();
|
|
@@ -1786,7 +1786,7 @@ function inferCommandName(_this__u8e3s4) {
|
|
|
1786
1786
|
return lowerUpperRegex.ic(nameWithoutSuffixes, transform).toLowerCase();
|
|
1787
1787
|
}
|
|
1788
1788
|
function get_terminal(_this__u8e3s4) {
|
|
1789
|
-
return _this__u8e3s4.
|
|
1789
|
+
return _this__u8e3s4.p3w().b3x_1;
|
|
1790
1790
|
}
|
|
1791
1791
|
function classSimpleName(_this__u8e3s4) {
|
|
1792
1792
|
// Inline function 'kotlin.text.orEmpty' call
|
|
@@ -1797,7 +1797,7 @@ function classSimpleName(_this__u8e3s4) {
|
|
|
1797
1797
|
function subcommands(_this__u8e3s4, commands) {
|
|
1798
1798
|
// Inline function 'kotlin.apply' call
|
|
1799
1799
|
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1800
|
-
_this__u8e3s4.
|
|
1800
|
+
_this__u8e3s4.i3w_1 = plus_2(_this__u8e3s4.i3w_1, commands);
|
|
1801
1801
|
return _this__u8e3s4;
|
|
1802
1802
|
}
|
|
1803
1803
|
function inferCommandName$lambda(it) {
|
|
@@ -1823,36 +1823,36 @@ function Context$Companion$build$lambda(it) {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
function Builder(command, parent) {
|
|
1825
1825
|
parent = parent === VOID ? null : parent;
|
|
1826
|
-
this.
|
|
1826
|
+
this.e3z_1 = parent;
|
|
1827
1827
|
var tmp = this;
|
|
1828
|
-
var tmp0_safe_receiver = this.
|
|
1829
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1830
|
-
tmp.
|
|
1831
|
-
this.
|
|
1828
|
+
var tmp0_safe_receiver = this.e3z_1;
|
|
1829
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u3w_1;
|
|
1830
|
+
tmp.f3z_1 = tmp1_elvis_lhs == null ? true : tmp1_elvis_lhs;
|
|
1831
|
+
this.g3z_1 = true;
|
|
1832
1832
|
var tmp_0 = this;
|
|
1833
|
-
var tmp0_safe_receiver_0 = this.
|
|
1834
|
-
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
1835
|
-
tmp_0.
|
|
1833
|
+
var tmp0_safe_receiver_0 = this.e3z_1;
|
|
1834
|
+
var tmp1_elvis_lhs_0 = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.x3w_1;
|
|
1835
|
+
tmp_0.h3z_1 = tmp1_elvis_lhs_0 == null ? true : tmp1_elvis_lhs_0;
|
|
1836
1836
|
var tmp_1 = this;
|
|
1837
|
-
var tmp0_safe_receiver_1 = this.
|
|
1838
|
-
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.
|
|
1839
|
-
tmp_1.
|
|
1837
|
+
var tmp0_safe_receiver_1 = this.e3z_1;
|
|
1838
|
+
var tmp1_elvis_lhs_1 = tmp0_safe_receiver_1 == null ? null : tmp0_safe_receiver_1.y3w_1;
|
|
1839
|
+
tmp_1.i3z_1 = tmp1_elvis_lhs_1 == null ? setOf(['-h', '--help']) : tmp1_elvis_lhs_1;
|
|
1840
1840
|
var tmp_2 = this;
|
|
1841
|
-
var tmp0_safe_receiver_2 = this.
|
|
1842
|
-
tmp_2.
|
|
1841
|
+
var tmp0_safe_receiver_2 = this.e3z_1;
|
|
1842
|
+
tmp_2.j3z_1 = tmp0_safe_receiver_2 == null ? null : tmp0_safe_receiver_2.z3w_1;
|
|
1843
1843
|
var tmp_3 = this;
|
|
1844
|
-
var tmp0_safe_receiver_3 = this.
|
|
1845
|
-
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.
|
|
1844
|
+
var tmp0_safe_receiver_3 = this.e3z_1;
|
|
1845
|
+
var tmp1_elvis_lhs_2 = tmp0_safe_receiver_3 == null ? null : tmp0_safe_receiver_3.a3x_1;
|
|
1846
1846
|
var tmp_4;
|
|
1847
1847
|
if (tmp1_elvis_lhs_2 == null) {
|
|
1848
1848
|
tmp_4 = Context$Builder$tokenTransformer$lambda;
|
|
1849
1849
|
} else {
|
|
1850
1850
|
tmp_4 = tmp1_elvis_lhs_2;
|
|
1851
1851
|
}
|
|
1852
|
-
tmp_3.
|
|
1852
|
+
tmp_3.k3z_1 = tmp_4;
|
|
1853
1853
|
var tmp_5 = this;
|
|
1854
|
-
var tmp0_safe_receiver_4 = this.
|
|
1855
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.
|
|
1854
|
+
var tmp0_safe_receiver_4 = this.e3z_1;
|
|
1855
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_4 == null ? null : tmp0_safe_receiver_4.w3w_1;
|
|
1856
1856
|
var tmp_6;
|
|
1857
1857
|
if (tmp1_safe_receiver == null) {
|
|
1858
1858
|
tmp_6 = null;
|
|
@@ -1860,56 +1860,56 @@ function Builder(command, parent) {
|
|
|
1860
1860
|
// Inline function 'kotlin.let' call
|
|
1861
1861
|
// Inline function 'com.github.ajalt.clikt.core.Builder.autoEnvvarPrefix.<anonymous>' call
|
|
1862
1862
|
var tmp_7 = tmp1_safe_receiver + '_';
|
|
1863
|
-
var tmp0 = command.
|
|
1863
|
+
var tmp0 = command.f3w_1;
|
|
1864
1864
|
// Inline function 'kotlin.text.replace' call
|
|
1865
1865
|
// Inline function 'kotlin.text.uppercase' call
|
|
1866
1866
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1867
1867
|
tmp_6 = tmp_7 + Regex_init_$Create$('\\W').hc(tmp0, '_').toUpperCase();
|
|
1868
1868
|
}
|
|
1869
|
-
tmp_5.
|
|
1869
|
+
tmp_5.l3z_1 = tmp_6;
|
|
1870
1870
|
var tmp_8 = this;
|
|
1871
|
-
var tmp0_safe_receiver_5 = this.
|
|
1872
|
-
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.
|
|
1873
|
-
tmp_8.
|
|
1874
|
-
this.
|
|
1871
|
+
var tmp0_safe_receiver_5 = this.e3z_1;
|
|
1872
|
+
var tmp1_elvis_lhs_3 = tmp0_safe_receiver_5 == null ? null : tmp0_safe_receiver_5.b3x_1;
|
|
1873
|
+
tmp_8.m3z_1 = tmp1_elvis_lhs_3 == null ? Terminal_init_$Create$() : tmp1_elvis_lhs_3;
|
|
1874
|
+
this.n3z_1 = get_defaultArgFileReader();
|
|
1875
1875
|
var tmp_9 = this;
|
|
1876
|
-
var tmp0_safe_receiver_6 = this.
|
|
1877
|
-
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.
|
|
1878
|
-
tmp_9.
|
|
1876
|
+
var tmp0_safe_receiver_6 = this.e3z_1;
|
|
1877
|
+
var tmp1_elvis_lhs_4 = tmp0_safe_receiver_6 == null ? null : tmp0_safe_receiver_6.d3x_1;
|
|
1878
|
+
tmp_9.o3z_1 = tmp1_elvis_lhs_4 == null ? true : tmp1_elvis_lhs_4;
|
|
1879
1879
|
var tmp_10 = this;
|
|
1880
|
-
var tmp0_safe_receiver_7 = this.
|
|
1881
|
-
tmp_10.
|
|
1882
|
-
this.
|
|
1883
|
-
this.
|
|
1880
|
+
var tmp0_safe_receiver_7 = this.e3z_1;
|
|
1881
|
+
tmp_10.p3z_1 = tmp0_safe_receiver_7 == null ? null : tmp0_safe_receiver_7.e3x_1;
|
|
1882
|
+
this.q3z_1 = get_DEFAULT_CORRECTION_SUGGESTOR();
|
|
1883
|
+
this.r3z_1 = get_defaultLocalization();
|
|
1884
1884
|
var tmp_11 = this;
|
|
1885
|
-
var tmp0_safe_receiver_8 = this.
|
|
1886
|
-
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.
|
|
1885
|
+
var tmp0_safe_receiver_8 = this.e3z_1;
|
|
1886
|
+
var tmp1_elvis_lhs_5 = tmp0_safe_receiver_8 == null ? null : tmp0_safe_receiver_8.h3x_1;
|
|
1887
1887
|
var tmp_12;
|
|
1888
1888
|
if (tmp1_elvis_lhs_5 == null) {
|
|
1889
1889
|
tmp_12 = readEnvvar$ref();
|
|
1890
1890
|
} else {
|
|
1891
1891
|
tmp_12 = tmp1_elvis_lhs_5;
|
|
1892
1892
|
}
|
|
1893
|
-
tmp_11.
|
|
1893
|
+
tmp_11.s3z_1 = tmp_12;
|
|
1894
1894
|
var tmp_13 = this;
|
|
1895
|
-
var tmp0_safe_receiver_9 = this.
|
|
1896
|
-
tmp_13.
|
|
1895
|
+
var tmp0_safe_receiver_9 = this.e3z_1;
|
|
1896
|
+
tmp_13.t3z_1 = tmp0_safe_receiver_9 == null ? null : tmp0_safe_receiver_9.i3x_1;
|
|
1897
1897
|
}
|
|
1898
1898
|
function Companion() {
|
|
1899
1899
|
}
|
|
1900
|
-
protoOf(Companion).
|
|
1900
|
+
protoOf(Companion).b3y = function (command, parent, argv, block) {
|
|
1901
1901
|
// Inline function 'kotlin.with' call
|
|
1902
1902
|
var $this$with = new Builder(command, parent);
|
|
1903
1903
|
block($this$with);
|
|
1904
1904
|
var tmp;
|
|
1905
|
-
if ($this$with.
|
|
1905
|
+
if ($this$with.f3z_1 && !command.c3w_1) {
|
|
1906
1906
|
var tmp_0;
|
|
1907
1907
|
if (parent == null) {
|
|
1908
1908
|
tmp_0 = null;
|
|
1909
1909
|
} else {
|
|
1910
1910
|
// Inline function 'kotlin.let' call
|
|
1911
1911
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>' call
|
|
1912
|
-
var tmp0 = parent.
|
|
1912
|
+
var tmp0 = parent.u3z();
|
|
1913
1913
|
var tmp$ret$1;
|
|
1914
1914
|
$l$block: {
|
|
1915
1915
|
// Inline function 'kotlin.sequences.any' call
|
|
@@ -1917,7 +1917,7 @@ protoOf(Companion).c3y = function (command, parent, argv, block) {
|
|
|
1917
1917
|
while (_iterator__ex2g4s.h()) {
|
|
1918
1918
|
var element = _iterator__ex2g4s.i();
|
|
1919
1919
|
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
1920
|
-
if (element.
|
|
1920
|
+
if (element.t3w_1.c3w_1) {
|
|
1921
1921
|
tmp$ret$1 = true;
|
|
1922
1922
|
break $l$block;
|
|
1923
1923
|
}
|
|
@@ -1931,7 +1931,7 @@ protoOf(Companion).c3y = function (command, parent, argv, block) {
|
|
|
1931
1931
|
tmp = false;
|
|
1932
1932
|
}
|
|
1933
1933
|
var interspersed = tmp;
|
|
1934
|
-
var tmp1_elvis_lhs = $this$with.
|
|
1934
|
+
var tmp1_elvis_lhs = $this$with.j3z_1;
|
|
1935
1935
|
var tmp_1;
|
|
1936
1936
|
if (tmp1_elvis_lhs == null) {
|
|
1937
1937
|
tmp_1 = Context$Companion$build$lambda;
|
|
@@ -1939,56 +1939,56 @@ protoOf(Companion).c3y = function (command, parent, argv, block) {
|
|
|
1939
1939
|
tmp_1 = tmp1_elvis_lhs;
|
|
1940
1940
|
}
|
|
1941
1941
|
var formatter = tmp_1;
|
|
1942
|
-
return new Context(parent, command, interspersed, $this$with.
|
|
1942
|
+
return new Context(parent, command, interspersed, $this$with.g3z_1, $this$with.l3z_1, $this$with.h3z_1, toSet($this$with.i3z_1), formatter, $this$with.k3z_1, $this$with.m3z_1, $this$with.n3z_1, $this$with.o3z_1, $this$with.p3z_1, $this$with.q3z_1, $this$with.r3z_1, $this$with.s3z_1, $this$with.t3z_1, argv);
|
|
1943
1943
|
};
|
|
1944
1944
|
var Companion_instance_0;
|
|
1945
1945
|
function Companion_getInstance() {
|
|
1946
1946
|
return Companion_instance_0;
|
|
1947
1947
|
}
|
|
1948
1948
|
function Context$parentNames$lambda(it) {
|
|
1949
|
-
return it.
|
|
1949
|
+
return it.t3w_1.f3w_1;
|
|
1950
1950
|
}
|
|
1951
1951
|
function Context$ancestors$lambda(it) {
|
|
1952
|
-
return it.
|
|
1952
|
+
return it.s3w_1;
|
|
1953
1953
|
}
|
|
1954
1954
|
function Context$selfAndAncestors$lambda(it) {
|
|
1955
|
-
return it.
|
|
1955
|
+
return it.s3w_1;
|
|
1956
1956
|
}
|
|
1957
1957
|
function Context(parent, command, allowInterspersedArgs, allowGroupedShortOptions, autoEnvvarPrefix, printExtraMessages, helpOptionNames, helpFormatter, tokenTransformer, terminal, argumentFileReader, readEnvvarBeforeValueSource, valueSource, correctionSuggestor, localization, readEnvvar, obj, originalArgv) {
|
|
1958
|
-
this.
|
|
1959
|
-
this.
|
|
1960
|
-
this.
|
|
1961
|
-
this.
|
|
1962
|
-
this.
|
|
1963
|
-
this.
|
|
1964
|
-
this.
|
|
1965
|
-
this.
|
|
1966
|
-
this.
|
|
1967
|
-
this.
|
|
1968
|
-
this.
|
|
1969
|
-
this.
|
|
1970
|
-
this.
|
|
1971
|
-
this.
|
|
1972
|
-
this.
|
|
1973
|
-
this.
|
|
1974
|
-
this.
|
|
1975
|
-
this.
|
|
1976
|
-
this.
|
|
1977
|
-
this.
|
|
1958
|
+
this.s3w_1 = parent;
|
|
1959
|
+
this.t3w_1 = command;
|
|
1960
|
+
this.u3w_1 = allowInterspersedArgs;
|
|
1961
|
+
this.v3w_1 = allowGroupedShortOptions;
|
|
1962
|
+
this.w3w_1 = autoEnvvarPrefix;
|
|
1963
|
+
this.x3w_1 = printExtraMessages;
|
|
1964
|
+
this.y3w_1 = helpOptionNames;
|
|
1965
|
+
this.z3w_1 = helpFormatter;
|
|
1966
|
+
this.a3x_1 = tokenTransformer;
|
|
1967
|
+
this.b3x_1 = terminal;
|
|
1968
|
+
this.c3x_1 = argumentFileReader;
|
|
1969
|
+
this.d3x_1 = readEnvvarBeforeValueSource;
|
|
1970
|
+
this.e3x_1 = valueSource;
|
|
1971
|
+
this.f3x_1 = correctionSuggestor;
|
|
1972
|
+
this.g3x_1 = localization;
|
|
1973
|
+
this.h3x_1 = readEnvvar;
|
|
1974
|
+
this.i3x_1 = obj;
|
|
1975
|
+
this.j3x_1 = originalArgv;
|
|
1976
|
+
this.k3x_1 = null;
|
|
1977
|
+
this.l3x_1 = false;
|
|
1978
1978
|
var tmp = this;
|
|
1979
1979
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
1980
|
-
tmp.
|
|
1980
|
+
tmp.m3x_1 = ArrayList_init_$Create$();
|
|
1981
1981
|
}
|
|
1982
|
-
protoOf(Context).
|
|
1983
|
-
var tmp = this.
|
|
1982
|
+
protoOf(Context).w3x = function () {
|
|
1983
|
+
var tmp = this.c3y();
|
|
1984
1984
|
return asReversed(toList(map(tmp, Context$parentNames$lambda)));
|
|
1985
1985
|
};
|
|
1986
|
-
protoOf(Context).
|
|
1987
|
-
return plus_1(this.
|
|
1986
|
+
protoOf(Context).x3x = function () {
|
|
1987
|
+
return plus_1(this.w3x(), this.t3w_1.f3w_1);
|
|
1988
1988
|
};
|
|
1989
|
-
protoOf(Context).
|
|
1989
|
+
protoOf(Context).v3z = function () {
|
|
1990
1990
|
var err = null;
|
|
1991
|
-
var tmp0_iterator = asReversed_0(this.
|
|
1991
|
+
var tmp0_iterator = asReversed_0(this.m3x_1).g();
|
|
1992
1992
|
while (tmp0_iterator.h()) {
|
|
1993
1993
|
var c = tmp0_iterator.i();
|
|
1994
1994
|
try {
|
|
@@ -2006,18 +2006,18 @@ protoOf(Context).w3z = function () {
|
|
|
2006
2006
|
}
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
|
-
this.
|
|
2009
|
+
this.m3x_1.i2();
|
|
2010
2010
|
if (!(err == null))
|
|
2011
2011
|
throw err;
|
|
2012
2012
|
};
|
|
2013
|
-
protoOf(Context).
|
|
2014
|
-
return generateSequence(this.
|
|
2013
|
+
protoOf(Context).c3y = function () {
|
|
2014
|
+
return generateSequence(this.s3w_1, Context$ancestors$lambda);
|
|
2015
2015
|
};
|
|
2016
|
-
protoOf(Context).
|
|
2016
|
+
protoOf(Context).u3z = function () {
|
|
2017
2017
|
return generateSequence(this, Context$selfAndAncestors$lambda);
|
|
2018
2018
|
};
|
|
2019
|
-
protoOf(Context).
|
|
2020
|
-
return !(this.
|
|
2019
|
+
protoOf(Context).w3z = function () {
|
|
2020
|
+
return !(this.c3x_1 == null);
|
|
2021
2021
|
};
|
|
2022
2022
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
2023
2023
|
_init_properties_Context_kt__u684jh();
|
|
@@ -2060,16 +2060,16 @@ function DEFAULT_CORRECTION_SUGGESTOR$lambda(enteredValue, possibleValues) {
|
|
|
2060
2060
|
return destination_1;
|
|
2061
2061
|
}
|
|
2062
2062
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2063
|
-
this.
|
|
2063
|
+
this.x3z_1 = function_0;
|
|
2064
2064
|
}
|
|
2065
2065
|
protoOf(sam$kotlin_Comparator$0).dd = function (a, b) {
|
|
2066
|
-
return this.
|
|
2066
|
+
return this.x3z_1(a, b);
|
|
2067
2067
|
};
|
|
2068
2068
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2069
2069
|
return this.dd(a, b);
|
|
2070
2070
|
};
|
|
2071
2071
|
protoOf(sam$kotlin_Comparator$0).p3 = function () {
|
|
2072
|
-
return this.
|
|
2072
|
+
return this.x3z_1;
|
|
2073
2073
|
};
|
|
2074
2074
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2075
2075
|
var tmp;
|
|
@@ -2191,7 +2191,7 @@ function NoOpCliktCommand(help, epilog, name, invokeWithoutSubcommand, printHelp
|
|
|
2191
2191
|
hidden = hidden === VOID ? false : hidden;
|
|
2192
2192
|
CliktCommand.call(this, help, epilog, name, invokeWithoutSubcommand, printHelpOnEmptyArgs, helpTags, autoCompleteEnvvar, allowMultipleSubcommands, hidden);
|
|
2193
2193
|
}
|
|
2194
|
-
protoOf(NoOpCliktCommand).
|
|
2194
|
+
protoOf(NoOpCliktCommand).d3z = function () {
|
|
2195
2195
|
return Unit_instance;
|
|
2196
2196
|
};
|
|
2197
2197
|
function StaticallyGroupedOption() {
|
|
@@ -2203,10 +2203,10 @@ function ParameterHolder() {
|
|
|
2203
2203
|
function FileNotFound(filename) {
|
|
2204
2204
|
UsageError.call(this, null);
|
|
2205
2205
|
captureStack(this, FileNotFound);
|
|
2206
|
-
this.
|
|
2206
|
+
this.a41_1 = filename;
|
|
2207
2207
|
}
|
|
2208
|
-
protoOf(FileNotFound).
|
|
2209
|
-
return localization.
|
|
2208
|
+
protoOf(FileNotFound).b41 = function (localization, formatter) {
|
|
2209
|
+
return localization.c41(this.a41_1);
|
|
2210
2210
|
};
|
|
2211
2211
|
function UsageError_init_$Init$(message, argument, statusCode, $this) {
|
|
2212
2212
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
@@ -2233,18 +2233,18 @@ function UsageError(message, paramName, statusCode) {
|
|
|
2233
2233
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
2234
2234
|
CliktError.call(this, message, VOID, statusCode);
|
|
2235
2235
|
captureStack(this, UsageError);
|
|
2236
|
-
this.
|
|
2237
|
-
this.
|
|
2236
|
+
this.f41_1 = paramName;
|
|
2237
|
+
this.g41_1 = null;
|
|
2238
2238
|
}
|
|
2239
|
-
protoOf(UsageError).
|
|
2239
|
+
protoOf(UsageError).b41 = function (localization, formatter) {
|
|
2240
2240
|
var tmp0_elvis_lhs = this.message;
|
|
2241
2241
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2242
2242
|
};
|
|
2243
|
-
protoOf(UsageError).
|
|
2244
|
-
this.
|
|
2243
|
+
protoOf(UsageError).h41 = function (_set____db54di) {
|
|
2244
|
+
this.g41_1 = _set____db54di;
|
|
2245
2245
|
};
|
|
2246
2246
|
protoOf(UsageError).a9 = function () {
|
|
2247
|
-
return this.
|
|
2247
|
+
return this.g41_1;
|
|
2248
2248
|
};
|
|
2249
2249
|
function CliktError(message, cause, statusCode, printError) {
|
|
2250
2250
|
message = message === VOID ? null : message;
|
|
@@ -2253,8 +2253,8 @@ function CliktError(message, cause, statusCode, printError) {
|
|
|
2253
2253
|
printError = printError === VOID ? true : printError;
|
|
2254
2254
|
RuntimeException_init_$Init$(message, cause, this);
|
|
2255
2255
|
captureStack(this, CliktError);
|
|
2256
|
-
this.
|
|
2257
|
-
this.
|
|
2256
|
+
this.u3y_1 = statusCode;
|
|
2257
|
+
this.v3y_1 = printError;
|
|
2258
2258
|
}
|
|
2259
2259
|
function ContextCliktError() {
|
|
2260
2260
|
}
|
|
@@ -2263,15 +2263,15 @@ function PrintHelpMessage(context, error, statusCode) {
|
|
|
2263
2263
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
2264
2264
|
CliktError.call(this, VOID, VOID, statusCode, false);
|
|
2265
2265
|
captureStack(this, PrintHelpMessage);
|
|
2266
|
-
this.
|
|
2267
|
-
this.
|
|
2266
|
+
this.k41_1 = context;
|
|
2267
|
+
this.l41_1 = error;
|
|
2268
2268
|
}
|
|
2269
2269
|
protoOf(PrintHelpMessage).a9 = function () {
|
|
2270
|
-
return this.
|
|
2270
|
+
return this.k41_1;
|
|
2271
2271
|
};
|
|
2272
2272
|
function Companion_0() {
|
|
2273
2273
|
}
|
|
2274
|
-
protoOf(Companion_0).
|
|
2274
|
+
protoOf(Companion_0).m41 = function (errors) {
|
|
2275
2275
|
var tmp;
|
|
2276
2276
|
switch (errors.j()) {
|
|
2277
2277
|
case 0:
|
|
@@ -2291,7 +2291,7 @@ protoOf(Companion_0).n41 = function (errors) {
|
|
|
2291
2291
|
var element = _iterator__ex2g4s.i();
|
|
2292
2292
|
// Inline function 'com.github.ajalt.clikt.core.Companion.buildOrNull.<anonymous>' call
|
|
2293
2293
|
var tmp0_safe_receiver = element instanceof MultiUsageError ? element : null;
|
|
2294
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2294
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r41_1;
|
|
2295
2295
|
var list = tmp1_elvis_lhs == null ? listOf_0(element) : tmp1_elvis_lhs;
|
|
2296
2296
|
addAll(destination, list);
|
|
2297
2297
|
}
|
|
@@ -2307,16 +2307,16 @@ function Companion_getInstance_0() {
|
|
|
2307
2307
|
}
|
|
2308
2308
|
function MultiUsageError$formatMessage$lambda($localization, $formatter) {
|
|
2309
2309
|
return function (it) {
|
|
2310
|
-
return it.
|
|
2310
|
+
return it.b41($localization, $formatter);
|
|
2311
2311
|
};
|
|
2312
2312
|
}
|
|
2313
2313
|
function MultiUsageError(errors) {
|
|
2314
|
-
UsageError.call(this, null, VOID, first_0(errors).
|
|
2314
|
+
UsageError.call(this, null, VOID, first_0(errors).u3y_1);
|
|
2315
2315
|
captureStack(this, MultiUsageError);
|
|
2316
|
-
this.
|
|
2316
|
+
this.r41_1 = errors;
|
|
2317
2317
|
}
|
|
2318
|
-
protoOf(MultiUsageError).
|
|
2319
|
-
return joinToString(this.
|
|
2318
|
+
protoOf(MultiUsageError).b41 = function (localization, formatter) {
|
|
2319
|
+
return joinToString(this.r41_1, '\n', VOID, VOID, VOID, VOID, MultiUsageError$formatMessage$lambda(localization, formatter));
|
|
2320
2320
|
};
|
|
2321
2321
|
var Kind_Argument_instance;
|
|
2322
2322
|
var Kind_Option_instance;
|
|
@@ -2334,7 +2334,7 @@ function Kind(name, ordinal) {
|
|
|
2334
2334
|
function BadParameterValue_init_$Init$(message, argument, $this) {
|
|
2335
2335
|
UsageError_init_$Init$(message, argument, VOID, $this);
|
|
2336
2336
|
BadParameterValue.call($this);
|
|
2337
|
-
$this.
|
|
2337
|
+
$this.w41_1 = Kind_Argument_getInstance();
|
|
2338
2338
|
return $this;
|
|
2339
2339
|
}
|
|
2340
2340
|
function BadParameterValue_init_$Create$(message, argument) {
|
|
@@ -2345,7 +2345,7 @@ function BadParameterValue_init_$Create$(message, argument) {
|
|
|
2345
2345
|
function BadParameterValue_init_$Init$_0(message, option, $this) {
|
|
2346
2346
|
UsageError_init_$Init$_0(message, option, VOID, $this);
|
|
2347
2347
|
BadParameterValue.call($this);
|
|
2348
|
-
$this.
|
|
2348
|
+
$this.w41_1 = Kind_Option_getInstance();
|
|
2349
2349
|
return $this;
|
|
2350
2350
|
}
|
|
2351
2351
|
function BadParameterValue_init_$Create$_0(message, option) {
|
|
@@ -2356,7 +2356,7 @@ function BadParameterValue_init_$Create$_0(message, option) {
|
|
|
2356
2356
|
function BadParameterValue_init_$Init$_1(message, option, name, $this) {
|
|
2357
2357
|
UsageError.call($this, message, name);
|
|
2358
2358
|
BadParameterValue.call($this);
|
|
2359
|
-
$this.
|
|
2359
|
+
$this.w41_1 = Kind_Option_getInstance();
|
|
2360
2360
|
return $this;
|
|
2361
2361
|
}
|
|
2362
2362
|
function BadParameterValue_init_$Create$_1(message, option, name) {
|
|
@@ -2372,7 +2372,7 @@ function Kind_Option_getInstance() {
|
|
|
2372
2372
|
Kind_initEntries();
|
|
2373
2373
|
return Kind_Option_instance;
|
|
2374
2374
|
}
|
|
2375
|
-
protoOf(BadParameterValue).
|
|
2375
|
+
protoOf(BadParameterValue).b41 = function (localization, formatter) {
|
|
2376
2376
|
// Inline function 'kotlin.takeUnless' call
|
|
2377
2377
|
var this_0 = this.message;
|
|
2378
2378
|
var tmp;
|
|
@@ -2384,7 +2384,7 @@ protoOf(BadParameterValue).c41 = function (localization, formatter) {
|
|
|
2384
2384
|
tmp = null;
|
|
2385
2385
|
}
|
|
2386
2386
|
var m = tmp;
|
|
2387
|
-
var tmp0_safe_receiver = this.
|
|
2387
|
+
var tmp0_safe_receiver = this.f41_1;
|
|
2388
2388
|
var tmp_0;
|
|
2389
2389
|
if (tmp0_safe_receiver == null) {
|
|
2390
2390
|
tmp_0 = null;
|
|
@@ -2407,14 +2407,14 @@ protoOf(BadParameterValue).c41 = function (localization, formatter) {
|
|
|
2407
2407
|
} else {
|
|
2408
2408
|
// Inline function 'kotlin.let' call
|
|
2409
2409
|
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2410
|
-
var tmp0_subject = this.
|
|
2410
|
+
var tmp0_subject = this.w41_1;
|
|
2411
2411
|
var tmp_3;
|
|
2412
2412
|
switch (tmp0_subject == null ? -1 : tmp0_subject.r2_1) {
|
|
2413
2413
|
case 0:
|
|
2414
|
-
tmp_3 = formatter.
|
|
2414
|
+
tmp_3 = formatter.x41(tmp1_safe_receiver);
|
|
2415
2415
|
break;
|
|
2416
2416
|
case 1:
|
|
2417
|
-
tmp_3 = formatter.
|
|
2417
|
+
tmp_3 = formatter.y41(tmp1_safe_receiver);
|
|
2418
2418
|
break;
|
|
2419
2419
|
case -1:
|
|
2420
2420
|
tmp_3 = tmp1_safe_receiver;
|
|
@@ -2428,13 +2428,13 @@ protoOf(BadParameterValue).c41 = function (localization, formatter) {
|
|
|
2428
2428
|
var p = tmp_2;
|
|
2429
2429
|
var tmp_4;
|
|
2430
2430
|
if (m == null && p == null) {
|
|
2431
|
-
tmp_4 = localization.
|
|
2431
|
+
tmp_4 = localization.c42();
|
|
2432
2432
|
} else if (m == null && !(p == null)) {
|
|
2433
|
-
tmp_4 = localization.
|
|
2433
|
+
tmp_4 = localization.b42(p);
|
|
2434
2434
|
} else if (!(m == null) && p == null) {
|
|
2435
|
-
tmp_4 = localization.
|
|
2435
|
+
tmp_4 = localization.a42(m);
|
|
2436
2436
|
} else if (!(m == null) && !(p == null)) {
|
|
2437
|
-
tmp_4 = localization.
|
|
2437
|
+
tmp_4 = localization.z41(p, m);
|
|
2438
2438
|
} else {
|
|
2439
2439
|
var message = 'impossible';
|
|
2440
2440
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
@@ -2452,66 +2452,66 @@ function NoSuchSubcommand(paramName, possibilities) {
|
|
|
2452
2452
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2453
2453
|
UsageError.call(this, null, paramName);
|
|
2454
2454
|
captureStack(this, NoSuchSubcommand);
|
|
2455
|
-
this.
|
|
2455
|
+
this.h42_1 = possibilities;
|
|
2456
2456
|
}
|
|
2457
|
-
protoOf(NoSuchSubcommand).
|
|
2458
|
-
var tmp0_safe_receiver = this.
|
|
2457
|
+
protoOf(NoSuchSubcommand).b41 = function (localization, formatter) {
|
|
2458
|
+
var tmp0_safe_receiver = this.f41_1;
|
|
2459
2459
|
var tmp;
|
|
2460
2460
|
if (tmp0_safe_receiver == null) {
|
|
2461
2461
|
tmp = null;
|
|
2462
2462
|
} else {
|
|
2463
2463
|
// Inline function 'kotlin.let' call
|
|
2464
2464
|
// Inline function 'com.github.ajalt.clikt.core.NoSuchSubcommand.formatMessage.stub_for_inlining' call
|
|
2465
|
-
tmp = formatter.
|
|
2465
|
+
tmp = formatter.i42(tmp0_safe_receiver);
|
|
2466
2466
|
}
|
|
2467
2467
|
var tmp1_elvis_lhs = tmp;
|
|
2468
2468
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2469
2469
|
// Inline function 'kotlin.collections.map' call
|
|
2470
|
-
var this_0 = this.
|
|
2470
|
+
var this_0 = this.h42_1;
|
|
2471
2471
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2472
2472
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2473
2473
|
var _iterator__ex2g4s = this_0.g();
|
|
2474
2474
|
while (_iterator__ex2g4s.h()) {
|
|
2475
2475
|
var item = _iterator__ex2g4s.i();
|
|
2476
2476
|
// Inline function 'com.github.ajalt.clikt.core.NoSuchSubcommand.formatMessage.stub_for_inlining' call
|
|
2477
|
-
var tmp$ret$2 = formatter.
|
|
2477
|
+
var tmp$ret$2 = formatter.i42(item);
|
|
2478
2478
|
destination.e(tmp$ret$2);
|
|
2479
2479
|
}
|
|
2480
|
-
return localization.
|
|
2480
|
+
return localization.j42(tmp_0, destination);
|
|
2481
2481
|
};
|
|
2482
2482
|
function NoSuchOption(paramName, possibilities) {
|
|
2483
2483
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
2484
2484
|
UsageError.call(this, null, paramName);
|
|
2485
2485
|
captureStack(this, NoSuchOption);
|
|
2486
|
-
this.
|
|
2486
|
+
this.o42_1 = possibilities;
|
|
2487
2487
|
}
|
|
2488
|
-
protoOf(NoSuchOption).
|
|
2489
|
-
var tmp0_safe_receiver = this.
|
|
2488
|
+
protoOf(NoSuchOption).b41 = function (localization, formatter) {
|
|
2489
|
+
var tmp0_safe_receiver = this.f41_1;
|
|
2490
2490
|
var tmp;
|
|
2491
2491
|
if (tmp0_safe_receiver == null) {
|
|
2492
2492
|
tmp = null;
|
|
2493
2493
|
} else {
|
|
2494
2494
|
// Inline function 'kotlin.let' call
|
|
2495
2495
|
// Inline function 'com.github.ajalt.clikt.core.NoSuchOption.formatMessage.stub_for_inlining' call
|
|
2496
|
-
tmp = formatter.
|
|
2496
|
+
tmp = formatter.y41(tmp0_safe_receiver);
|
|
2497
2497
|
}
|
|
2498
2498
|
var tmp1_elvis_lhs = tmp;
|
|
2499
2499
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
2500
2500
|
// Inline function 'kotlin.collections.map' call
|
|
2501
|
-
var this_0 = this.
|
|
2501
|
+
var this_0 = this.o42_1;
|
|
2502
2502
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2503
2503
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
2504
2504
|
var _iterator__ex2g4s = this_0.g();
|
|
2505
2505
|
while (_iterator__ex2g4s.h()) {
|
|
2506
2506
|
var item = _iterator__ex2g4s.i();
|
|
2507
2507
|
// Inline function 'com.github.ajalt.clikt.core.NoSuchOption.formatMessage.stub_for_inlining' call
|
|
2508
|
-
var tmp$ret$2 = formatter.
|
|
2508
|
+
var tmp$ret$2 = formatter.y41(item);
|
|
2509
2509
|
destination.e(tmp$ret$2);
|
|
2510
2510
|
}
|
|
2511
|
-
return localization.
|
|
2511
|
+
return localization.p42(tmp_0, destination);
|
|
2512
2512
|
};
|
|
2513
2513
|
function IncorrectOptionValueCount_init_$Init$(option, paramName, $this) {
|
|
2514
|
-
IncorrectOptionValueCount.call($this, option.
|
|
2514
|
+
IncorrectOptionValueCount.call($this, option.q3x().d1_1, paramName);
|
|
2515
2515
|
return $this;
|
|
2516
2516
|
}
|
|
2517
2517
|
function IncorrectOptionValueCount_init_$Create$(option, paramName) {
|
|
@@ -2522,40 +2522,40 @@ function IncorrectOptionValueCount_init_$Create$(option, paramName) {
|
|
|
2522
2522
|
function IncorrectOptionValueCount(minValues, paramName) {
|
|
2523
2523
|
UsageError.call(this, null, paramName);
|
|
2524
2524
|
captureStack(this, IncorrectOptionValueCount);
|
|
2525
|
-
this.
|
|
2525
|
+
this.u42_1 = minValues;
|
|
2526
2526
|
}
|
|
2527
|
-
protoOf(IncorrectOptionValueCount).
|
|
2528
|
-
var tmp0_safe_receiver = this.
|
|
2527
|
+
protoOf(IncorrectOptionValueCount).b41 = function (localization, formatter) {
|
|
2528
|
+
var tmp0_safe_receiver = this.f41_1;
|
|
2529
2529
|
var tmp;
|
|
2530
2530
|
if (tmp0_safe_receiver == null) {
|
|
2531
2531
|
tmp = null;
|
|
2532
2532
|
} else {
|
|
2533
2533
|
// Inline function 'kotlin.let' call
|
|
2534
2534
|
// Inline function 'com.github.ajalt.clikt.core.IncorrectOptionValueCount.formatMessage.stub_for_inlining' call
|
|
2535
|
-
tmp = formatter.
|
|
2535
|
+
tmp = formatter.y41(tmp0_safe_receiver);
|
|
2536
2536
|
}
|
|
2537
2537
|
var tmp1_elvis_lhs = tmp;
|
|
2538
|
-
return localization.
|
|
2538
|
+
return localization.v42(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.u42_1);
|
|
2539
2539
|
};
|
|
2540
2540
|
function MissingArgument(argument) {
|
|
2541
2541
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2542
2542
|
captureStack(this, MissingArgument);
|
|
2543
2543
|
}
|
|
2544
|
-
protoOf(MissingArgument).
|
|
2545
|
-
var tmp0_safe_receiver = this.
|
|
2544
|
+
protoOf(MissingArgument).b41 = function (localization, formatter) {
|
|
2545
|
+
var tmp0_safe_receiver = this.f41_1;
|
|
2546
2546
|
var tmp;
|
|
2547
2547
|
if (tmp0_safe_receiver == null) {
|
|
2548
2548
|
tmp = null;
|
|
2549
2549
|
} else {
|
|
2550
2550
|
// Inline function 'kotlin.let' call
|
|
2551
2551
|
// Inline function 'com.github.ajalt.clikt.core.MissingArgument.formatMessage.stub_for_inlining' call
|
|
2552
|
-
tmp = formatter.
|
|
2552
|
+
tmp = formatter.x41(tmp0_safe_receiver);
|
|
2553
2553
|
}
|
|
2554
2554
|
var tmp1_elvis_lhs = tmp;
|
|
2555
|
-
return localization.
|
|
2555
|
+
return localization.a43(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2556
2556
|
};
|
|
2557
2557
|
function IncorrectArgumentValueCount_init_$Init$(argument, $this) {
|
|
2558
|
-
IncorrectArgumentValueCount.call($this, argument.
|
|
2558
|
+
IncorrectArgumentValueCount.call($this, argument.q3x(), argument);
|
|
2559
2559
|
return $this;
|
|
2560
2560
|
}
|
|
2561
2561
|
function IncorrectArgumentValueCount_init_$Create$(argument) {
|
|
@@ -2566,20 +2566,20 @@ function IncorrectArgumentValueCount_init_$Create$(argument) {
|
|
|
2566
2566
|
function IncorrectArgumentValueCount(nvalues, argument) {
|
|
2567
2567
|
UsageError_init_$Init$_1(argument, VOID, this);
|
|
2568
2568
|
captureStack(this, IncorrectArgumentValueCount);
|
|
2569
|
-
this.
|
|
2569
|
+
this.f43_1 = nvalues;
|
|
2570
2570
|
}
|
|
2571
|
-
protoOf(IncorrectArgumentValueCount).
|
|
2572
|
-
var tmp0_safe_receiver = this.
|
|
2571
|
+
protoOf(IncorrectArgumentValueCount).b41 = function (localization, formatter) {
|
|
2572
|
+
var tmp0_safe_receiver = this.f41_1;
|
|
2573
2573
|
var tmp;
|
|
2574
2574
|
if (tmp0_safe_receiver == null) {
|
|
2575
2575
|
tmp = null;
|
|
2576
2576
|
} else {
|
|
2577
2577
|
// Inline function 'kotlin.let' call
|
|
2578
2578
|
// Inline function 'com.github.ajalt.clikt.core.IncorrectArgumentValueCount.formatMessage.stub_for_inlining' call
|
|
2579
|
-
tmp = formatter.
|
|
2579
|
+
tmp = formatter.x41(tmp0_safe_receiver);
|
|
2580
2580
|
}
|
|
2581
2581
|
var tmp1_elvis_lhs = tmp;
|
|
2582
|
-
return localization.
|
|
2582
|
+
return localization.g43(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.f43_1);
|
|
2583
2583
|
};
|
|
2584
2584
|
function PrintMessage(message, statusCode, printError) {
|
|
2585
2585
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
@@ -2593,11 +2593,11 @@ function InvalidFileFormat(filename, message, lineno) {
|
|
|
2593
2593
|
lineno = lineno === VOID ? null : lineno;
|
|
2594
2594
|
UsageError.call(this, message);
|
|
2595
2595
|
captureStack(this, InvalidFileFormat);
|
|
2596
|
-
this.
|
|
2597
|
-
this.
|
|
2596
|
+
this.l43_1 = filename;
|
|
2597
|
+
this.m43_1 = lineno;
|
|
2598
2598
|
}
|
|
2599
|
-
protoOf(InvalidFileFormat).
|
|
2600
|
-
return this.
|
|
2599
|
+
protoOf(InvalidFileFormat).b41 = function (localization, formatter) {
|
|
2600
|
+
return this.m43_1 == null ? localization.o43(this.l43_1, ensureNotNull(this.message)) : localization.n43(this.l43_1, this.m43_1, ensureNotNull(this.message));
|
|
2601
2601
|
};
|
|
2602
2602
|
function ProgramResult() {
|
|
2603
2603
|
}
|
|
@@ -2605,18 +2605,18 @@ function MissingOption(option) {
|
|
|
2605
2605
|
UsageError_init_$Init$_2(option, VOID, this);
|
|
2606
2606
|
captureStack(this, MissingOption);
|
|
2607
2607
|
}
|
|
2608
|
-
protoOf(MissingOption).
|
|
2609
|
-
var tmp0_safe_receiver = this.
|
|
2608
|
+
protoOf(MissingOption).b41 = function (localization, formatter) {
|
|
2609
|
+
var tmp0_safe_receiver = this.f41_1;
|
|
2610
2610
|
var tmp;
|
|
2611
2611
|
if (tmp0_safe_receiver == null) {
|
|
2612
2612
|
tmp = null;
|
|
2613
2613
|
} else {
|
|
2614
2614
|
// Inline function 'kotlin.let' call
|
|
2615
2615
|
// Inline function 'com.github.ajalt.clikt.core.MissingOption.formatMessage.stub_for_inlining' call
|
|
2616
|
-
tmp = formatter.
|
|
2616
|
+
tmp = formatter.y41(tmp0_safe_receiver);
|
|
2617
2617
|
}
|
|
2618
2618
|
var tmp1_elvis_lhs = tmp;
|
|
2619
|
-
return localization.
|
|
2619
|
+
return localization.t43(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2620
2620
|
};
|
|
2621
2621
|
function get_defaultArgFileReader() {
|
|
2622
2622
|
_init_properties_ArgFileReader_kt__5nb90j();
|
|
@@ -2730,13 +2730,13 @@ function finalizeParameters(context, options, groups, invocationsByOptionByGroup
|
|
|
2730
2730
|
var it = tmp3_iterator.i();
|
|
2731
2731
|
try {
|
|
2732
2732
|
if (it instanceof Arg) {
|
|
2733
|
-
it.
|
|
2733
|
+
it.a44_1.c44(context, it.b44_1);
|
|
2734
2734
|
} else {
|
|
2735
2735
|
if (it instanceof Opt) {
|
|
2736
|
-
it.
|
|
2736
|
+
it.x43_1.z43(context, it.y43_1);
|
|
2737
2737
|
} else {
|
|
2738
2738
|
if (it instanceof Group) {
|
|
2739
|
-
it.
|
|
2739
|
+
it.u43_1.w43(context, it.v43_1);
|
|
2740
2740
|
}
|
|
2741
2741
|
}
|
|
2742
2742
|
}
|
|
@@ -2750,11 +2750,11 @@ function finalizeParameters(context, options, groups, invocationsByOptionByGroup
|
|
|
2750
2750
|
var e_0 = $p;
|
|
2751
2751
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2752
2752
|
errors.e(e_0);
|
|
2753
|
-
context.
|
|
2753
|
+
context.l3x_1 = true;
|
|
2754
2754
|
} else {
|
|
2755
2755
|
if ($p instanceof Abort) {
|
|
2756
2756
|
var e_1 = $p;
|
|
2757
|
-
if (!context.
|
|
2757
|
+
if (!context.l3x_1)
|
|
2758
2758
|
throw e_1;
|
|
2759
2759
|
} else {
|
|
2760
2760
|
throw $p;
|
|
@@ -2768,7 +2768,7 @@ function finalizeParameters(context, options, groups, invocationsByOptionByGroup
|
|
|
2768
2768
|
currentRound = toList_0(nextRound);
|
|
2769
2769
|
nextRound.i2();
|
|
2770
2770
|
}
|
|
2771
|
-
var tmp5_safe_receiver = Companion_instance_1.
|
|
2771
|
+
var tmp5_safe_receiver = Companion_instance_1.m41(errors);
|
|
2772
2772
|
if (tmp5_safe_receiver == null)
|
|
2773
2773
|
null;
|
|
2774
2774
|
else {
|
|
@@ -2780,18 +2780,18 @@ function Param() {
|
|
|
2780
2780
|
}
|
|
2781
2781
|
function Group(group, invs) {
|
|
2782
2782
|
Param.call(this);
|
|
2783
|
-
this.
|
|
2784
|
-
this.
|
|
2783
|
+
this.u43_1 = group;
|
|
2784
|
+
this.v43_1 = invs;
|
|
2785
2785
|
}
|
|
2786
2786
|
function Opt(option, invs) {
|
|
2787
2787
|
Param.call(this);
|
|
2788
|
-
this.
|
|
2789
|
-
this.
|
|
2788
|
+
this.x43_1 = option;
|
|
2789
|
+
this.y43_1 = invs;
|
|
2790
2790
|
}
|
|
2791
2791
|
function Arg(argument, invs) {
|
|
2792
2792
|
Param.call(this);
|
|
2793
|
-
this.
|
|
2794
|
-
this.
|
|
2793
|
+
this.a44_1 = argument;
|
|
2794
|
+
this.b44_1 = invs;
|
|
2795
2795
|
}
|
|
2796
2796
|
function get_ANSI_CODE_RE() {
|
|
2797
2797
|
_init_properties_MppH_kt__np0w85();
|
|
@@ -2807,29 +2807,29 @@ function _init_properties_MppH_kt__np0w85() {
|
|
|
2807
2807
|
}
|
|
2808
2808
|
function Option(names, secondaryNames, metavar, help, nvalues, tags, acceptsNumberValueWithoutName, acceptsUnattachedValue, groupName) {
|
|
2809
2809
|
ParameterHelp.call(this);
|
|
2810
|
-
this.
|
|
2811
|
-
this.
|
|
2812
|
-
this.
|
|
2813
|
-
this.
|
|
2814
|
-
this.
|
|
2815
|
-
this.
|
|
2816
|
-
this.
|
|
2817
|
-
this.
|
|
2818
|
-
this.
|
|
2810
|
+
this.d44_1 = names;
|
|
2811
|
+
this.e44_1 = secondaryNames;
|
|
2812
|
+
this.f44_1 = metavar;
|
|
2813
|
+
this.g44_1 = help;
|
|
2814
|
+
this.h44_1 = nvalues;
|
|
2815
|
+
this.i44_1 = tags;
|
|
2816
|
+
this.j44_1 = acceptsNumberValueWithoutName;
|
|
2817
|
+
this.k44_1 = acceptsUnattachedValue;
|
|
2818
|
+
this.l44_1 = groupName;
|
|
2819
2819
|
}
|
|
2820
2820
|
protoOf(Option).toString = function () {
|
|
2821
|
-
return 'Option(names=' + toString_0(this.
|
|
2821
|
+
return 'Option(names=' + toString_0(this.d44_1) + ', secondaryNames=' + toString_0(this.e44_1) + ', metavar=' + this.f44_1 + ', help=' + this.g44_1 + ', nvalues=' + this.h44_1.toString() + ', tags=' + toString_0(this.i44_1) + ', acceptsNumberValueWithoutName=' + this.j44_1 + ', acceptsUnattachedValue=' + this.k44_1 + ', groupName=' + this.l44_1 + ')';
|
|
2822
2822
|
};
|
|
2823
2823
|
protoOf(Option).hashCode = function () {
|
|
2824
|
-
var result = hashCode(this.
|
|
2825
|
-
result = imul(result, 31) + hashCode(this.
|
|
2826
|
-
result = imul(result, 31) + (this.
|
|
2827
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2828
|
-
result = imul(result, 31) + this.
|
|
2829
|
-
result = imul(result, 31) + hashCode(this.
|
|
2824
|
+
var result = hashCode(this.d44_1);
|
|
2825
|
+
result = imul(result, 31) + hashCode(this.e44_1) | 0;
|
|
2826
|
+
result = imul(result, 31) + (this.f44_1 == null ? 0 : getStringHashCode(this.f44_1)) | 0;
|
|
2827
|
+
result = imul(result, 31) + getStringHashCode(this.g44_1) | 0;
|
|
2828
|
+
result = imul(result, 31) + this.h44_1.hashCode() | 0;
|
|
2829
|
+
result = imul(result, 31) + hashCode(this.i44_1) | 0;
|
|
2830
|
+
result = imul(result, 31) + getBooleanHashCode(this.j44_1) | 0;
|
|
2830
2831
|
result = imul(result, 31) + getBooleanHashCode(this.k44_1) | 0;
|
|
2831
|
-
result = imul(result, 31) +
|
|
2832
|
-
result = imul(result, 31) + (this.m44_1 == null ? 0 : getStringHashCode(this.m44_1)) | 0;
|
|
2832
|
+
result = imul(result, 31) + (this.l44_1 == null ? 0 : getStringHashCode(this.l44_1)) | 0;
|
|
2833
2833
|
return result;
|
|
2834
2834
|
};
|
|
2835
2835
|
protoOf(Option).equals = function (other) {
|
|
@@ -2838,43 +2838,43 @@ protoOf(Option).equals = function (other) {
|
|
|
2838
2838
|
if (!(other instanceof Option))
|
|
2839
2839
|
return false;
|
|
2840
2840
|
var tmp0_other_with_cast = other instanceof Option ? other : THROW_CCE();
|
|
2841
|
+
if (!equals(this.d44_1, tmp0_other_with_cast.d44_1))
|
|
2842
|
+
return false;
|
|
2841
2843
|
if (!equals(this.e44_1, tmp0_other_with_cast.e44_1))
|
|
2842
2844
|
return false;
|
|
2843
|
-
if (!
|
|
2845
|
+
if (!(this.f44_1 == tmp0_other_with_cast.f44_1))
|
|
2844
2846
|
return false;
|
|
2845
|
-
if (!(this.g44_1
|
|
2847
|
+
if (!(this.g44_1 === tmp0_other_with_cast.g44_1))
|
|
2846
2848
|
return false;
|
|
2847
|
-
if (!
|
|
2849
|
+
if (!this.h44_1.equals(tmp0_other_with_cast.h44_1))
|
|
2848
2850
|
return false;
|
|
2849
|
-
if (!this.i44_1
|
|
2851
|
+
if (!equals(this.i44_1, tmp0_other_with_cast.i44_1))
|
|
2850
2852
|
return false;
|
|
2851
|
-
if (!
|
|
2853
|
+
if (!(this.j44_1 === tmp0_other_with_cast.j44_1))
|
|
2852
2854
|
return false;
|
|
2853
2855
|
if (!(this.k44_1 === tmp0_other_with_cast.k44_1))
|
|
2854
2856
|
return false;
|
|
2855
|
-
if (!(this.l44_1
|
|
2856
|
-
return false;
|
|
2857
|
-
if (!(this.m44_1 == tmp0_other_with_cast.m44_1))
|
|
2857
|
+
if (!(this.l44_1 == tmp0_other_with_cast.l44_1))
|
|
2858
2858
|
return false;
|
|
2859
2859
|
return true;
|
|
2860
2860
|
};
|
|
2861
2861
|
function Argument(name, help, required, repeatable, tags) {
|
|
2862
2862
|
ParameterHelp.call(this);
|
|
2863
|
-
this.
|
|
2864
|
-
this.
|
|
2865
|
-
this.
|
|
2866
|
-
this.
|
|
2867
|
-
this.
|
|
2863
|
+
this.m44_1 = name;
|
|
2864
|
+
this.n44_1 = help;
|
|
2865
|
+
this.o44_1 = required;
|
|
2866
|
+
this.p44_1 = repeatable;
|
|
2867
|
+
this.q44_1 = tags;
|
|
2868
2868
|
}
|
|
2869
2869
|
protoOf(Argument).toString = function () {
|
|
2870
|
-
return 'Argument(name=' + this.
|
|
2870
|
+
return 'Argument(name=' + this.m44_1 + ', help=' + this.n44_1 + ', required=' + this.o44_1 + ', repeatable=' + this.p44_1 + ', tags=' + toString_0(this.q44_1) + ')';
|
|
2871
2871
|
};
|
|
2872
2872
|
protoOf(Argument).hashCode = function () {
|
|
2873
|
-
var result = getStringHashCode(this.
|
|
2874
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2873
|
+
var result = getStringHashCode(this.m44_1);
|
|
2874
|
+
result = imul(result, 31) + getStringHashCode(this.n44_1) | 0;
|
|
2875
|
+
result = imul(result, 31) + getBooleanHashCode(this.o44_1) | 0;
|
|
2875
2876
|
result = imul(result, 31) + getBooleanHashCode(this.p44_1) | 0;
|
|
2876
|
-
result = imul(result, 31) +
|
|
2877
|
-
result = imul(result, 31) + hashCode(this.r44_1) | 0;
|
|
2877
|
+
result = imul(result, 31) + hashCode(this.q44_1) | 0;
|
|
2878
2878
|
return result;
|
|
2879
2879
|
};
|
|
2880
2880
|
protoOf(Argument).equals = function (other) {
|
|
@@ -2883,31 +2883,31 @@ protoOf(Argument).equals = function (other) {
|
|
|
2883
2883
|
if (!(other instanceof Argument))
|
|
2884
2884
|
return false;
|
|
2885
2885
|
var tmp0_other_with_cast = other instanceof Argument ? other : THROW_CCE();
|
|
2886
|
+
if (!(this.m44_1 === tmp0_other_with_cast.m44_1))
|
|
2887
|
+
return false;
|
|
2886
2888
|
if (!(this.n44_1 === tmp0_other_with_cast.n44_1))
|
|
2887
2889
|
return false;
|
|
2888
2890
|
if (!(this.o44_1 === tmp0_other_with_cast.o44_1))
|
|
2889
2891
|
return false;
|
|
2890
2892
|
if (!(this.p44_1 === tmp0_other_with_cast.p44_1))
|
|
2891
2893
|
return false;
|
|
2892
|
-
if (!(this.q44_1
|
|
2893
|
-
return false;
|
|
2894
|
-
if (!equals(this.r44_1, tmp0_other_with_cast.r44_1))
|
|
2894
|
+
if (!equals(this.q44_1, tmp0_other_with_cast.q44_1))
|
|
2895
2895
|
return false;
|
|
2896
2896
|
return true;
|
|
2897
2897
|
};
|
|
2898
2898
|
function Subcommand(name, help, tags) {
|
|
2899
2899
|
ParameterHelp.call(this);
|
|
2900
|
-
this.
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
2900
|
+
this.r44_1 = name;
|
|
2901
|
+
this.s44_1 = help;
|
|
2902
|
+
this.t44_1 = tags;
|
|
2903
2903
|
}
|
|
2904
2904
|
protoOf(Subcommand).toString = function () {
|
|
2905
|
-
return 'Subcommand(name=' + this.
|
|
2905
|
+
return 'Subcommand(name=' + this.r44_1 + ', help=' + this.s44_1 + ', tags=' + toString_0(this.t44_1) + ')';
|
|
2906
2906
|
};
|
|
2907
2907
|
protoOf(Subcommand).hashCode = function () {
|
|
2908
|
-
var result = getStringHashCode(this.
|
|
2909
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2910
|
-
result = imul(result, 31) + hashCode(this.
|
|
2908
|
+
var result = getStringHashCode(this.r44_1);
|
|
2909
|
+
result = imul(result, 31) + getStringHashCode(this.s44_1) | 0;
|
|
2910
|
+
result = imul(result, 31) + hashCode(this.t44_1) | 0;
|
|
2911
2911
|
return result;
|
|
2912
2912
|
};
|
|
2913
2913
|
protoOf(Subcommand).equals = function (other) {
|
|
@@ -2916,25 +2916,25 @@ protoOf(Subcommand).equals = function (other) {
|
|
|
2916
2916
|
if (!(other instanceof Subcommand))
|
|
2917
2917
|
return false;
|
|
2918
2918
|
var tmp0_other_with_cast = other instanceof Subcommand ? other : THROW_CCE();
|
|
2919
|
-
if (!(this.
|
|
2919
|
+
if (!(this.r44_1 === tmp0_other_with_cast.r44_1))
|
|
2920
2920
|
return false;
|
|
2921
|
-
if (!(this.
|
|
2921
|
+
if (!(this.s44_1 === tmp0_other_with_cast.s44_1))
|
|
2922
2922
|
return false;
|
|
2923
|
-
if (!equals(this.
|
|
2923
|
+
if (!equals(this.t44_1, tmp0_other_with_cast.t44_1))
|
|
2924
2924
|
return false;
|
|
2925
2925
|
return true;
|
|
2926
2926
|
};
|
|
2927
2927
|
function Group_0(name, help) {
|
|
2928
2928
|
ParameterHelp.call(this);
|
|
2929
|
-
this.
|
|
2930
|
-
this.
|
|
2929
|
+
this.u44_1 = name;
|
|
2930
|
+
this.v44_1 = help;
|
|
2931
2931
|
}
|
|
2932
2932
|
protoOf(Group_0).toString = function () {
|
|
2933
|
-
return 'Group(name=' + this.
|
|
2933
|
+
return 'Group(name=' + this.u44_1 + ', help=' + this.v44_1 + ')';
|
|
2934
2934
|
};
|
|
2935
2935
|
protoOf(Group_0).hashCode = function () {
|
|
2936
|
-
var result = getStringHashCode(this.
|
|
2937
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2936
|
+
var result = getStringHashCode(this.u44_1);
|
|
2937
|
+
result = imul(result, 31) + getStringHashCode(this.v44_1) | 0;
|
|
2938
2938
|
return result;
|
|
2939
2939
|
};
|
|
2940
2940
|
protoOf(Group_0).equals = function (other) {
|
|
@@ -2943,9 +2943,9 @@ protoOf(Group_0).equals = function (other) {
|
|
|
2943
2943
|
if (!(other instanceof Group_0))
|
|
2944
2944
|
return false;
|
|
2945
2945
|
var tmp0_other_with_cast = other instanceof Group_0 ? other : THROW_CCE();
|
|
2946
|
-
if (!(this.
|
|
2946
|
+
if (!(this.u44_1 === tmp0_other_with_cast.u44_1))
|
|
2947
2947
|
return false;
|
|
2948
|
-
if (!(this.
|
|
2948
|
+
if (!(this.v44_1 === tmp0_other_with_cast.v44_1))
|
|
2949
2949
|
return false;
|
|
2950
2950
|
return true;
|
|
2951
2951
|
};
|
|
@@ -2975,15 +2975,15 @@ function RenderedSection_init_$Create$(title, content) {
|
|
|
2975
2975
|
return RenderedSection_init_$Init$(title, content, objectCreate(protoOf(RenderedSection)));
|
|
2976
2976
|
}
|
|
2977
2977
|
function RenderedSection(title, content) {
|
|
2978
|
-
this.
|
|
2979
|
-
this.
|
|
2978
|
+
this.p45_1 = title;
|
|
2979
|
+
this.q45_1 = content;
|
|
2980
2980
|
}
|
|
2981
2981
|
protoOf(RenderedSection).toString = function () {
|
|
2982
|
-
return 'RenderedSection(title=' + toString_0(this.
|
|
2982
|
+
return 'RenderedSection(title=' + toString_0(this.p45_1) + ', content=' + toString_0(this.q45_1) + ')';
|
|
2983
2983
|
};
|
|
2984
2984
|
protoOf(RenderedSection).hashCode = function () {
|
|
2985
|
-
var result = hashCode(this.
|
|
2986
|
-
result = imul(result, 31) + hashCode(this.
|
|
2985
|
+
var result = hashCode(this.p45_1);
|
|
2986
|
+
result = imul(result, 31) + hashCode(this.q45_1) | 0;
|
|
2987
2987
|
return result;
|
|
2988
2988
|
};
|
|
2989
2989
|
protoOf(RenderedSection).equals = function (other) {
|
|
@@ -2992,25 +2992,25 @@ protoOf(RenderedSection).equals = function (other) {
|
|
|
2992
2992
|
if (!(other instanceof RenderedSection))
|
|
2993
2993
|
return false;
|
|
2994
2994
|
var tmp0_other_with_cast = other instanceof RenderedSection ? other : THROW_CCE();
|
|
2995
|
-
if (!equals(this.
|
|
2995
|
+
if (!equals(this.p45_1, tmp0_other_with_cast.p45_1))
|
|
2996
2996
|
return false;
|
|
2997
|
-
if (!equals(this.
|
|
2997
|
+
if (!equals(this.q45_1, tmp0_other_with_cast.q45_1))
|
|
2998
2998
|
return false;
|
|
2999
2999
|
return true;
|
|
3000
3000
|
};
|
|
3001
3001
|
function DefinitionRow(term, description, marker) {
|
|
3002
3002
|
marker = marker === VOID ? null : marker;
|
|
3003
|
-
this.
|
|
3004
|
-
this.
|
|
3005
|
-
this.
|
|
3003
|
+
this.r45_1 = term;
|
|
3004
|
+
this.s45_1 = description;
|
|
3005
|
+
this.t45_1 = marker;
|
|
3006
3006
|
}
|
|
3007
3007
|
protoOf(DefinitionRow).toString = function () {
|
|
3008
|
-
return 'DefinitionRow(term=' + this.
|
|
3008
|
+
return 'DefinitionRow(term=' + this.r45_1 + ', description=' + this.s45_1 + ', marker=' + this.t45_1 + ')';
|
|
3009
3009
|
};
|
|
3010
3010
|
protoOf(DefinitionRow).hashCode = function () {
|
|
3011
|
-
var result = getStringHashCode(this.
|
|
3012
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3013
|
-
result = imul(result, 31) + (this.
|
|
3011
|
+
var result = getStringHashCode(this.r45_1);
|
|
3012
|
+
result = imul(result, 31) + getStringHashCode(this.s45_1) | 0;
|
|
3013
|
+
result = imul(result, 31) + (this.t45_1 == null ? 0 : getStringHashCode(this.t45_1)) | 0;
|
|
3014
3014
|
return result;
|
|
3015
3015
|
};
|
|
3016
3016
|
protoOf(DefinitionRow).equals = function (other) {
|
|
@@ -3019,25 +3019,25 @@ protoOf(DefinitionRow).equals = function (other) {
|
|
|
3019
3019
|
if (!(other instanceof DefinitionRow))
|
|
3020
3020
|
return false;
|
|
3021
3021
|
var tmp0_other_with_cast = other instanceof DefinitionRow ? other : THROW_CCE();
|
|
3022
|
-
if (!(this.
|
|
3022
|
+
if (!(this.r45_1 === tmp0_other_with_cast.r45_1))
|
|
3023
3023
|
return false;
|
|
3024
|
-
if (!(this.
|
|
3024
|
+
if (!(this.s45_1 === tmp0_other_with_cast.s45_1))
|
|
3025
3025
|
return false;
|
|
3026
|
-
if (!(this.
|
|
3026
|
+
if (!(this.t45_1 == tmp0_other_with_cast.t45_1))
|
|
3027
3027
|
return false;
|
|
3028
3028
|
return true;
|
|
3029
3029
|
};
|
|
3030
3030
|
function sam$kotlin_Comparator$0_0(function_0) {
|
|
3031
|
-
this.
|
|
3031
|
+
this.u45_1 = function_0;
|
|
3032
3032
|
}
|
|
3033
3033
|
protoOf(sam$kotlin_Comparator$0_0).dd = function (a, b) {
|
|
3034
|
-
return this.
|
|
3034
|
+
return this.u45_1(a, b);
|
|
3035
3035
|
};
|
|
3036
3036
|
protoOf(sam$kotlin_Comparator$0_0).compare = function (a, b) {
|
|
3037
3037
|
return this.dd(a, b);
|
|
3038
3038
|
};
|
|
3039
3039
|
protoOf(sam$kotlin_Comparator$0_0).p3 = function () {
|
|
3040
|
-
return this.
|
|
3040
|
+
return this.u45_1;
|
|
3041
3041
|
};
|
|
3042
3042
|
protoOf(sam$kotlin_Comparator$0_0).equals = function (other) {
|
|
3043
3043
|
var tmp;
|
|
@@ -3058,16 +3058,16 @@ protoOf(sam$kotlin_Comparator$0_0).hashCode = function () {
|
|
|
3058
3058
|
return hashCode(this.p3());
|
|
3059
3059
|
};
|
|
3060
3060
|
function sam$kotlin_Comparator$0_1(function_0) {
|
|
3061
|
-
this.
|
|
3061
|
+
this.v45_1 = function_0;
|
|
3062
3062
|
}
|
|
3063
3063
|
protoOf(sam$kotlin_Comparator$0_1).dd = function (a, b) {
|
|
3064
|
-
return this.
|
|
3064
|
+
return this.v45_1(a, b);
|
|
3065
3065
|
};
|
|
3066
3066
|
protoOf(sam$kotlin_Comparator$0_1).compare = function (a, b) {
|
|
3067
3067
|
return this.dd(a, b);
|
|
3068
3068
|
};
|
|
3069
3069
|
protoOf(sam$kotlin_Comparator$0_1).p3 = function () {
|
|
3070
|
-
return this.
|
|
3070
|
+
return this.v45_1;
|
|
3071
3071
|
};
|
|
3072
3072
|
protoOf(sam$kotlin_Comparator$0_1).equals = function (other) {
|
|
3073
3073
|
var tmp;
|
|
@@ -3089,21 +3089,21 @@ protoOf(sam$kotlin_Comparator$0_1).hashCode = function () {
|
|
|
3089
3089
|
};
|
|
3090
3090
|
function MordantHelpFormatter$formatHelp$lambda(this$0, $error, $prolog, $epilog, $parameters, $programName) {
|
|
3091
3091
|
return function ($this$verticalLayout) {
|
|
3092
|
-
$this$verticalLayout.
|
|
3093
|
-
$this$verticalLayout.
|
|
3092
|
+
$this$verticalLayout.z3p(1);
|
|
3093
|
+
$this$verticalLayout.x3p(this$0.a46($error, $prolog, $epilog, $parameters, $programName));
|
|
3094
3094
|
return Unit_instance;
|
|
3095
3095
|
};
|
|
3096
3096
|
}
|
|
3097
3097
|
function MordantHelpFormatter$renderUsage$lambda($prog, $usageParts) {
|
|
3098
3098
|
return function ($this$definitionList) {
|
|
3099
|
-
$this$definitionList.
|
|
3100
|
-
$this$definitionList.
|
|
3101
|
-
$this$definitionList.
|
|
3099
|
+
$this$definitionList.y3t($prog, Text_init_$Create$(joinToString($usageParts, ' '), Whitespace_NORMAL_getInstance()));
|
|
3100
|
+
$this$definitionList.s3t_1 = true;
|
|
3101
|
+
$this$definitionList.v3t(1);
|
|
3102
3102
|
return Unit_instance;
|
|
3103
3103
|
};
|
|
3104
3104
|
}
|
|
3105
3105
|
function MordantHelpFormatter$renderProlog$lambda($this$withPadding) {
|
|
3106
|
-
$this$withPadding.
|
|
3106
|
+
$this$withPadding.p3k_1 = 2;
|
|
3107
3107
|
return Unit_instance;
|
|
3108
3108
|
}
|
|
3109
3109
|
function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
@@ -3116,24 +3116,24 @@ function MordantHelpFormatter$renderOptions$lambda(a, b) {
|
|
|
3116
3116
|
}
|
|
3117
3117
|
function MordantHelpFormatter$renderParameters$lambda(this$0, $parameters) {
|
|
3118
3118
|
return function ($this$definitionList) {
|
|
3119
|
-
var tmp0_iterator = this$0.
|
|
3119
|
+
var tmp0_iterator = this$0.b46($parameters).g();
|
|
3120
3120
|
while (tmp0_iterator.h()) {
|
|
3121
3121
|
var section = tmp0_iterator.i();
|
|
3122
|
-
$this$definitionList.
|
|
3122
|
+
$this$definitionList.z3t(section.p45_1, section.q45_1);
|
|
3123
3123
|
}
|
|
3124
3124
|
return Unit_instance;
|
|
3125
3125
|
};
|
|
3126
3126
|
}
|
|
3127
3127
|
function MordantHelpFormatter$renderOptionGroup$lambda($this$withPadding) {
|
|
3128
|
-
$this$withPadding.
|
|
3129
|
-
$this$withPadding.
|
|
3130
|
-
$this$withPadding.
|
|
3128
|
+
$this$withPadding.m3k_1 = 1;
|
|
3129
|
+
$this$withPadding.p3k_1 = 2;
|
|
3130
|
+
$this$withPadding.o3k_1 = 1;
|
|
3131
3131
|
return Unit_instance;
|
|
3132
3132
|
}
|
|
3133
3133
|
function MordantHelpFormatter$renderOptionGroup$lambda_0($markdown, this$0, $options) {
|
|
3134
3134
|
return function ($this$verticalLayout) {
|
|
3135
|
-
$this$verticalLayout.
|
|
3136
|
-
$this$verticalLayout.
|
|
3135
|
+
$this$verticalLayout.v3j($markdown);
|
|
3136
|
+
$this$verticalLayout.v3j(this$0.c46($options));
|
|
3137
3137
|
return Unit_instance;
|
|
3138
3138
|
};
|
|
3139
3139
|
}
|
|
@@ -3143,7 +3143,7 @@ function MordantHelpFormatter$renderParameterHelpText$lambda(this$0) {
|
|
|
3143
3143
|
var k = _name_for_destructuring_parameter_0__wldtmu.a1();
|
|
3144
3144
|
// Inline function 'kotlin.collections.component2' call
|
|
3145
3145
|
var v = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3146
|
-
return this$0.
|
|
3146
|
+
return this$0.d46(k, v);
|
|
3147
3147
|
};
|
|
3148
3148
|
}
|
|
3149
3149
|
function MordantHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
@@ -3152,7 +3152,7 @@ function MordantHelpFormatter$renderParameterHelpText$lambda_0(this$0) {
|
|
|
3152
3152
|
var k = _name_for_destructuring_parameter_0__wldtmu.a1();
|
|
3153
3153
|
// Inline function 'kotlin.collections.component2' call
|
|
3154
3154
|
var v = _name_for_destructuring_parameter_0__wldtmu.b1();
|
|
3155
|
-
return this$0.
|
|
3155
|
+
return this$0.e46(k, v);
|
|
3156
3156
|
};
|
|
3157
3157
|
}
|
|
3158
3158
|
function MordantHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
@@ -3165,28 +3165,28 @@ function MordantHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
|
3165
3165
|
}
|
|
3166
3166
|
function MordantHelpFormatter$joinNamesForOption$lambda_0(this$0) {
|
|
3167
3167
|
return function (it) {
|
|
3168
|
-
return this$0.
|
|
3168
|
+
return this$0.f46(it);
|
|
3169
3169
|
};
|
|
3170
3170
|
}
|
|
3171
3171
|
function MordantHelpFormatter$parameterFormatter$1(this$0) {
|
|
3172
|
-
this.
|
|
3172
|
+
this.g46_1 = this$0;
|
|
3173
3173
|
}
|
|
3174
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).z41 = function (name) {
|
|
3175
|
-
return this.h46_1.g46(name);
|
|
3176
|
-
};
|
|
3177
3174
|
protoOf(MordantHelpFormatter$parameterFormatter$1).y41 = function (name) {
|
|
3178
|
-
return this.
|
|
3175
|
+
return this.g46_1.f46(name);
|
|
3176
|
+
};
|
|
3177
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).x41 = function (name) {
|
|
3178
|
+
return this.g46_1.i46(this.g46_1.h46(name));
|
|
3179
3179
|
};
|
|
3180
|
-
protoOf(MordantHelpFormatter$parameterFormatter$1).
|
|
3181
|
-
return this.
|
|
3180
|
+
protoOf(MordantHelpFormatter$parameterFormatter$1).i42 = function (name) {
|
|
3181
|
+
return this.g46_1.j46(name);
|
|
3182
3182
|
};
|
|
3183
3183
|
function MordantHelpFormatter$buildParameterList$lambda($rows, this$0) {
|
|
3184
3184
|
return function ($this$definitionList) {
|
|
3185
|
-
$this$definitionList.
|
|
3185
|
+
$this$definitionList.s3t_1 = true;
|
|
3186
3186
|
var tmp0_iterator = $rows.g();
|
|
3187
3187
|
while (tmp0_iterator.h()) {
|
|
3188
3188
|
var row = tmp0_iterator.i();
|
|
3189
|
-
$this$definitionList.
|
|
3189
|
+
$this$definitionList.z3t(this$0.k46(row), this$0.l46(row));
|
|
3190
3190
|
}
|
|
3191
3191
|
return Unit_instance;
|
|
3192
3192
|
};
|
|
@@ -3195,53 +3195,53 @@ function MordantHelpFormatter(context, requiredOptionMarker, showDefaultValues,
|
|
|
3195
3195
|
requiredOptionMarker = requiredOptionMarker === VOID ? null : requiredOptionMarker;
|
|
3196
3196
|
showDefaultValues = showDefaultValues === VOID ? false : showDefaultValues;
|
|
3197
3197
|
showRequiredTag = showRequiredTag === VOID ? false : showRequiredTag;
|
|
3198
|
-
this.
|
|
3199
|
-
this.
|
|
3200
|
-
this.
|
|
3201
|
-
this.
|
|
3198
|
+
this.w45_1 = context;
|
|
3199
|
+
this.x45_1 = requiredOptionMarker;
|
|
3200
|
+
this.y45_1 = showDefaultValues;
|
|
3201
|
+
this.z45_1 = showRequiredTag;
|
|
3202
3202
|
}
|
|
3203
|
-
protoOf(MordantHelpFormatter).
|
|
3204
|
-
return this.
|
|
3203
|
+
protoOf(MordantHelpFormatter).m46 = function () {
|
|
3204
|
+
return this.w45_1.g3x_1;
|
|
3205
3205
|
};
|
|
3206
|
-
protoOf(MordantHelpFormatter).
|
|
3207
|
-
return this.
|
|
3206
|
+
protoOf(MordantHelpFormatter).n46 = function () {
|
|
3207
|
+
return this.w45_1.b3x_1.n3h_1;
|
|
3208
3208
|
};
|
|
3209
|
-
protoOf(MordantHelpFormatter).
|
|
3209
|
+
protoOf(MordantHelpFormatter).s3y = function (error, prolog, epilog, parameters, programName) {
|
|
3210
3210
|
var widget = verticalLayout(MordantHelpFormatter$formatHelp$lambda(this, error, prolog, epilog, parameters, programName));
|
|
3211
|
-
return this.
|
|
3211
|
+
return this.w45_1.b3x_1.j3t(widget);
|
|
3212
3212
|
};
|
|
3213
|
-
protoOf(MordantHelpFormatter).
|
|
3213
|
+
protoOf(MordantHelpFormatter).a46 = function (error, prolog, epilog, parameters, programName) {
|
|
3214
3214
|
// Inline function 'kotlin.collections.buildList' call
|
|
3215
3215
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
3216
3216
|
// Inline function 'kotlin.apply' call
|
|
3217
3217
|
var this_0 = ArrayList_init_$Create$();
|
|
3218
3218
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectHelpParts.<anonymous>' call
|
|
3219
|
-
this_0.e(this.
|
|
3219
|
+
this_0.e(this.o46(parameters, programName));
|
|
3220
3220
|
if (error == null) {
|
|
3221
3221
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3222
3222
|
if (charSequenceLength(prolog) > 0) {
|
|
3223
|
-
this_0.e(this.
|
|
3223
|
+
this_0.e(this.q46(prolog));
|
|
3224
3224
|
}
|
|
3225
3225
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3226
3226
|
if (!parameters.l()) {
|
|
3227
|
-
this_0.e(this.
|
|
3227
|
+
this_0.e(this.r46(parameters));
|
|
3228
3228
|
}
|
|
3229
3229
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3230
3230
|
if (charSequenceLength(epilog) > 0) {
|
|
3231
|
-
this_0.e(this.
|
|
3231
|
+
this_0.e(this.s46(epilog));
|
|
3232
3232
|
}
|
|
3233
3233
|
} else {
|
|
3234
|
-
this_0.e(this.
|
|
3234
|
+
this_0.e(this.p46(parameters, error));
|
|
3235
3235
|
}
|
|
3236
3236
|
return this_0.q5();
|
|
3237
3237
|
};
|
|
3238
|
-
protoOf(MordantHelpFormatter).
|
|
3238
|
+
protoOf(MordantHelpFormatter).p46 = function (parameters, error) {
|
|
3239
3239
|
// Inline function 'kotlin.text.buildString' call
|
|
3240
3240
|
// Inline function 'kotlin.apply' call
|
|
3241
3241
|
var this_0 = StringBuilder_init_$Create$();
|
|
3242
3242
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderError.<anonymous>' call
|
|
3243
3243
|
var tmp0_safe_receiver = error instanceof MultiUsageError ? error : null;
|
|
3244
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
3244
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r41_1;
|
|
3245
3245
|
var errors = tmp1_elvis_lhs == null ? listOf_0(error) : tmp1_elvis_lhs;
|
|
3246
3246
|
var iterator = errors.g();
|
|
3247
3247
|
var index = 0;
|
|
@@ -3253,16 +3253,16 @@ protoOf(MordantHelpFormatter).q46 = function (parameters, error) {
|
|
|
3253
3253
|
// Inline function 'kotlin.text.appendLine' call
|
|
3254
3254
|
this_0.c8(_Char___init__impl__6a9atx(10));
|
|
3255
3255
|
}
|
|
3256
|
-
this_0.b8(this.
|
|
3256
|
+
this_0.b8(this.t46(this.m46().w44()));
|
|
3257
3257
|
this_0.b8(' ');
|
|
3258
|
-
this_0.b8(e.
|
|
3258
|
+
this_0.b8(e.b41(this.m46(), this.u46(this.w45_1)));
|
|
3259
3259
|
}
|
|
3260
3260
|
var tmp$ret$2 = this_0.toString();
|
|
3261
3261
|
return Text_init_$Create$(tmp$ret$2);
|
|
3262
3262
|
};
|
|
3263
|
-
protoOf(MordantHelpFormatter).
|
|
3264
|
-
var optionalStyle = this.
|
|
3265
|
-
var title = this.
|
|
3263
|
+
protoOf(MordantHelpFormatter).o46 = function (parameters, programName) {
|
|
3264
|
+
var optionalStyle = this.n46().s3i('muted');
|
|
3265
|
+
var title = this.v46(this.m46().g45());
|
|
3266
3266
|
var prog = title + ' ' + programName;
|
|
3267
3267
|
// Inline function 'kotlin.collections.buildList' call
|
|
3268
3268
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
@@ -3294,8 +3294,8 @@ protoOf(MordantHelpFormatter).p46 = function (parameters, programName) {
|
|
|
3294
3294
|
tmp$ret$0 = false;
|
|
3295
3295
|
}
|
|
3296
3296
|
if (tmp$ret$0) {
|
|
3297
|
-
var metavar = this.
|
|
3298
|
-
this_0.e(optionalStyle.
|
|
3297
|
+
var metavar = this.h46(this.m46().k45());
|
|
3298
|
+
this_0.e(optionalStyle.t2j(this.w46(metavar)));
|
|
3299
3299
|
}
|
|
3300
3300
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3301
3301
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
@@ -3312,13 +3312,13 @@ protoOf(MordantHelpFormatter).p46 = function (parameters, programName) {
|
|
|
3312
3312
|
while (_iterator__ex2g4s_1.h()) {
|
|
3313
3313
|
var item = _iterator__ex2g4s_1.i();
|
|
3314
3314
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderUsage.<anonymous>.<anonymous>' call
|
|
3315
|
-
var name = this.
|
|
3316
|
-
if (!item.
|
|
3315
|
+
var name = this.h46(item.m44_1);
|
|
3316
|
+
if (!item.o44_1)
|
|
3317
|
+
name = this.w46(name);
|
|
3318
|
+
if (item.p44_1)
|
|
3317
3319
|
name = this.x46(name);
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
var style = item.p44_1 ? TextStyle() : optionalStyle;
|
|
3321
|
-
var tmp$ret$4 = style.u2j(name);
|
|
3320
|
+
var style = item.o44_1 ? TextStyle() : optionalStyle;
|
|
3321
|
+
var tmp$ret$4 = style.t2j(name);
|
|
3322
3322
|
this_0.e(tmp$ret$4);
|
|
3323
3323
|
}
|
|
3324
3324
|
var tmp$ret$6;
|
|
@@ -3346,10 +3346,10 @@ protoOf(MordantHelpFormatter).p46 = function (parameters, programName) {
|
|
|
3346
3346
|
tmp$ret$6 = false;
|
|
3347
3347
|
}
|
|
3348
3348
|
if (tmp$ret$6) {
|
|
3349
|
-
var commandMetavar = this.
|
|
3350
|
-
var argsMetavar = this.
|
|
3351
|
-
var repeatedArgs = this.
|
|
3352
|
-
this_0.e(optionalStyle.
|
|
3349
|
+
var commandMetavar = this.h46(this.m46().l45());
|
|
3350
|
+
var argsMetavar = this.h46(this.m46().m45());
|
|
3351
|
+
var repeatedArgs = this.x46(this.w46(argsMetavar));
|
|
3352
|
+
this_0.e(optionalStyle.t2j(commandMetavar + ' ' + repeatedArgs));
|
|
3353
3353
|
}
|
|
3354
3354
|
var usageParts = this_0.q5();
|
|
3355
3355
|
var tmp_1;
|
|
@@ -3360,17 +3360,17 @@ protoOf(MordantHelpFormatter).p46 = function (parameters, programName) {
|
|
|
3360
3360
|
}
|
|
3361
3361
|
return tmp_1;
|
|
3362
3362
|
};
|
|
3363
|
-
protoOf(MordantHelpFormatter).
|
|
3363
|
+
protoOf(MordantHelpFormatter).q46 = function (prolog) {
|
|
3364
3364
|
var tmp = new Markdown(prolog, true);
|
|
3365
3365
|
return withPadding(tmp, false, MordantHelpFormatter$renderProlog$lambda);
|
|
3366
3366
|
};
|
|
3367
|
-
protoOf(MordantHelpFormatter).
|
|
3367
|
+
protoOf(MordantHelpFormatter).s46 = function (epilog) {
|
|
3368
3368
|
return new Markdown(epilog, true);
|
|
3369
3369
|
};
|
|
3370
|
-
protoOf(MordantHelpFormatter).
|
|
3370
|
+
protoOf(MordantHelpFormatter).y46 = function (title) {
|
|
3371
3371
|
return title + ':';
|
|
3372
3372
|
};
|
|
3373
|
-
protoOf(MordantHelpFormatter).
|
|
3373
|
+
protoOf(MordantHelpFormatter).z46 = function (parameters) {
|
|
3374
3374
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3375
3375
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
3376
3376
|
var destination = ArrayList_init_$Create$();
|
|
@@ -3389,7 +3389,7 @@ protoOf(MordantHelpFormatter).a47 = function (parameters) {
|
|
|
3389
3389
|
while (_iterator__ex2g4s_0.h()) {
|
|
3390
3390
|
var element_0 = _iterator__ex2g4s_0.i();
|
|
3391
3391
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3392
|
-
var tmp$ret$2 = element_0.
|
|
3392
|
+
var tmp$ret$2 = element_0.u44_1;
|
|
3393
3393
|
destination_0.n2(tmp$ret$2, element_0);
|
|
3394
3394
|
}
|
|
3395
3395
|
var groupsByName = destination_0;
|
|
@@ -3410,7 +3410,7 @@ protoOf(MordantHelpFormatter).a47 = function (parameters) {
|
|
|
3410
3410
|
while (_iterator__ex2g4s_2.h()) {
|
|
3411
3411
|
var element_2 = _iterator__ex2g4s_2.i();
|
|
3412
3412
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3413
|
-
var key = element_2.
|
|
3413
|
+
var key = element_2.l44_1;
|
|
3414
3414
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
3415
3415
|
var value = destination_2.g2(key);
|
|
3416
3416
|
var tmp;
|
|
@@ -3452,30 +3452,30 @@ protoOf(MordantHelpFormatter).a47 = function (parameters) {
|
|
|
3452
3452
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptions.<anonymous>' call
|
|
3453
3453
|
var title = item.yd();
|
|
3454
3454
|
var params = item.zd();
|
|
3455
|
-
var renderedTitle = this.
|
|
3455
|
+
var renderedTitle = this.y46(title == null ? this.m46().h45() : title);
|
|
3456
3456
|
// Inline function 'kotlin.collections.get' call
|
|
3457
3457
|
var tmp1_safe_receiver = (isInterface(groupsByName, KtMap) ? groupsByName : THROW_CCE()).g2(title);
|
|
3458
|
-
var content = this.
|
|
3459
|
-
var tmp$ret$19 = RenderedSection_init_$Create$(this.
|
|
3458
|
+
var content = this.a47(tmp1_safe_receiver == null ? null : tmp1_safe_receiver.v44_1, params);
|
|
3459
|
+
var tmp$ret$19 = RenderedSection_init_$Create$(this.b47(renderedTitle), content);
|
|
3460
3460
|
destination_4.e(tmp$ret$19);
|
|
3461
3461
|
}
|
|
3462
3462
|
return toList_0(destination_4);
|
|
3463
3463
|
};
|
|
3464
|
-
protoOf(MordantHelpFormatter).
|
|
3464
|
+
protoOf(MordantHelpFormatter).r46 = function (parameters) {
|
|
3465
3465
|
return definitionList(MordantHelpFormatter$renderParameters$lambda(this, parameters));
|
|
3466
3466
|
};
|
|
3467
|
-
protoOf(MordantHelpFormatter).
|
|
3467
|
+
protoOf(MordantHelpFormatter).b46 = function (parameters) {
|
|
3468
3468
|
// Inline function 'kotlin.collections.buildList' call
|
|
3469
3469
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
3470
3470
|
// Inline function 'kotlin.apply' call
|
|
3471
3471
|
var this_0 = ArrayList_init_$Create$();
|
|
3472
3472
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.collectParameterSections.<anonymous>' call
|
|
3473
|
-
this_0.p(this.
|
|
3473
|
+
this_0.p(this.z46(parameters));
|
|
3474
|
+
this_0.p(this.c47(parameters));
|
|
3474
3475
|
this_0.p(this.d47(parameters));
|
|
3475
|
-
this_0.p(this.e47(parameters));
|
|
3476
3476
|
return this_0.q5();
|
|
3477
3477
|
};
|
|
3478
|
-
protoOf(MordantHelpFormatter).
|
|
3478
|
+
protoOf(MordantHelpFormatter).a47 = function (help, parameters) {
|
|
3479
3479
|
// Inline function 'kotlin.collections.map' call
|
|
3480
3480
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3481
3481
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(parameters, 10));
|
|
@@ -3484,35 +3484,35 @@ protoOf(MordantHelpFormatter).b47 = function (help, parameters) {
|
|
|
3484
3484
|
var item = _iterator__ex2g4s.i();
|
|
3485
3485
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>' call
|
|
3486
3486
|
var tmp;
|
|
3487
|
-
if (item.
|
|
3488
|
-
tmp = plus_0(listOf_0(this.
|
|
3487
|
+
if (item.j44_1) {
|
|
3488
|
+
tmp = plus_0(listOf_0(this.e47(item)), item.d44_1);
|
|
3489
3489
|
} else {
|
|
3490
|
-
tmp = item.
|
|
3490
|
+
tmp = item.d44_1;
|
|
3491
3491
|
}
|
|
3492
3492
|
var unjoinedNames = tmp;
|
|
3493
|
-
var names = mutableListOf([this.
|
|
3493
|
+
var names = mutableListOf([this.f47(unjoinedNames)]);
|
|
3494
3494
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3495
|
-
if (!item.
|
|
3495
|
+
if (!item.e44_1.l()) {
|
|
3496
3496
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
3497
|
-
var element = this.
|
|
3497
|
+
var element = this.f47(item.e44_1);
|
|
3498
3498
|
names.e(element);
|
|
3499
3499
|
}
|
|
3500
|
-
var tmp_0 = joinToString(names, ' / ', VOID, this.
|
|
3501
|
-
var tmp_1 = this.
|
|
3500
|
+
var tmp_0 = joinToString(names, ' / ', VOID, this.g47(item));
|
|
3501
|
+
var tmp_1 = this.h47(item.g44_1, item.i44_1);
|
|
3502
3502
|
var tmp0_subject = 'required';
|
|
3503
3503
|
var tmp_2;
|
|
3504
3504
|
// Inline function 'kotlin.collections.contains' call
|
|
3505
3505
|
// Inline function 'kotlin.collections.containsKey' call
|
|
3506
|
-
var this_0 = item.
|
|
3506
|
+
var this_0 = item.i44_1;
|
|
3507
3507
|
if ((isInterface(this_0, KtMap) ? this_0 : THROW_CCE()).f2(tmp0_subject)) {
|
|
3508
|
-
var tmp1_safe_receiver = this.
|
|
3508
|
+
var tmp1_safe_receiver = this.x45_1;
|
|
3509
3509
|
var tmp_3;
|
|
3510
3510
|
if (tmp1_safe_receiver == null) {
|
|
3511
3511
|
tmp_3 = null;
|
|
3512
3512
|
} else {
|
|
3513
3513
|
// Inline function 'kotlin.let' call
|
|
3514
3514
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderOptionGroup.<anonymous>.<anonymous>' call
|
|
3515
|
-
tmp_3 = this.
|
|
3515
|
+
tmp_3 = this.i47(tmp1_safe_receiver);
|
|
3516
3516
|
}
|
|
3517
3517
|
tmp_2 = tmp_3;
|
|
3518
3518
|
} else {
|
|
@@ -3523,12 +3523,12 @@ protoOf(MordantHelpFormatter).b47 = function (help, parameters) {
|
|
|
3523
3523
|
}
|
|
3524
3524
|
var options = destination;
|
|
3525
3525
|
if (help == null)
|
|
3526
|
-
return this.
|
|
3526
|
+
return this.c46(options);
|
|
3527
3527
|
var tmp_4 = new Markdown(help, true);
|
|
3528
3528
|
var markdown = withPadding(tmp_4, false, MordantHelpFormatter$renderOptionGroup$lambda);
|
|
3529
3529
|
return verticalLayout(MordantHelpFormatter$renderOptionGroup$lambda_0(markdown, this, options));
|
|
3530
3530
|
};
|
|
3531
|
-
protoOf(MordantHelpFormatter).
|
|
3531
|
+
protoOf(MordantHelpFormatter).c47 = function (parameters) {
|
|
3532
3532
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3533
3533
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
3534
3534
|
var destination = ArrayList_init_$Create$();
|
|
@@ -3546,7 +3546,7 @@ protoOf(MordantHelpFormatter).d47 = function (parameters) {
|
|
|
3546
3546
|
while (_iterator__ex2g4s_0.h()) {
|
|
3547
3547
|
var item = _iterator__ex2g4s_0.i();
|
|
3548
3548
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3549
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3549
|
+
var tmp$ret$2 = new DefinitionRow(this.i46(this.h46(item.m44_1)), this.h47(item.n44_1, item.q44_1));
|
|
3550
3550
|
destination_0.e(tmp$ret$2);
|
|
3551
3551
|
}
|
|
3552
3552
|
var arguments_0 = destination_0;
|
|
@@ -3572,7 +3572,7 @@ protoOf(MordantHelpFormatter).d47 = function (parameters) {
|
|
|
3572
3572
|
var element_0 = _iterator__ex2g4s_1.i();
|
|
3573
3573
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderArguments.<anonymous>' call
|
|
3574
3574
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3575
|
-
var this_0 = element_0.
|
|
3575
|
+
var this_0 = element_0.s45_1;
|
|
3576
3576
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
3577
3577
|
tmp$ret$5 = false;
|
|
3578
3578
|
break $l$block_0;
|
|
@@ -3584,10 +3584,10 @@ protoOf(MordantHelpFormatter).d47 = function (parameters) {
|
|
|
3584
3584
|
}
|
|
3585
3585
|
if (tmp)
|
|
3586
3586
|
return emptyList();
|
|
3587
|
-
var title = this.
|
|
3588
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3587
|
+
var title = this.b47(this.y46(this.m46().i45()));
|
|
3588
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.c46(arguments_0)));
|
|
3589
3589
|
};
|
|
3590
|
-
protoOf(MordantHelpFormatter).
|
|
3590
|
+
protoOf(MordantHelpFormatter).d47 = function (parameters) {
|
|
3591
3591
|
// Inline function 'kotlin.collections.filterIsInstance' call
|
|
3592
3592
|
// Inline function 'kotlin.collections.filterIsInstanceTo' call
|
|
3593
3593
|
var destination = ArrayList_init_$Create$();
|
|
@@ -3605,16 +3605,16 @@ protoOf(MordantHelpFormatter).e47 = function (parameters) {
|
|
|
3605
3605
|
while (_iterator__ex2g4s_0.h()) {
|
|
3606
3606
|
var item = _iterator__ex2g4s_0.i();
|
|
3607
3607
|
// Inline function 'com.github.ajalt.clikt.output.MordantHelpFormatter.renderCommands.<anonymous>' call
|
|
3608
|
-
var tmp$ret$2 = new DefinitionRow(this.
|
|
3608
|
+
var tmp$ret$2 = new DefinitionRow(this.j46(item.r44_1), this.h47(item.s44_1, item.t44_1));
|
|
3609
3609
|
destination_0.e(tmp$ret$2);
|
|
3610
3610
|
}
|
|
3611
3611
|
var commands = destination_0;
|
|
3612
3612
|
if (commands.l())
|
|
3613
3613
|
return emptyList();
|
|
3614
|
-
var title = this.
|
|
3615
|
-
return listOf_0(RenderedSection_init_$Create$(title, this.
|
|
3614
|
+
var title = this.b47(this.y46(this.m46().j45()));
|
|
3615
|
+
return listOf_0(RenderedSection_init_$Create$(title, this.c46(commands)));
|
|
3616
3616
|
};
|
|
3617
|
-
protoOf(MordantHelpFormatter).
|
|
3617
|
+
protoOf(MordantHelpFormatter).h47 = function (help, tags) {
|
|
3618
3618
|
var tmp = asSequence(tags);
|
|
3619
3619
|
var tmp_0 = filter(tmp, MordantHelpFormatter$renderParameterHelpText$lambda(this));
|
|
3620
3620
|
var renderedTags = joinToString_0(tmp_0, ' ', VOID, VOID, VOID, VOID, MordantHelpFormatter$renderParameterHelpText$lambda_0(this));
|
|
@@ -3632,12 +3632,12 @@ protoOf(MordantHelpFormatter).i47 = function (help, tags) {
|
|
|
3632
3632
|
}
|
|
3633
3633
|
return tmp_1;
|
|
3634
3634
|
};
|
|
3635
|
-
protoOf(MordantHelpFormatter).
|
|
3635
|
+
protoOf(MordantHelpFormatter).d46 = function (tag, value) {
|
|
3636
3636
|
var tmp;
|
|
3637
3637
|
switch (tag) {
|
|
3638
3638
|
case 'default':
|
|
3639
3639
|
var tmp_0;
|
|
3640
|
-
if (this.
|
|
3640
|
+
if (this.y45_1) {
|
|
3641
3641
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
3642
3642
|
tmp_0 = !isBlank(value);
|
|
3643
3643
|
} else {
|
|
@@ -3647,7 +3647,7 @@ protoOf(MordantHelpFormatter).e46 = function (tag, value) {
|
|
|
3647
3647
|
tmp = tmp_0;
|
|
3648
3648
|
break;
|
|
3649
3649
|
case 'required':
|
|
3650
|
-
tmp = this.
|
|
3650
|
+
tmp = this.z45_1;
|
|
3651
3651
|
break;
|
|
3652
3652
|
default:
|
|
3653
3653
|
tmp = true;
|
|
@@ -3655,7 +3655,7 @@ protoOf(MordantHelpFormatter).e46 = function (tag, value) {
|
|
|
3655
3655
|
}
|
|
3656
3656
|
return tmp;
|
|
3657
3657
|
};
|
|
3658
|
-
protoOf(MordantHelpFormatter).
|
|
3658
|
+
protoOf(MordantHelpFormatter).f47 = function (names) {
|
|
3659
3659
|
// Inline function 'kotlin.collections.sortedBy' call
|
|
3660
3660
|
// Inline function 'kotlin.comparisons.compareBy' call
|
|
3661
3661
|
var tmp = MordantHelpFormatter$joinNamesForOption$lambda;
|
|
@@ -3663,77 +3663,77 @@ protoOf(MordantHelpFormatter).g47 = function (names) {
|
|
|
3663
3663
|
var tmp_0 = sortedWith(names, tmp$ret$0);
|
|
3664
3664
|
return joinToString(tmp_0, ', ', VOID, VOID, VOID, VOID, MordantHelpFormatter$joinNamesForOption$lambda_0(this));
|
|
3665
3665
|
};
|
|
3666
|
-
protoOf(MordantHelpFormatter).
|
|
3666
|
+
protoOf(MordantHelpFormatter).e46 = function (tag, value) {
|
|
3667
3667
|
var t;
|
|
3668
3668
|
switch (tag) {
|
|
3669
3669
|
case 'default':
|
|
3670
|
-
t = this.
|
|
3670
|
+
t = this.m46().n45();
|
|
3671
3671
|
break;
|
|
3672
3672
|
case 'required':
|
|
3673
|
-
t = this.
|
|
3673
|
+
t = this.m46().o45();
|
|
3674
3674
|
break;
|
|
3675
3675
|
default:
|
|
3676
3676
|
t = tag;
|
|
3677
3677
|
break;
|
|
3678
3678
|
}
|
|
3679
3679
|
var fullTag = isBlank(value) ? '(' + t + ')' : '(' + t + ': ' + value + ')';
|
|
3680
|
-
return tag === 'required' ? this.
|
|
3680
|
+
return tag === 'required' ? this.i47(fullTag) : this.j47(fullTag);
|
|
3681
3681
|
};
|
|
3682
|
-
protoOf(MordantHelpFormatter).
|
|
3683
|
-
var tmp0_elvis_lhs = option.
|
|
3684
|
-
var metavar = this.
|
|
3685
|
-
return toString(first(first_1(option.
|
|
3682
|
+
protoOf(MordantHelpFormatter).e47 = function (option) {
|
|
3683
|
+
var tmp0_elvis_lhs = option.f44_1;
|
|
3684
|
+
var metavar = this.h46(tmp0_elvis_lhs == null ? this.m46().f45() : tmp0_elvis_lhs);
|
|
3685
|
+
return toString(first(first_1(option.d44_1))) + metavar;
|
|
3686
3686
|
};
|
|
3687
|
-
protoOf(MordantHelpFormatter).
|
|
3687
|
+
protoOf(MordantHelpFormatter).h46 = function (name) {
|
|
3688
3688
|
// Inline function 'kotlin.text.lowercase' call
|
|
3689
3689
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3690
3690
|
return '<' + name.toLowerCase() + '>';
|
|
3691
3691
|
};
|
|
3692
|
+
protoOf(MordantHelpFormatter).i47 = function (name) {
|
|
3693
|
+
return this.n46().s3i('danger').t2j(name);
|
|
3694
|
+
};
|
|
3692
3695
|
protoOf(MordantHelpFormatter).j47 = function (name) {
|
|
3693
|
-
return this.
|
|
3696
|
+
return this.n46().s3i('muted').t2j(name);
|
|
3694
3697
|
};
|
|
3695
|
-
protoOf(MordantHelpFormatter).
|
|
3696
|
-
return this.
|
|
3698
|
+
protoOf(MordantHelpFormatter).f46 = function (name) {
|
|
3699
|
+
return this.n46().s3i('info').t2j(name);
|
|
3697
3700
|
};
|
|
3698
|
-
protoOf(MordantHelpFormatter).
|
|
3699
|
-
return this.
|
|
3701
|
+
protoOf(MordantHelpFormatter).i46 = function (name) {
|
|
3702
|
+
return this.n46().s3i('info').t2j(name);
|
|
3700
3703
|
};
|
|
3701
3704
|
protoOf(MordantHelpFormatter).j46 = function (name) {
|
|
3702
|
-
return this.
|
|
3705
|
+
return this.n46().s3i('info').t2j(name);
|
|
3703
3706
|
};
|
|
3704
|
-
protoOf(MordantHelpFormatter).
|
|
3705
|
-
return this.
|
|
3707
|
+
protoOf(MordantHelpFormatter).b47 = function (title) {
|
|
3708
|
+
return this.n46().s3i('warning').t2j(title);
|
|
3706
3709
|
};
|
|
3707
|
-
protoOf(MordantHelpFormatter).
|
|
3708
|
-
return this.
|
|
3710
|
+
protoOf(MordantHelpFormatter).v46 = function (title) {
|
|
3711
|
+
return this.n46().s3i('warning').t2j(title);
|
|
3709
3712
|
};
|
|
3710
|
-
protoOf(MordantHelpFormatter).
|
|
3711
|
-
return this.
|
|
3713
|
+
protoOf(MordantHelpFormatter).t46 = function (title) {
|
|
3714
|
+
return this.n46().s3i('danger').t2j(title);
|
|
3712
3715
|
};
|
|
3713
|
-
protoOf(MordantHelpFormatter).
|
|
3714
|
-
|
|
3716
|
+
protoOf(MordantHelpFormatter).k47 = function (metavar) {
|
|
3717
|
+
var style = this.n46().s3i('warning').r3g(this.n46().s3i('muted'));
|
|
3718
|
+
return style.t2j(metavar);
|
|
3715
3719
|
};
|
|
3716
|
-
protoOf(MordantHelpFormatter).
|
|
3717
|
-
var style = this.o46().t3i('warning').s3g(this.o46().t3i('muted'));
|
|
3718
|
-
return style.u2j(metavar);
|
|
3719
|
-
};
|
|
3720
|
-
protoOf(MordantHelpFormatter).v46 = function (context) {
|
|
3720
|
+
protoOf(MordantHelpFormatter).u46 = function (context) {
|
|
3721
3721
|
return new MordantHelpFormatter$parameterFormatter$1(this);
|
|
3722
3722
|
};
|
|
3723
|
-
protoOf(MordantHelpFormatter).
|
|
3723
|
+
protoOf(MordantHelpFormatter).w46 = function (metavar) {
|
|
3724
3724
|
return '[' + metavar + ']';
|
|
3725
3725
|
};
|
|
3726
|
-
protoOf(MordantHelpFormatter).
|
|
3726
|
+
protoOf(MordantHelpFormatter).x46 = function (metavar) {
|
|
3727
3727
|
return metavar + '...';
|
|
3728
3728
|
};
|
|
3729
|
-
protoOf(MordantHelpFormatter).
|
|
3729
|
+
protoOf(MordantHelpFormatter).l47 = function (metavar) {
|
|
3730
3730
|
return '=' + metavar;
|
|
3731
3731
|
};
|
|
3732
|
-
protoOf(MordantHelpFormatter).
|
|
3733
|
-
if (option.
|
|
3732
|
+
protoOf(MordantHelpFormatter).g47 = function (option) {
|
|
3733
|
+
if (option.f44_1 == null)
|
|
3734
3734
|
return '';
|
|
3735
3735
|
// Inline function 'kotlin.text.trim' call
|
|
3736
|
-
var this_0 = option.
|
|
3736
|
+
var this_0 = option.f44_1;
|
|
3737
3737
|
// Inline function 'kotlin.text.trim' call
|
|
3738
3738
|
var this_1 = isCharSequence(this_0) ? this_0 : THROW_CCE();
|
|
3739
3739
|
var startIndex = 0;
|
|
@@ -3759,24 +3759,24 @@ protoOf(MordantHelpFormatter).h47 = function (option) {
|
|
|
3759
3759
|
var tmp$ret$1 = charSequenceSubSequence(this_1, startIndex, endIndex + 1 | 0);
|
|
3760
3760
|
var metavar = toString_0(tmp$ret$1);
|
|
3761
3761
|
if (!contains(metavar, _Char___init__impl__6a9atx(124)))
|
|
3762
|
-
metavar = this.
|
|
3763
|
-
metavar = this.
|
|
3764
|
-
if (option.
|
|
3765
|
-
metavar = this.y46(metavar);
|
|
3766
|
-
metavar = this.m47(metavar);
|
|
3767
|
-
if (option.i44_1.d1_1 === 0)
|
|
3762
|
+
metavar = this.h46(metavar);
|
|
3763
|
+
metavar = this.k47(metavar);
|
|
3764
|
+
if (option.h44_1.e1_1 > 1)
|
|
3768
3765
|
metavar = this.x46(metavar);
|
|
3766
|
+
metavar = this.l47(metavar);
|
|
3767
|
+
if (option.h44_1.d1_1 === 0)
|
|
3768
|
+
metavar = this.w46(metavar);
|
|
3769
3769
|
return metavar;
|
|
3770
3770
|
};
|
|
3771
|
-
protoOf(MordantHelpFormatter).
|
|
3771
|
+
protoOf(MordantHelpFormatter).k46 = function (row) {
|
|
3772
3772
|
var tmp;
|
|
3773
3773
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3774
|
-
var this_0 = row.
|
|
3774
|
+
var this_0 = row.t45_1;
|
|
3775
3775
|
if (this_0 == null || charSequenceLength(this_0) === 0) {
|
|
3776
3776
|
tmp = ' ';
|
|
3777
3777
|
} else {
|
|
3778
3778
|
// Inline function 'kotlin.text.ifEmpty' call
|
|
3779
|
-
var this_1 = drop(' ', this.
|
|
3779
|
+
var this_1 = drop(' ', this.m47(row.t45_1));
|
|
3780
3780
|
var tmp_0;
|
|
3781
3781
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3782
3782
|
if (charSequenceLength(this_1) === 0) {
|
|
@@ -3786,18 +3786,18 @@ protoOf(MordantHelpFormatter).l46 = function (row) {
|
|
|
3786
3786
|
tmp_0 = this_1;
|
|
3787
3787
|
}
|
|
3788
3788
|
var tmp$ret$3 = tmp_0;
|
|
3789
|
-
tmp = row.
|
|
3789
|
+
tmp = row.t45_1 + tmp$ret$3;
|
|
3790
3790
|
}
|
|
3791
3791
|
var termPrefix = tmp;
|
|
3792
|
-
return Text_init_$Create$(termPrefix + row.
|
|
3792
|
+
return Text_init_$Create$(termPrefix + row.r45_1, Whitespace_PRE_WRAP_getInstance());
|
|
3793
3793
|
};
|
|
3794
|
-
protoOf(MordantHelpFormatter).
|
|
3795
|
-
return isBlank(row.
|
|
3794
|
+
protoOf(MordantHelpFormatter).l46 = function (row) {
|
|
3795
|
+
return isBlank(row.s45_1) ? Text_init_$Create$('') : new Markdown(row.s45_1, true);
|
|
3796
3796
|
};
|
|
3797
|
-
protoOf(MordantHelpFormatter).
|
|
3797
|
+
protoOf(MordantHelpFormatter).c46 = function (rows) {
|
|
3798
3798
|
return definitionList(MordantHelpFormatter$buildParameterList$lambda(rows, this));
|
|
3799
3799
|
};
|
|
3800
|
-
protoOf(MordantHelpFormatter).
|
|
3800
|
+
protoOf(MordantHelpFormatter).m47 = function (_this__u8e3s4) {
|
|
3801
3801
|
return get_graphemeLengthMpp(_this__u8e3s4);
|
|
3802
3802
|
};
|
|
3803
3803
|
function Argument_0() {
|
|
@@ -3813,117 +3813,117 @@ function argument(_this__u8e3s4, name, help, helpTags, completionCandidates) {
|
|
|
3813
3813
|
return new ProcessedArgumentImpl(name, 1, true, tmp, helpTags, completionCandidates, argument$lambda_0, defaultAllProcessor(), defaultValidator());
|
|
3814
3814
|
}
|
|
3815
3815
|
function ArgumentTransformContext(argument, context) {
|
|
3816
|
-
this.
|
|
3817
|
-
this.
|
|
3816
|
+
this.v47_1 = argument;
|
|
3817
|
+
this.w47_1 = context;
|
|
3818
3818
|
}
|
|
3819
3819
|
protoOf(ArgumentTransformContext).a9 = function () {
|
|
3820
|
-
return this.
|
|
3820
|
+
return this.w47_1;
|
|
3821
3821
|
};
|
|
3822
|
-
protoOf(ArgumentTransformContext).
|
|
3823
|
-
return this.
|
|
3822
|
+
protoOf(ArgumentTransformContext).p3x = function () {
|
|
3823
|
+
return this.v47_1.p3x();
|
|
3824
3824
|
};
|
|
3825
3825
|
protoOf(ArgumentTransformContext).s2 = function () {
|
|
3826
|
-
return this.
|
|
3826
|
+
return this.v47_1.s2();
|
|
3827
3827
|
};
|
|
3828
|
-
protoOf(ArgumentTransformContext).
|
|
3829
|
-
return this.
|
|
3828
|
+
protoOf(ArgumentTransformContext).q3x = function () {
|
|
3829
|
+
return this.v47_1.q3x();
|
|
3830
3830
|
};
|
|
3831
|
-
protoOf(ArgumentTransformContext).
|
|
3832
|
-
return this.
|
|
3831
|
+
protoOf(ArgumentTransformContext).n47 = function () {
|
|
3832
|
+
return this.v47_1.n47();
|
|
3833
3833
|
};
|
|
3834
|
-
protoOf(ArgumentTransformContext).
|
|
3835
|
-
this.
|
|
3834
|
+
protoOf(ArgumentTransformContext).c44 = function (context, values) {
|
|
3835
|
+
this.v47_1.c44(context, values);
|
|
3836
3836
|
};
|
|
3837
|
-
protoOf(ArgumentTransformContext).
|
|
3838
|
-
return this.
|
|
3837
|
+
protoOf(ArgumentTransformContext).a3y = function (context) {
|
|
3838
|
+
return this.v47_1.a3y(context);
|
|
3839
3839
|
};
|
|
3840
|
-
protoOf(ArgumentTransformContext).
|
|
3841
|
-
return this.
|
|
3840
|
+
protoOf(ArgumentTransformContext).k3y = function (context) {
|
|
3841
|
+
return this.v47_1.k3y(context);
|
|
3842
3842
|
};
|
|
3843
|
-
protoOf(ArgumentTransformContext).
|
|
3844
|
-
this.
|
|
3843
|
+
protoOf(ArgumentTransformContext).o47 = function (context) {
|
|
3844
|
+
this.v47_1.o47(context);
|
|
3845
3845
|
};
|
|
3846
|
-
protoOf(ArgumentTransformContext).
|
|
3847
|
-
throw BadParameterValue_init_$Create$(message, this.
|
|
3846
|
+
protoOf(ArgumentTransformContext).x47 = function (message) {
|
|
3847
|
+
throw BadParameterValue_init_$Create$(message, this.v47_1);
|
|
3848
3848
|
};
|
|
3849
3849
|
function ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, explicitCompletionCandidates, transformValue, transformAll, transformValidator) {
|
|
3850
|
-
this.
|
|
3851
|
-
this.
|
|
3852
|
-
this.
|
|
3853
|
-
this.
|
|
3854
|
-
this.
|
|
3855
|
-
this.
|
|
3856
|
-
this.
|
|
3857
|
-
this.
|
|
3858
|
-
this.
|
|
3850
|
+
this.y47_1 = name;
|
|
3851
|
+
this.z47_1 = nvalues;
|
|
3852
|
+
this.a48_1 = required;
|
|
3853
|
+
this.b48_1 = helpGetter;
|
|
3854
|
+
this.c48_1 = helpTags;
|
|
3855
|
+
this.d48_1 = explicitCompletionCandidates;
|
|
3856
|
+
this.e48_1 = transformValue;
|
|
3857
|
+
this.f48_1 = transformAll;
|
|
3858
|
+
this.g48_1 = transformValidator;
|
|
3859
3859
|
// Inline function 'kotlin.require' call
|
|
3860
|
-
if (!!(this.
|
|
3860
|
+
if (!!(this.z47_1 === 0)) {
|
|
3861
3861
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.<anonymous>' call
|
|
3862
3862
|
var message = 'Arguments cannot have nvalues == 0';
|
|
3863
3863
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
3864
3864
|
}
|
|
3865
|
-
this.
|
|
3865
|
+
this.h48_1 = new NullableLateinit('Cannot read from argument delegate before parsing command line');
|
|
3866
3866
|
}
|
|
3867
3867
|
protoOf(ProcessedArgumentImpl).s2 = function () {
|
|
3868
|
+
return this.y47_1;
|
|
3869
|
+
};
|
|
3870
|
+
protoOf(ProcessedArgumentImpl).q3x = function () {
|
|
3868
3871
|
return this.z47_1;
|
|
3869
3872
|
};
|
|
3870
|
-
protoOf(ProcessedArgumentImpl).
|
|
3873
|
+
protoOf(ProcessedArgumentImpl).n47 = function () {
|
|
3871
3874
|
return this.a48_1;
|
|
3872
3875
|
};
|
|
3873
|
-
protoOf(ProcessedArgumentImpl).
|
|
3876
|
+
protoOf(ProcessedArgumentImpl).p47 = function () {
|
|
3874
3877
|
return this.b48_1;
|
|
3875
3878
|
};
|
|
3876
|
-
protoOf(ProcessedArgumentImpl).
|
|
3879
|
+
protoOf(ProcessedArgumentImpl).q40 = function () {
|
|
3877
3880
|
return this.c48_1;
|
|
3878
3881
|
};
|
|
3879
|
-
protoOf(ProcessedArgumentImpl).
|
|
3882
|
+
protoOf(ProcessedArgumentImpl).r47 = function () {
|
|
3880
3883
|
return this.d48_1;
|
|
3881
3884
|
};
|
|
3882
|
-
protoOf(ProcessedArgumentImpl).
|
|
3885
|
+
protoOf(ProcessedArgumentImpl).q47 = function () {
|
|
3883
3886
|
return this.e48_1;
|
|
3884
3887
|
};
|
|
3885
|
-
protoOf(ProcessedArgumentImpl).
|
|
3886
|
-
|
|
3887
|
-
};
|
|
3888
|
-
protoOf(ProcessedArgumentImpl).b3y = function (context) {
|
|
3889
|
-
var tmp0_safe_receiver = this.c48_1;
|
|
3888
|
+
protoOf(ProcessedArgumentImpl).a3y = function (context) {
|
|
3889
|
+
var tmp0_safe_receiver = this.b48_1;
|
|
3890
3890
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
3891
3891
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3892
3892
|
};
|
|
3893
|
-
protoOf(ProcessedArgumentImpl).
|
|
3894
|
-
return this.
|
|
3893
|
+
protoOf(ProcessedArgumentImpl).i48 = function (_set____db54di) {
|
|
3894
|
+
return this.h48_1.l48(this, value$factory(), _set____db54di);
|
|
3895
3895
|
};
|
|
3896
3896
|
protoOf(ProcessedArgumentImpl).b1 = function () {
|
|
3897
|
-
return this.
|
|
3897
|
+
return this.h48_1.m48(this, value$factory_0());
|
|
3898
3898
|
};
|
|
3899
|
-
protoOf(ProcessedArgumentImpl).
|
|
3900
|
-
var tmp0_elvis_lhs = this.
|
|
3899
|
+
protoOf(ProcessedArgumentImpl).p3x = function () {
|
|
3900
|
+
var tmp0_elvis_lhs = this.d48_1;
|
|
3901
3901
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
3902
3902
|
};
|
|
3903
|
-
protoOf(ProcessedArgumentImpl).
|
|
3904
|
-
return new Argument(this.
|
|
3903
|
+
protoOf(ProcessedArgumentImpl).k3y = function (context) {
|
|
3904
|
+
return new Argument(this.y47_1, this.a3y(context), this.a48_1 || this.z47_1 > 1, this.z47_1 < 0, this.c48_1);
|
|
3905
3905
|
};
|
|
3906
|
-
protoOf(ProcessedArgumentImpl).
|
|
3906
|
+
protoOf(ProcessedArgumentImpl).n48 = function (thisRef, property) {
|
|
3907
3907
|
return this.b1();
|
|
3908
3908
|
};
|
|
3909
|
-
protoOf(ProcessedArgumentImpl).
|
|
3910
|
-
return this.
|
|
3909
|
+
protoOf(ProcessedArgumentImpl).o48 = function (thisRef, property) {
|
|
3910
|
+
return this.n48(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3911
3911
|
};
|
|
3912
|
-
protoOf(ProcessedArgumentImpl).
|
|
3913
|
-
if (isBlank(this.
|
|
3912
|
+
protoOf(ProcessedArgumentImpl).p48 = function (thisRef, property) {
|
|
3913
|
+
if (isBlank(this.y47_1)) {
|
|
3914
3914
|
var tmp = this;
|
|
3915
3915
|
// Inline function 'kotlin.text.uppercase' call
|
|
3916
3916
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3917
3917
|
var tmp$ret$1 = property.callableName.toUpperCase();
|
|
3918
|
-
tmp.
|
|
3918
|
+
tmp.y47_1 = replace_0(tmp$ret$1, '-', '_');
|
|
3919
3919
|
}
|
|
3920
|
-
thisRef.
|
|
3920
|
+
thisRef.q3y(this);
|
|
3921
3921
|
return this;
|
|
3922
3922
|
};
|
|
3923
|
-
protoOf(ProcessedArgumentImpl).
|
|
3924
|
-
return this.
|
|
3923
|
+
protoOf(ProcessedArgumentImpl).u47 = function (thisRef, property) {
|
|
3924
|
+
return this.p48(thisRef instanceof CliktCommand ? thisRef : THROW_CCE(), property);
|
|
3925
3925
|
};
|
|
3926
|
-
protoOf(ProcessedArgumentImpl).
|
|
3926
|
+
protoOf(ProcessedArgumentImpl).c44 = function (context, values) {
|
|
3927
3927
|
var ctx = new ArgumentTransformContext(this, context);
|
|
3928
3928
|
// Inline function 'kotlin.collections.map' call
|
|
3929
3929
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3932,15 +3932,15 @@ protoOf(ProcessedArgumentImpl).d44 = function (context, values) {
|
|
|
3932
3932
|
while (_iterator__ex2g4s.h()) {
|
|
3933
3933
|
var item = _iterator__ex2g4s.i();
|
|
3934
3934
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.finalize.<anonymous>' call
|
|
3935
|
-
var tmp$ret$0 = this.
|
|
3935
|
+
var tmp$ret$0 = this.e48_1(ctx, item);
|
|
3936
3936
|
destination.e(tmp$ret$0);
|
|
3937
3937
|
}
|
|
3938
|
-
this.
|
|
3938
|
+
this.i48(this.f48_1(ctx, destination));
|
|
3939
3939
|
};
|
|
3940
|
-
protoOf(ProcessedArgumentImpl).
|
|
3941
|
-
this.
|
|
3940
|
+
protoOf(ProcessedArgumentImpl).o47 = function (context) {
|
|
3941
|
+
this.g48_1(new ArgumentTransformContext(this, context), this.b1());
|
|
3942
3942
|
};
|
|
3943
|
-
protoOf(ProcessedArgumentImpl).
|
|
3943
|
+
protoOf(ProcessedArgumentImpl).s47 = function (transformValue, transformAll, validator, name, nvalues, required, helpGetter, helpTags, completionCandidates) {
|
|
3944
3944
|
return new ProcessedArgumentImpl(name, nvalues, required, helpGetter, helpTags, completionCandidates, transformValue, transformAll, validator);
|
|
3945
3945
|
};
|
|
3946
3946
|
protoOf(ProcessedArgumentImpl).toString = function () {
|
|
@@ -3948,7 +3948,7 @@ protoOf(ProcessedArgumentImpl).toString = function () {
|
|
|
3948
3948
|
// Inline function 'kotlin.apply' call
|
|
3949
3949
|
var this_0 = StringBuilder_init_$Create$();
|
|
3950
3950
|
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>' call
|
|
3951
|
-
this_0.b8(this.
|
|
3951
|
+
this_0.b8(this.y47_1);
|
|
3952
3952
|
// Inline function 'kotlin.runCatching' call
|
|
3953
3953
|
var tmp;
|
|
3954
3954
|
try {
|
|
@@ -4001,14 +4001,14 @@ function value$factory() {
|
|
|
4001
4001
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4002
4002
|
return receiver.b1();
|
|
4003
4003
|
}, function (receiver, value) {
|
|
4004
|
-
return receiver.
|
|
4004
|
+
return receiver.i48(value);
|
|
4005
4005
|
});
|
|
4006
4006
|
}
|
|
4007
4007
|
function value$factory_0() {
|
|
4008
4008
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4009
4009
|
return receiver.b1();
|
|
4010
4010
|
}, function (receiver, value) {
|
|
4011
|
-
return receiver.
|
|
4011
|
+
return receiver.i48(value);
|
|
4012
4012
|
});
|
|
4013
4013
|
}
|
|
4014
4014
|
function ParameterGroup() {
|
|
@@ -4020,29 +4020,29 @@ function UNINITIALIZED_getInstance() {
|
|
|
4020
4020
|
return UNINITIALIZED_instance;
|
|
4021
4021
|
}
|
|
4022
4022
|
function NullableLateinit(errorMessage) {
|
|
4023
|
-
this.
|
|
4024
|
-
this.
|
|
4023
|
+
this.j48_1 = errorMessage;
|
|
4024
|
+
this.k48_1 = UNINITIALIZED_instance;
|
|
4025
4025
|
}
|
|
4026
|
-
protoOf(NullableLateinit).
|
|
4027
|
-
if (this.
|
|
4028
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4026
|
+
protoOf(NullableLateinit).m48 = function (thisRef, property) {
|
|
4027
|
+
if (this.k48_1 === UNINITIALIZED_instance)
|
|
4028
|
+
throw IllegalStateException_init_$Create$(this.j48_1);
|
|
4029
4029
|
try {
|
|
4030
|
-
var tmp = this.
|
|
4030
|
+
var tmp = this.k48_1;
|
|
4031
4031
|
return (tmp == null ? true : !(tmp == null)) ? tmp : THROW_CCE();
|
|
4032
4032
|
} catch ($p) {
|
|
4033
4033
|
if ($p instanceof ClassCastException) {
|
|
4034
4034
|
var e = $p;
|
|
4035
|
-
throw IllegalStateException_init_$Create$(this.
|
|
4035
|
+
throw IllegalStateException_init_$Create$(this.j48_1);
|
|
4036
4036
|
} else {
|
|
4037
4037
|
throw $p;
|
|
4038
4038
|
}
|
|
4039
4039
|
}
|
|
4040
4040
|
};
|
|
4041
|
-
protoOf(NullableLateinit).
|
|
4042
|
-
return this.
|
|
4041
|
+
protoOf(NullableLateinit).o48 = function (thisRef, property) {
|
|
4042
|
+
return this.m48(!(thisRef == null) ? thisRef : THROW_CCE(), property);
|
|
4043
4043
|
};
|
|
4044
|
-
protoOf(NullableLateinit).
|
|
4045
|
-
this.
|
|
4044
|
+
protoOf(NullableLateinit).l48 = function (thisRef, property, value) {
|
|
4045
|
+
this.k48_1 = value;
|
|
4046
4046
|
};
|
|
4047
4047
|
function eagerOption(_this__u8e3s4, names, help, hidden, helpTags, groupName, action) {
|
|
4048
4048
|
help = help === VOID ? '' : help;
|
|
@@ -4053,12 +4053,12 @@ function eagerOption(_this__u8e3s4, names, help, hidden, helpTags, groupName, ac
|
|
|
4053
4053
|
var tmp$ret$0 = copyToArray(names);
|
|
4054
4054
|
// Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
|
|
4055
4055
|
var this_0 = flag(option(_this__u8e3s4, tmp$ret$0.slice(), help, VOID, hidden, VOID, helpTags, VOID, VOID, true), []);
|
|
4056
|
-
var tmp = this_0.
|
|
4057
|
-
var tmp_0 = this_0.
|
|
4058
|
-
var tmp_1 = this_0.
|
|
4059
|
-
var o = this_0.
|
|
4060
|
-
o.
|
|
4061
|
-
_this__u8e3s4.
|
|
4056
|
+
var tmp = this_0.q47();
|
|
4057
|
+
var tmp_0 = this_0.r48();
|
|
4058
|
+
var tmp_1 = this_0.s48();
|
|
4059
|
+
var o = this_0.t48(tmp, tmp_0, tmp_1, eagerOption$lambda(action));
|
|
4060
|
+
o.v40(groupName);
|
|
4061
|
+
_this__u8e3s4.p3y(o);
|
|
4062
4062
|
return _this__u8e3s4;
|
|
4063
4063
|
}
|
|
4064
4064
|
function eagerOption$lambda($action) {
|
|
@@ -4078,22 +4078,22 @@ function flag(_this__u8e3s4, secondaryNames, default_1, defaultForHelp) {
|
|
|
4078
4078
|
function nullableFlag(_this__u8e3s4, secondaryNames) {
|
|
4079
4079
|
var tmp = boolean(_this__u8e3s4);
|
|
4080
4080
|
var tmp_0 = numberRangeToNumber(0, 0);
|
|
4081
|
-
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).
|
|
4081
|
+
return transformValues(tmp, tmp_0, nullableFlag$lambda(secondaryNames)).u48(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, toSet_0(secondaryNames));
|
|
4082
4082
|
}
|
|
4083
4083
|
function nullableFlag$lambda($secondaryNames) {
|
|
4084
4084
|
return function ($this$transformValues, it) {
|
|
4085
4085
|
var tmp;
|
|
4086
4086
|
if (it.j() > 1) {
|
|
4087
|
-
$this$transformValues.
|
|
4087
|
+
$this$transformValues.x47($this$transformValues.x48_1.g3x_1.b45($this$transformValues.v48_1));
|
|
4088
4088
|
}
|
|
4089
4089
|
var tmp0_elvis_lhs = lastOrNull(it);
|
|
4090
|
-
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.
|
|
4090
|
+
return tmp0_elvis_lhs == null ? !contains_0($secondaryNames, $this$transformValues.v48_1) : tmp0_elvis_lhs;
|
|
4091
4091
|
};
|
|
4092
4092
|
}
|
|
4093
4093
|
function Option_0() {
|
|
4094
4094
|
}
|
|
4095
4095
|
function longestName(_this__u8e3s4) {
|
|
4096
|
-
var tmp0 = _this__u8e3s4.
|
|
4096
|
+
var tmp0 = _this__u8e3s4.q3w();
|
|
4097
4097
|
var tmp$ret$0;
|
|
4098
4098
|
$l$block_0: {
|
|
4099
4099
|
// Inline function 'kotlin.collections.maxByOrNull' call
|
|
@@ -4188,13 +4188,13 @@ function OptionDelegate() {
|
|
|
4188
4188
|
}
|
|
4189
4189
|
function Parsed(values) {
|
|
4190
4190
|
FinalValue.call(this);
|
|
4191
|
-
this.
|
|
4191
|
+
this.b49_1 = values;
|
|
4192
4192
|
}
|
|
4193
4193
|
protoOf(Parsed).toString = function () {
|
|
4194
|
-
return 'Parsed(values=' + toString_0(this.
|
|
4194
|
+
return 'Parsed(values=' + toString_0(this.b49_1) + ')';
|
|
4195
4195
|
};
|
|
4196
4196
|
protoOf(Parsed).hashCode = function () {
|
|
4197
|
-
return hashCode(this.
|
|
4197
|
+
return hashCode(this.b49_1);
|
|
4198
4198
|
};
|
|
4199
4199
|
protoOf(Parsed).equals = function (other) {
|
|
4200
4200
|
if (this === other)
|
|
@@ -4202,19 +4202,19 @@ protoOf(Parsed).equals = function (other) {
|
|
|
4202
4202
|
if (!(other instanceof Parsed))
|
|
4203
4203
|
return false;
|
|
4204
4204
|
var tmp0_other_with_cast = other instanceof Parsed ? other : THROW_CCE();
|
|
4205
|
-
if (!equals(this.
|
|
4205
|
+
if (!equals(this.b49_1, tmp0_other_with_cast.b49_1))
|
|
4206
4206
|
return false;
|
|
4207
4207
|
return true;
|
|
4208
4208
|
};
|
|
4209
4209
|
function Sourced(values) {
|
|
4210
4210
|
FinalValue.call(this);
|
|
4211
|
-
this.
|
|
4211
|
+
this.c49_1 = values;
|
|
4212
4212
|
}
|
|
4213
4213
|
protoOf(Sourced).toString = function () {
|
|
4214
|
-
return 'Sourced(values=' + toString_0(this.
|
|
4214
|
+
return 'Sourced(values=' + toString_0(this.c49_1) + ')';
|
|
4215
4215
|
};
|
|
4216
4216
|
protoOf(Sourced).hashCode = function () {
|
|
4217
|
-
return hashCode(this.
|
|
4217
|
+
return hashCode(this.c49_1);
|
|
4218
4218
|
};
|
|
4219
4219
|
protoOf(Sourced).equals = function (other) {
|
|
4220
4220
|
if (this === other)
|
|
@@ -4222,21 +4222,21 @@ protoOf(Sourced).equals = function (other) {
|
|
|
4222
4222
|
if (!(other instanceof Sourced))
|
|
4223
4223
|
return false;
|
|
4224
4224
|
var tmp0_other_with_cast = other instanceof Sourced ? other : THROW_CCE();
|
|
4225
|
-
if (!equals(this.
|
|
4225
|
+
if (!equals(this.c49_1, tmp0_other_with_cast.c49_1))
|
|
4226
4226
|
return false;
|
|
4227
4227
|
return true;
|
|
4228
4228
|
};
|
|
4229
4229
|
function Envvar(key, value) {
|
|
4230
4230
|
FinalValue.call(this);
|
|
4231
|
-
this.
|
|
4232
|
-
this.
|
|
4231
|
+
this.d49_1 = key;
|
|
4232
|
+
this.e49_1 = value;
|
|
4233
4233
|
}
|
|
4234
4234
|
protoOf(Envvar).toString = function () {
|
|
4235
|
-
return 'Envvar(key=' + this.
|
|
4235
|
+
return 'Envvar(key=' + this.d49_1 + ', value=' + this.e49_1 + ')';
|
|
4236
4236
|
};
|
|
4237
4237
|
protoOf(Envvar).hashCode = function () {
|
|
4238
|
-
var result = getStringHashCode(this.
|
|
4239
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
4238
|
+
var result = getStringHashCode(this.d49_1);
|
|
4239
|
+
result = imul(result, 31) + getStringHashCode(this.e49_1) | 0;
|
|
4240
4240
|
return result;
|
|
4241
4241
|
};
|
|
4242
4242
|
protoOf(Envvar).equals = function (other) {
|
|
@@ -4245,9 +4245,9 @@ protoOf(Envvar).equals = function (other) {
|
|
|
4245
4245
|
if (!(other instanceof Envvar))
|
|
4246
4246
|
return false;
|
|
4247
4247
|
var tmp0_other_with_cast = other instanceof Envvar ? other : THROW_CCE();
|
|
4248
|
-
if (!(this.
|
|
4248
|
+
if (!(this.d49_1 === tmp0_other_with_cast.d49_1))
|
|
4249
4249
|
return false;
|
|
4250
|
-
if (!(this.
|
|
4250
|
+
if (!(this.e49_1 === tmp0_other_with_cast.e49_1))
|
|
4251
4251
|
return false;
|
|
4252
4252
|
return true;
|
|
4253
4253
|
};
|
|
@@ -4259,7 +4259,7 @@ function getFinalValue(_this__u8e3s4, context, invocations, envvar) {
|
|
|
4259
4259
|
if (!invocations.l()) {
|
|
4260
4260
|
tmp = new Parsed(invocations);
|
|
4261
4261
|
} else {
|
|
4262
|
-
if (context.
|
|
4262
|
+
if (context.d3x_1) {
|
|
4263
4263
|
var tmp0_elvis_lhs = readEnvVar(_this__u8e3s4, context, envvar);
|
|
4264
4264
|
tmp = tmp0_elvis_lhs == null ? readValueSource(_this__u8e3s4, context) : tmp0_elvis_lhs;
|
|
4265
4265
|
} else {
|
|
@@ -4307,7 +4307,7 @@ function inferOptionNames(names, propertyName) {
|
|
|
4307
4307
|
return setOf_0(normalizedName);
|
|
4308
4308
|
}
|
|
4309
4309
|
function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
4310
|
-
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.
|
|
4310
|
+
var tmp0_elvis_lhs = inferEnvvar(_this__u8e3s4.q3w(), envvar, context.w3w_1);
|
|
4311
4311
|
var tmp;
|
|
4312
4312
|
if (tmp0_elvis_lhs == null) {
|
|
4313
4313
|
return null;
|
|
@@ -4315,7 +4315,7 @@ function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
|
4315
4315
|
tmp = tmp0_elvis_lhs;
|
|
4316
4316
|
}
|
|
4317
4317
|
var env = tmp;
|
|
4318
|
-
var tmp1_safe_receiver = context.
|
|
4318
|
+
var tmp1_safe_receiver = context.h3x_1(env);
|
|
4319
4319
|
var tmp_0;
|
|
4320
4320
|
if (tmp1_safe_receiver == null) {
|
|
4321
4321
|
tmp_0 = null;
|
|
@@ -4327,8 +4327,8 @@ function readEnvVar(_this__u8e3s4, context, envvar) {
|
|
|
4327
4327
|
return tmp_0;
|
|
4328
4328
|
}
|
|
4329
4329
|
function readValueSource(_this__u8e3s4, context) {
|
|
4330
|
-
var tmp0_safe_receiver = context.
|
|
4331
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4330
|
+
var tmp0_safe_receiver = context.e3x_1;
|
|
4331
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f49(context, _this__u8e3s4);
|
|
4332
4332
|
var tmp;
|
|
4333
4333
|
if (tmp1_safe_receiver == null) {
|
|
4334
4334
|
tmp = null;
|
|
@@ -4358,56 +4358,56 @@ function inferOptionNames$lambda(it) {
|
|
|
4358
4358
|
return toString(charSequenceGet(it.b1(), 0)) + '-' + toString(charSequenceGet(it.b1(), 1));
|
|
4359
4359
|
}
|
|
4360
4360
|
function OptionTransformContext(option, context) {
|
|
4361
|
-
this.
|
|
4362
|
-
this.
|
|
4361
|
+
this.e3y_1 = option;
|
|
4362
|
+
this.f3y_1 = context;
|
|
4363
4363
|
}
|
|
4364
4364
|
protoOf(OptionTransformContext).a9 = function () {
|
|
4365
|
-
return this.
|
|
4365
|
+
return this.f3y_1;
|
|
4366
4366
|
};
|
|
4367
|
-
protoOf(OptionTransformContext).
|
|
4368
|
-
return this.
|
|
4367
|
+
protoOf(OptionTransformContext).o3y = function () {
|
|
4368
|
+
return this.e3y_1.o3y();
|
|
4369
4369
|
};
|
|
4370
|
-
protoOf(OptionTransformContext).
|
|
4371
|
-
return this.
|
|
4370
|
+
protoOf(OptionTransformContext).t40 = function () {
|
|
4371
|
+
return this.e3y_1.t40();
|
|
4372
4372
|
};
|
|
4373
|
-
protoOf(OptionTransformContext).
|
|
4374
|
-
return this.
|
|
4373
|
+
protoOf(OptionTransformContext).p3x = function () {
|
|
4374
|
+
return this.e3y_1.p3x();
|
|
4375
4375
|
};
|
|
4376
|
-
protoOf(OptionTransformContext).
|
|
4377
|
-
return this.
|
|
4376
|
+
protoOf(OptionTransformContext).s40 = function () {
|
|
4377
|
+
return this.e3y_1.s40();
|
|
4378
4378
|
};
|
|
4379
|
-
protoOf(OptionTransformContext).
|
|
4380
|
-
return this.
|
|
4379
|
+
protoOf(OptionTransformContext).q40 = function () {
|
|
4380
|
+
return this.e3y_1.q40();
|
|
4381
4381
|
};
|
|
4382
|
-
protoOf(OptionTransformContext).
|
|
4383
|
-
return this.
|
|
4382
|
+
protoOf(OptionTransformContext).o3x = function () {
|
|
4383
|
+
return this.e3y_1.o3x();
|
|
4384
4384
|
};
|
|
4385
|
-
protoOf(OptionTransformContext).
|
|
4386
|
-
return this.
|
|
4385
|
+
protoOf(OptionTransformContext).q3w = function () {
|
|
4386
|
+
return this.e3y_1.q3w();
|
|
4387
4387
|
};
|
|
4388
|
-
protoOf(OptionTransformContext).
|
|
4389
|
-
return this.
|
|
4388
|
+
protoOf(OptionTransformContext).q3x = function () {
|
|
4389
|
+
return this.e3y_1.q3x();
|
|
4390
4390
|
};
|
|
4391
|
-
protoOf(OptionTransformContext).
|
|
4392
|
-
return this.
|
|
4391
|
+
protoOf(OptionTransformContext).r3w = function () {
|
|
4392
|
+
return this.e3y_1.r3w();
|
|
4393
4393
|
};
|
|
4394
|
-
protoOf(OptionTransformContext).
|
|
4395
|
-
this.
|
|
4394
|
+
protoOf(OptionTransformContext).z43 = function (context, invocations) {
|
|
4395
|
+
this.e3y_1.z43(context, invocations);
|
|
4396
4396
|
};
|
|
4397
|
-
protoOf(OptionTransformContext).
|
|
4398
|
-
return this.
|
|
4397
|
+
protoOf(OptionTransformContext).y48 = function (context) {
|
|
4398
|
+
return this.e3y_1.y48(context);
|
|
4399
4399
|
};
|
|
4400
|
-
protoOf(OptionTransformContext).
|
|
4401
|
-
return this.
|
|
4400
|
+
protoOf(OptionTransformContext).z3x = function (context) {
|
|
4401
|
+
return this.e3y_1.z3x(context);
|
|
4402
4402
|
};
|
|
4403
|
-
protoOf(OptionTransformContext).
|
|
4404
|
-
return this.
|
|
4403
|
+
protoOf(OptionTransformContext).k3y = function (context) {
|
|
4404
|
+
return this.e3y_1.k3y(context);
|
|
4405
4405
|
};
|
|
4406
|
-
protoOf(OptionTransformContext).
|
|
4407
|
-
this.
|
|
4406
|
+
protoOf(OptionTransformContext).o47 = function (context) {
|
|
4407
|
+
this.e3y_1.o47(context);
|
|
4408
4408
|
};
|
|
4409
|
-
protoOf(OptionTransformContext).
|
|
4410
|
-
throw BadParameterValue_init_$Create$_0(message, this.
|
|
4409
|
+
protoOf(OptionTransformContext).x47 = function (message) {
|
|
4410
|
+
throw BadParameterValue_init_$Create$_0(message, this.e3y_1);
|
|
4411
4411
|
};
|
|
4412
4412
|
function OptionWithValues() {
|
|
4413
4413
|
}
|
|
@@ -4439,146 +4439,146 @@ function option(_this__u8e3s4, names, help, metavar, hidden, envvar, helpTags, c
|
|
|
4439
4439
|
return new OptionWithValuesImpl(tmp1_names, tmp2_metavarGetter, tmp3_nvalues, tmp_0, hidden, helpTags, valueSourceKey, envvar, null, completionCandidates, tmp4_secondaryNames, false, true, eager, option$lambda_1, tmp5_transformEach, tmp6_transformAll, tmp7_transformValidator);
|
|
4440
4440
|
}
|
|
4441
4441
|
function OptionCallTransformContext(name, option, context) {
|
|
4442
|
-
this.
|
|
4443
|
-
this.
|
|
4444
|
-
this.
|
|
4442
|
+
this.v48_1 = name;
|
|
4443
|
+
this.w48_1 = option;
|
|
4444
|
+
this.x48_1 = context;
|
|
4445
4445
|
}
|
|
4446
4446
|
protoOf(OptionCallTransformContext).a9 = function () {
|
|
4447
|
-
return this.
|
|
4447
|
+
return this.x48_1;
|
|
4448
4448
|
};
|
|
4449
|
-
protoOf(OptionCallTransformContext).
|
|
4450
|
-
return this.
|
|
4449
|
+
protoOf(OptionCallTransformContext).o3y = function () {
|
|
4450
|
+
return this.w48_1.o3y();
|
|
4451
4451
|
};
|
|
4452
|
-
protoOf(OptionCallTransformContext).
|
|
4453
|
-
return this.
|
|
4452
|
+
protoOf(OptionCallTransformContext).t40 = function () {
|
|
4453
|
+
return this.w48_1.t40();
|
|
4454
4454
|
};
|
|
4455
|
-
protoOf(OptionCallTransformContext).
|
|
4456
|
-
return this.
|
|
4455
|
+
protoOf(OptionCallTransformContext).p3x = function () {
|
|
4456
|
+
return this.w48_1.p3x();
|
|
4457
4457
|
};
|
|
4458
|
-
protoOf(OptionCallTransformContext).
|
|
4459
|
-
return this.
|
|
4458
|
+
protoOf(OptionCallTransformContext).s40 = function () {
|
|
4459
|
+
return this.w48_1.s40();
|
|
4460
4460
|
};
|
|
4461
|
-
protoOf(OptionCallTransformContext).
|
|
4462
|
-
return this.
|
|
4461
|
+
protoOf(OptionCallTransformContext).q40 = function () {
|
|
4462
|
+
return this.w48_1.q40();
|
|
4463
4463
|
};
|
|
4464
|
-
protoOf(OptionCallTransformContext).
|
|
4465
|
-
return this.
|
|
4464
|
+
protoOf(OptionCallTransformContext).o3x = function () {
|
|
4465
|
+
return this.w48_1.o3x();
|
|
4466
4466
|
};
|
|
4467
|
-
protoOf(OptionCallTransformContext).
|
|
4468
|
-
return this.
|
|
4467
|
+
protoOf(OptionCallTransformContext).q3w = function () {
|
|
4468
|
+
return this.w48_1.q3w();
|
|
4469
4469
|
};
|
|
4470
|
-
protoOf(OptionCallTransformContext).
|
|
4471
|
-
return this.
|
|
4470
|
+
protoOf(OptionCallTransformContext).q3x = function () {
|
|
4471
|
+
return this.w48_1.q3x();
|
|
4472
4472
|
};
|
|
4473
|
-
protoOf(OptionCallTransformContext).
|
|
4474
|
-
return this.
|
|
4473
|
+
protoOf(OptionCallTransformContext).r3w = function () {
|
|
4474
|
+
return this.w48_1.r3w();
|
|
4475
4475
|
};
|
|
4476
|
-
protoOf(OptionCallTransformContext).
|
|
4477
|
-
this.
|
|
4476
|
+
protoOf(OptionCallTransformContext).z43 = function (context, invocations) {
|
|
4477
|
+
this.w48_1.z43(context, invocations);
|
|
4478
4478
|
};
|
|
4479
|
-
protoOf(OptionCallTransformContext).
|
|
4480
|
-
return this.
|
|
4479
|
+
protoOf(OptionCallTransformContext).y48 = function (context) {
|
|
4480
|
+
return this.w48_1.y48(context);
|
|
4481
4481
|
};
|
|
4482
|
-
protoOf(OptionCallTransformContext).
|
|
4483
|
-
return this.
|
|
4482
|
+
protoOf(OptionCallTransformContext).z3x = function (context) {
|
|
4483
|
+
return this.w48_1.z3x(context);
|
|
4484
4484
|
};
|
|
4485
|
-
protoOf(OptionCallTransformContext).
|
|
4486
|
-
return this.
|
|
4485
|
+
protoOf(OptionCallTransformContext).k3y = function (context) {
|
|
4486
|
+
return this.w48_1.k3y(context);
|
|
4487
4487
|
};
|
|
4488
|
-
protoOf(OptionCallTransformContext).
|
|
4489
|
-
this.
|
|
4488
|
+
protoOf(OptionCallTransformContext).o47 = function (context) {
|
|
4489
|
+
this.w48_1.o47(context);
|
|
4490
4490
|
};
|
|
4491
|
-
protoOf(OptionCallTransformContext).
|
|
4492
|
-
throw BadParameterValue_init_$Create$_1(message, this.
|
|
4491
|
+
protoOf(OptionCallTransformContext).x47 = function (message) {
|
|
4492
|
+
throw BadParameterValue_init_$Create$_1(message, this.w48_1, this.v48_1);
|
|
4493
4493
|
};
|
|
4494
4494
|
function OptionWithValuesImpl$metavar$lambda($this$null) {
|
|
4495
|
-
return $this$null.
|
|
4495
|
+
return $this$null.g3x_1.e45();
|
|
4496
4496
|
}
|
|
4497
4497
|
function OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, explicitCompletionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, transformValidator) {
|
|
4498
|
-
this.
|
|
4499
|
-
this.
|
|
4500
|
-
this.
|
|
4501
|
-
this.
|
|
4502
|
-
this.
|
|
4503
|
-
this.
|
|
4504
|
-
this.
|
|
4505
|
-
this.
|
|
4506
|
-
this.
|
|
4507
|
-
this.
|
|
4508
|
-
this.
|
|
4509
|
-
this.
|
|
4510
|
-
this.
|
|
4511
|
-
this.
|
|
4512
|
-
this.
|
|
4513
|
-
this.
|
|
4514
|
-
this.
|
|
4498
|
+
this.m49_1 = metavarGetter;
|
|
4499
|
+
this.n49_1 = nvalues;
|
|
4500
|
+
this.o49_1 = helpGetter;
|
|
4501
|
+
this.p49_1 = hidden;
|
|
4502
|
+
this.q49_1 = helpTags;
|
|
4503
|
+
this.r49_1 = valueSourceKey;
|
|
4504
|
+
this.s49_1 = envvar;
|
|
4505
|
+
this.t49_1 = valueSplit;
|
|
4506
|
+
this.u49_1 = explicitCompletionCandidates;
|
|
4507
|
+
this.v49_1 = secondaryNames;
|
|
4508
|
+
this.w49_1 = acceptsNumberValueWithoutName;
|
|
4509
|
+
this.x49_1 = acceptsUnattachedValue;
|
|
4510
|
+
this.y49_1 = eager;
|
|
4511
|
+
this.z49_1 = transformValue;
|
|
4512
|
+
this.a4a_1 = transformEach;
|
|
4513
|
+
this.b4a_1 = transformAll;
|
|
4514
|
+
this.c4a_1 = transformValidator;
|
|
4515
|
+
this.d4a_1 = null;
|
|
4515
4516
|
this.e4a_1 = null;
|
|
4516
|
-
this.f4a_1 =
|
|
4517
|
-
this.g4a_1 =
|
|
4518
|
-
this.h4a_1 = names;
|
|
4517
|
+
this.f4a_1 = new NullableLateinit('Cannot read from option delegate before parsing command line');
|
|
4518
|
+
this.g4a_1 = names;
|
|
4519
4519
|
}
|
|
4520
|
-
protoOf(OptionWithValuesImpl).
|
|
4520
|
+
protoOf(OptionWithValuesImpl).i49 = function () {
|
|
4521
|
+
return this.m49_1;
|
|
4522
|
+
};
|
|
4523
|
+
protoOf(OptionWithValuesImpl).q3x = function () {
|
|
4521
4524
|
return this.n49_1;
|
|
4522
4525
|
};
|
|
4523
|
-
protoOf(OptionWithValuesImpl).
|
|
4526
|
+
protoOf(OptionWithValuesImpl).p47 = function () {
|
|
4524
4527
|
return this.o49_1;
|
|
4525
4528
|
};
|
|
4526
|
-
protoOf(OptionWithValuesImpl).
|
|
4529
|
+
protoOf(OptionWithValuesImpl).o3x = function () {
|
|
4527
4530
|
return this.p49_1;
|
|
4528
4531
|
};
|
|
4529
|
-
protoOf(OptionWithValuesImpl).
|
|
4532
|
+
protoOf(OptionWithValuesImpl).q40 = function () {
|
|
4530
4533
|
return this.q49_1;
|
|
4531
4534
|
};
|
|
4532
4535
|
protoOf(OptionWithValuesImpl).r40 = function () {
|
|
4533
4536
|
return this.r49_1;
|
|
4534
4537
|
};
|
|
4535
|
-
protoOf(OptionWithValuesImpl).
|
|
4538
|
+
protoOf(OptionWithValuesImpl).g49 = function () {
|
|
4536
4539
|
return this.s49_1;
|
|
4537
4540
|
};
|
|
4538
|
-
protoOf(OptionWithValuesImpl).
|
|
4541
|
+
protoOf(OptionWithValuesImpl).j49 = function () {
|
|
4539
4542
|
return this.t49_1;
|
|
4540
4543
|
};
|
|
4541
|
-
protoOf(OptionWithValuesImpl).
|
|
4544
|
+
protoOf(OptionWithValuesImpl).r47 = function () {
|
|
4542
4545
|
return this.u49_1;
|
|
4543
4546
|
};
|
|
4544
|
-
protoOf(OptionWithValuesImpl).
|
|
4547
|
+
protoOf(OptionWithValuesImpl).r3w = function () {
|
|
4545
4548
|
return this.v49_1;
|
|
4546
4549
|
};
|
|
4547
|
-
protoOf(OptionWithValuesImpl).
|
|
4550
|
+
protoOf(OptionWithValuesImpl).o3y = function () {
|
|
4548
4551
|
return this.w49_1;
|
|
4549
4552
|
};
|
|
4550
|
-
protoOf(OptionWithValuesImpl).
|
|
4553
|
+
protoOf(OptionWithValuesImpl).t40 = function () {
|
|
4551
4554
|
return this.x49_1;
|
|
4552
4555
|
};
|
|
4553
|
-
protoOf(OptionWithValuesImpl).
|
|
4556
|
+
protoOf(OptionWithValuesImpl).s40 = function () {
|
|
4554
4557
|
return this.y49_1;
|
|
4555
4558
|
};
|
|
4556
|
-
protoOf(OptionWithValuesImpl).
|
|
4559
|
+
protoOf(OptionWithValuesImpl).q47 = function () {
|
|
4557
4560
|
return this.z49_1;
|
|
4558
4561
|
};
|
|
4559
|
-
protoOf(OptionWithValuesImpl).
|
|
4562
|
+
protoOf(OptionWithValuesImpl).r48 = function () {
|
|
4560
4563
|
return this.a4a_1;
|
|
4561
4564
|
};
|
|
4562
4565
|
protoOf(OptionWithValuesImpl).s48 = function () {
|
|
4563
4566
|
return this.b4a_1;
|
|
4564
4567
|
};
|
|
4565
|
-
protoOf(OptionWithValuesImpl).
|
|
4568
|
+
protoOf(OptionWithValuesImpl).h49 = function () {
|
|
4566
4569
|
return this.c4a_1;
|
|
4567
4570
|
};
|
|
4568
|
-
protoOf(OptionWithValuesImpl).
|
|
4571
|
+
protoOf(OptionWithValuesImpl).u40 = function () {
|
|
4569
4572
|
return this.d4a_1;
|
|
4570
4573
|
};
|
|
4571
|
-
protoOf(OptionWithValuesImpl).v40 = function () {
|
|
4572
|
-
|
|
4573
|
-
};
|
|
4574
|
-
protoOf(OptionWithValuesImpl).w40 = function (_set____db54di) {
|
|
4575
|
-
this.f4a_1 = _set____db54di;
|
|
4574
|
+
protoOf(OptionWithValuesImpl).v40 = function (_set____db54di) {
|
|
4575
|
+
this.e4a_1 = _set____db54di;
|
|
4576
4576
|
};
|
|
4577
|
-
protoOf(OptionWithValuesImpl).
|
|
4578
|
-
return this.
|
|
4577
|
+
protoOf(OptionWithValuesImpl).p40 = function () {
|
|
4578
|
+
return this.e4a_1;
|
|
4579
4579
|
};
|
|
4580
|
-
protoOf(OptionWithValuesImpl).
|
|
4581
|
-
var tmp0_elvis_lhs = this.
|
|
4580
|
+
protoOf(OptionWithValuesImpl).y48 = function (context) {
|
|
4581
|
+
var tmp0_elvis_lhs = this.m49_1;
|
|
4582
4582
|
var tmp;
|
|
4583
4583
|
if (tmp0_elvis_lhs == null) {
|
|
4584
4584
|
tmp = OptionWithValuesImpl$metavar$lambda;
|
|
@@ -4587,30 +4587,30 @@ protoOf(OptionWithValuesImpl).z48 = function (context) {
|
|
|
4587
4587
|
}
|
|
4588
4588
|
return tmp(context);
|
|
4589
4589
|
};
|
|
4590
|
-
protoOf(OptionWithValuesImpl).
|
|
4591
|
-
return this.
|
|
4590
|
+
protoOf(OptionWithValuesImpl).i48 = function (_set____db54di) {
|
|
4591
|
+
return this.f4a_1.l48(this, value$factory_1(), _set____db54di);
|
|
4592
4592
|
};
|
|
4593
4593
|
protoOf(OptionWithValuesImpl).b1 = function () {
|
|
4594
|
-
return this.
|
|
4594
|
+
return this.f4a_1.m48(this, value$factory_2());
|
|
4595
4595
|
};
|
|
4596
|
-
protoOf(OptionWithValuesImpl).
|
|
4597
|
-
return this.
|
|
4596
|
+
protoOf(OptionWithValuesImpl).q3w = function () {
|
|
4597
|
+
return this.g4a_1;
|
|
4598
4598
|
};
|
|
4599
|
-
protoOf(OptionWithValuesImpl).
|
|
4600
|
-
var tmp0_elvis_lhs = this.
|
|
4599
|
+
protoOf(OptionWithValuesImpl).p3x = function () {
|
|
4600
|
+
var tmp0_elvis_lhs = this.u49_1;
|
|
4601
4601
|
return tmp0_elvis_lhs == null ? None_getInstance() : tmp0_elvis_lhs;
|
|
4602
4602
|
};
|
|
4603
|
-
protoOf(OptionWithValuesImpl).
|
|
4604
|
-
var tmp0_safe_receiver = this.
|
|
4603
|
+
protoOf(OptionWithValuesImpl).z3x = function (context) {
|
|
4604
|
+
var tmp0_safe_receiver = this.o49_1;
|
|
4605
4605
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver(new HelpTransformContext(context));
|
|
4606
4606
|
return tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4607
4607
|
};
|
|
4608
|
-
protoOf(OptionWithValuesImpl).
|
|
4609
|
-
var v = getFinalValue(this, context, invocations, this.
|
|
4608
|
+
protoOf(OptionWithValuesImpl).z43 = function (context, invocations) {
|
|
4609
|
+
var v = getFinalValue(this, context, invocations, this.s49_1);
|
|
4610
4610
|
var tmp;
|
|
4611
4611
|
if (v instanceof Parsed) {
|
|
4612
4612
|
var tmp_0;
|
|
4613
|
-
if (this.
|
|
4613
|
+
if (this.t49_1 == null) {
|
|
4614
4614
|
tmp_0 = invocations;
|
|
4615
4615
|
} else {
|
|
4616
4616
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -4621,7 +4621,7 @@ protoOf(OptionWithValuesImpl).a44 = function (context, invocations) {
|
|
|
4621
4621
|
var item = _iterator__ex2g4s.i();
|
|
4622
4622
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4623
4623
|
// Inline function 'kotlin.collections.flatMap' call
|
|
4624
|
-
var tmp0 = item.
|
|
4624
|
+
var tmp0 = item.j4a_1;
|
|
4625
4625
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
4626
4626
|
var destination_0 = ArrayList_init_$Create$();
|
|
4627
4627
|
var _iterator__ex2g4s_0 = tmp0.g();
|
|
@@ -4629,10 +4629,10 @@ protoOf(OptionWithValuesImpl).a44 = function (context, invocations) {
|
|
|
4629
4629
|
var element = _iterator__ex2g4s_0.i();
|
|
4630
4630
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4631
4631
|
// Inline function 'kotlin.text.split' call
|
|
4632
|
-
var list = this.
|
|
4632
|
+
var list = this.t49_1.kc(element, 0);
|
|
4633
4633
|
addAll(destination_0, list);
|
|
4634
4634
|
}
|
|
4635
|
-
var tmp$ret$4 = item.
|
|
4635
|
+
var tmp$ret$4 = item.k4a(VOID, destination_0);
|
|
4636
4636
|
destination.e(tmp$ret$4);
|
|
4637
4637
|
}
|
|
4638
4638
|
tmp_0 = destination;
|
|
@@ -4641,27 +4641,27 @@ protoOf(OptionWithValuesImpl).a44 = function (context, invocations) {
|
|
|
4641
4641
|
} else {
|
|
4642
4642
|
if (v instanceof Sourced) {
|
|
4643
4643
|
// Inline function 'kotlin.collections.map' call
|
|
4644
|
-
var this_0 = v.
|
|
4644
|
+
var this_0 = v.c49_1;
|
|
4645
4645
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4646
4646
|
var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
4647
4647
|
var _iterator__ex2g4s_1 = this_0.g();
|
|
4648
4648
|
while (_iterator__ex2g4s_1.h()) {
|
|
4649
4649
|
var item_0 = _iterator__ex2g4s_1.i();
|
|
4650
4650
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4651
|
-
var tmp$ret$7 = new Invocation('', item_0.
|
|
4651
|
+
var tmp$ret$7 = new Invocation('', item_0.h4a_1);
|
|
4652
4652
|
destination_1.e(tmp$ret$7);
|
|
4653
4653
|
}
|
|
4654
4654
|
tmp = destination_1;
|
|
4655
4655
|
} else {
|
|
4656
4656
|
if (v instanceof Envvar) {
|
|
4657
4657
|
var tmp_1;
|
|
4658
|
-
if (this.
|
|
4659
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4658
|
+
if (this.t49_1 == null) {
|
|
4659
|
+
tmp_1 = listOf_0(new Invocation(v.d49_1, listOf_0(v.e49_1)));
|
|
4660
4660
|
} else {
|
|
4661
|
-
var tmp4 = v.
|
|
4661
|
+
var tmp4 = v.e49_1;
|
|
4662
4662
|
// Inline function 'kotlin.text.split' call
|
|
4663
|
-
var tmp$ret$10 = this.
|
|
4664
|
-
tmp_1 = listOf_0(new Invocation(v.
|
|
4663
|
+
var tmp$ret$10 = this.t49_1.kc(tmp4, 0);
|
|
4664
|
+
tmp_1 = listOf_0(new Invocation(v.d49_1, tmp$ret$10));
|
|
4665
4665
|
}
|
|
4666
4666
|
tmp = tmp_1;
|
|
4667
4667
|
} else {
|
|
@@ -4678,39 +4678,39 @@ protoOf(OptionWithValuesImpl).a44 = function (context, invocations) {
|
|
|
4678
4678
|
while (_iterator__ex2g4s_2.h()) {
|
|
4679
4679
|
var item_1 = _iterator__ex2g4s_2.i();
|
|
4680
4680
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4681
|
-
var tc = new OptionCallTransformContext(item_1.
|
|
4681
|
+
var tc = new OptionCallTransformContext(item_1.i4a_1, this, context);
|
|
4682
4682
|
// Inline function 'kotlin.collections.map' call
|
|
4683
|
-
var this_1 = item_1.
|
|
4683
|
+
var this_1 = item_1.j4a_1;
|
|
4684
4684
|
// Inline function 'kotlin.collections.mapTo' call
|
|
4685
4685
|
var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
|
|
4686
4686
|
var _iterator__ex2g4s_3 = this_1.g();
|
|
4687
4687
|
while (_iterator__ex2g4s_3.h()) {
|
|
4688
4688
|
var item_2 = _iterator__ex2g4s_3.i();
|
|
4689
4689
|
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4690
|
-
var tmp$ret$11 = this.
|
|
4690
|
+
var tmp$ret$11 = this.z49_1(tc, item_2);
|
|
4691
4691
|
destination_3.e(tmp$ret$11);
|
|
4692
4692
|
}
|
|
4693
|
-
var tmp$ret$14 = this.
|
|
4693
|
+
var tmp$ret$14 = this.a4a_1(tc, destination_3);
|
|
4694
4694
|
destination_2.e(tmp$ret$14);
|
|
4695
4695
|
}
|
|
4696
|
-
this.
|
|
4696
|
+
this.i48(this.b4a_1(tmp_2, destination_2));
|
|
4697
4697
|
};
|
|
4698
|
-
protoOf(OptionWithValuesImpl).
|
|
4699
|
-
this.
|
|
4700
|
-
thisRef.
|
|
4698
|
+
protoOf(OptionWithValuesImpl).z48 = function (thisRef, property) {
|
|
4699
|
+
this.g4a_1 = inferOptionNames(this.g4a_1, property.callableName);
|
|
4700
|
+
thisRef.p3y(this);
|
|
4701
4701
|
return this;
|
|
4702
4702
|
};
|
|
4703
|
-
protoOf(OptionWithValuesImpl).
|
|
4704
|
-
return this.
|
|
4703
|
+
protoOf(OptionWithValuesImpl).u47 = function (thisRef, property) {
|
|
4704
|
+
return this.z48((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4705
4705
|
};
|
|
4706
|
-
protoOf(OptionWithValuesImpl).
|
|
4707
|
-
this.
|
|
4706
|
+
protoOf(OptionWithValuesImpl).o47 = function (context) {
|
|
4707
|
+
this.c4a_1(new OptionTransformContext(this, context), this.b1());
|
|
4708
4708
|
};
|
|
4709
|
-
protoOf(OptionWithValuesImpl).
|
|
4709
|
+
protoOf(OptionWithValuesImpl).k49 = function (transformValue, transformEach, transformAll, validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4710
4710
|
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, transformValue, transformEach, transformAll, validator);
|
|
4711
4711
|
};
|
|
4712
|
-
protoOf(OptionWithValuesImpl).
|
|
4713
|
-
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.
|
|
4712
|
+
protoOf(OptionWithValuesImpl).l49 = function (validator, names, metavarGetter, nvalues, helpGetter, hidden, helpTags, envvar, valueSourceKey, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager) {
|
|
4713
|
+
return new OptionWithValuesImpl(names, metavarGetter, nvalues, helpGetter, hidden, helpTags, valueSourceKey, envvar, valueSplit, completionCandidates, secondaryNames, acceptsNumberValueWithoutName, acceptsUnattachedValue, eager, this.z49_1, this.a4a_1, this.b4a_1, validator);
|
|
4714
4714
|
};
|
|
4715
4715
|
protoOf(OptionWithValuesImpl).toString = function () {
|
|
4716
4716
|
// Inline function 'kotlin.text.buildString' call
|
|
@@ -4746,8 +4746,8 @@ protoOf(OptionWithValuesImpl).toString = function () {
|
|
|
4746
4746
|
}
|
|
4747
4747
|
return this_0.toString();
|
|
4748
4748
|
};
|
|
4749
|
-
protoOf(OptionWithValuesImpl).
|
|
4750
|
-
return this.
|
|
4749
|
+
protoOf(OptionWithValuesImpl).o48 = function (thisRef, property) {
|
|
4750
|
+
return this.a49((!(thisRef == null) ? isInterface(thisRef, ParameterHolder) : false) ? thisRef : THROW_CCE(), property);
|
|
4751
4751
|
};
|
|
4752
4752
|
function defaultEachProcessor() {
|
|
4753
4753
|
return defaultEachProcessor$lambda;
|
|
@@ -4784,14 +4784,14 @@ function value$factory_1() {
|
|
|
4784
4784
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4785
4785
|
return receiver.b1();
|
|
4786
4786
|
}, function (receiver, value) {
|
|
4787
|
-
return receiver.
|
|
4787
|
+
return receiver.i48(value);
|
|
4788
4788
|
});
|
|
4789
4789
|
}
|
|
4790
4790
|
function value$factory_2() {
|
|
4791
4791
|
return getPropertyCallableRef('value', 1, KMutableProperty1, function (receiver) {
|
|
4792
4792
|
return receiver.b1();
|
|
4793
4793
|
}, function (receiver, value) {
|
|
4794
|
-
return receiver.
|
|
4794
|
+
return receiver.i48(value);
|
|
4795
4795
|
});
|
|
4796
4796
|
}
|
|
4797
4797
|
function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
@@ -4799,10 +4799,10 @@ function default_0(_this__u8e3s4, value, defaultForHelp) {
|
|
|
4799
4799
|
return transformAll(_this__u8e3s4, defaultForHelp, VOID, default$lambda(value));
|
|
4800
4800
|
}
|
|
4801
4801
|
function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform) {
|
|
4802
|
-
defaultForHelp = defaultForHelp === VOID ? _this__u8e3s4.
|
|
4802
|
+
defaultForHelp = defaultForHelp === VOID ? _this__u8e3s4.q40().g2('default') : defaultForHelp;
|
|
4803
4803
|
var tmp;
|
|
4804
4804
|
if (showAsRequired === VOID) {
|
|
4805
|
-
var tmp0 = _this__u8e3s4.
|
|
4805
|
+
var tmp0 = _this__u8e3s4.q40();
|
|
4806
4806
|
// Inline function 'kotlin.collections.contains' call
|
|
4807
4807
|
// Inline function 'kotlin.collections.containsKey' call
|
|
4808
4808
|
var key = 'required';
|
|
@@ -4811,7 +4811,7 @@ function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform)
|
|
|
4811
4811
|
tmp = showAsRequired;
|
|
4812
4812
|
}
|
|
4813
4813
|
showAsRequired = tmp;
|
|
4814
|
-
var tags = toMutableMap(_this__u8e3s4.
|
|
4814
|
+
var tags = toMutableMap(_this__u8e3s4.q40());
|
|
4815
4815
|
if (showAsRequired) {
|
|
4816
4816
|
// Inline function 'kotlin.collections.set' call
|
|
4817
4817
|
var key_0 = 'required';
|
|
@@ -4825,7 +4825,7 @@ function transformAll(_this__u8e3s4, defaultForHelp, showAsRequired, transform)
|
|
|
4825
4825
|
} else {
|
|
4826
4826
|
tags.o2('default');
|
|
4827
4827
|
}
|
|
4828
|
-
return _this__u8e3s4.
|
|
4828
|
+
return _this__u8e3s4.t48(_this__u8e3s4.q47(), _this__u8e3s4.r48(), transform, defaultValidator_0(), VOID, VOID, VOID, VOID, VOID, tags);
|
|
4829
4829
|
}
|
|
4830
4830
|
function multiple(_this__u8e3s4, default_0, required) {
|
|
4831
4831
|
default_0 = default_0 === VOID ? emptyList() : default_0;
|
|
@@ -4842,7 +4842,7 @@ function multiple$lambda($required, $default) {
|
|
|
4842
4842
|
return function ($this$transformAll, it) {
|
|
4843
4843
|
var tmp;
|
|
4844
4844
|
if (it.l() && $required) {
|
|
4845
|
-
throw new MissingOption($this$transformAll.
|
|
4845
|
+
throw new MissingOption($this$transformAll.e3y_1);
|
|
4846
4846
|
} else if (it.l() && !$required) {
|
|
4847
4847
|
tmp = $default;
|
|
4848
4848
|
} else {
|
|
@@ -4870,34 +4870,34 @@ function transformValues(_this__u8e3s4, nvalues, transform) {
|
|
|
4870
4870
|
var message_1 = 'Cannot set nvalues = 1. Use convert() instead.';
|
|
4871
4871
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
4872
4872
|
}
|
|
4873
|
-
var tmp = _this__u8e3s4.
|
|
4873
|
+
var tmp = _this__u8e3s4.q47();
|
|
4874
4874
|
var tmp_0 = defaultAllProcessor_0();
|
|
4875
4875
|
var tmp_1 = defaultValidator_0();
|
|
4876
4876
|
var tmp_2;
|
|
4877
4877
|
if (nvalues.equals(numberRangeToNumber(0, 0))) {
|
|
4878
4878
|
tmp_2 = transformValues$lambda;
|
|
4879
4879
|
} else {
|
|
4880
|
-
tmp_2 = _this__u8e3s4.
|
|
4880
|
+
tmp_2 = _this__u8e3s4.i49();
|
|
4881
4881
|
}
|
|
4882
|
-
return _this__u8e3s4.
|
|
4882
|
+
return _this__u8e3s4.t48(tmp, transform, tmp_0, tmp_1, VOID, tmp_2, nvalues);
|
|
4883
4883
|
}
|
|
4884
4884
|
function transformValues$lambda($this$null) {
|
|
4885
4885
|
return null;
|
|
4886
4886
|
}
|
|
4887
4887
|
function HelpTransformContext(context) {
|
|
4888
|
-
this.
|
|
4888
|
+
this.l4a_1 = context;
|
|
4889
4889
|
}
|
|
4890
4890
|
protoOf(HelpTransformContext).a9 = function () {
|
|
4891
|
-
return this.
|
|
4891
|
+
return this.l4a_1;
|
|
4892
4892
|
};
|
|
4893
|
-
protoOf(HelpTransformContext).
|
|
4893
|
+
protoOf(HelpTransformContext).x47 = function (message) {
|
|
4894
4894
|
throw new UsageError(message);
|
|
4895
4895
|
};
|
|
4896
4896
|
protoOf(HelpTransformContext).toString = function () {
|
|
4897
|
-
return 'HelpTransformContext(context=' + toString_0(this.
|
|
4897
|
+
return 'HelpTransformContext(context=' + toString_0(this.l4a_1) + ')';
|
|
4898
4898
|
};
|
|
4899
4899
|
protoOf(HelpTransformContext).hashCode = function () {
|
|
4900
|
-
return hashCode(this.
|
|
4900
|
+
return hashCode(this.l4a_1);
|
|
4901
4901
|
};
|
|
4902
4902
|
protoOf(HelpTransformContext).equals = function (other) {
|
|
4903
4903
|
if (this === other)
|
|
@@ -4905,7 +4905,7 @@ protoOf(HelpTransformContext).equals = function (other) {
|
|
|
4905
4905
|
if (!(other instanceof HelpTransformContext))
|
|
4906
4906
|
return false;
|
|
4907
4907
|
var tmp0_other_with_cast = other instanceof HelpTransformContext ? other : THROW_CCE();
|
|
4908
|
-
if (!equals(this.
|
|
4908
|
+
if (!equals(this.l4a_1, tmp0_other_with_cast.l4a_1))
|
|
4909
4909
|
return false;
|
|
4910
4910
|
return true;
|
|
4911
4911
|
};
|
|
@@ -4918,10 +4918,10 @@ function boolean(_this__u8e3s4) {
|
|
|
4918
4918
|
var tmp = defaultEachProcessor();
|
|
4919
4919
|
var tmp_0 = defaultAllProcessor_0();
|
|
4920
4920
|
var tmp_1 = defaultValidator_0();
|
|
4921
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
4921
|
+
var tmp0_elvis_lhs = _this__u8e3s4.i49();
|
|
4922
4922
|
var tmp_2 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
4923
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
4924
|
-
return _this__u8e3s4.
|
|
4923
|
+
var tmp1_elvis_lhs = _this__u8e3s4.r47();
|
|
4924
|
+
return _this__u8e3s4.t48(valueTransform, tmp, tmp_0, tmp_1, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
|
|
4925
4925
|
}
|
|
4926
4926
|
function valueToBool(_this__u8e3s4, value) {
|
|
4927
4927
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -4945,7 +4945,7 @@ function valueToBool(_this__u8e3s4, value) {
|
|
|
4945
4945
|
tmp = false;
|
|
4946
4946
|
break;
|
|
4947
4947
|
default:
|
|
4948
|
-
_this__u8e3s4.
|
|
4948
|
+
_this__u8e3s4.x47(_this__u8e3s4.a9().g3x_1.c45(value));
|
|
4949
4949
|
break;
|
|
4950
4950
|
}
|
|
4951
4951
|
return tmp;
|
|
@@ -4960,18 +4960,18 @@ function boolean$lambda_0($this) {
|
|
|
4960
4960
|
var tmp;
|
|
4961
4961
|
try {
|
|
4962
4962
|
// Inline function 'com.github.ajalt.clikt.parameters.types.boolean.<anonymous>' call
|
|
4963
|
-
var it_0 = $this.
|
|
4963
|
+
var it_0 = $this.q47()($this$null, it);
|
|
4964
4964
|
tmp = valueToBool($this$null, it_0);
|
|
4965
4965
|
} catch ($p) {
|
|
4966
4966
|
var tmp_0;
|
|
4967
4967
|
if ($p instanceof UsageError) {
|
|
4968
4968
|
var err = $p;
|
|
4969
4969
|
var tmp_1 = err;
|
|
4970
|
-
var tmp0_elvis_lhs = err.
|
|
4970
|
+
var tmp0_elvis_lhs = err.f41_1;
|
|
4971
4971
|
var tmp_2;
|
|
4972
4972
|
if (tmp0_elvis_lhs == null) {
|
|
4973
4973
|
// Inline function 'kotlin.takeUnless' call
|
|
4974
|
-
var this_0 = $this$null.
|
|
4974
|
+
var this_0 = $this$null.v48_1;
|
|
4975
4975
|
var tmp_3;
|
|
4976
4976
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
4977
4977
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -4985,13 +4985,13 @@ function boolean$lambda_0($this) {
|
|
|
4985
4985
|
tmp_2 = tmp0_elvis_lhs;
|
|
4986
4986
|
}
|
|
4987
4987
|
var tmp1_elvis_lhs = tmp_2;
|
|
4988
|
-
tmp_1.
|
|
4988
|
+
tmp_1.f41_1 = tmp1_elvis_lhs == null ? longestName($this$null.w48_1) : tmp1_elvis_lhs;
|
|
4989
4989
|
throw err;
|
|
4990
4990
|
} else {
|
|
4991
4991
|
if ($p instanceof Exception) {
|
|
4992
4992
|
var err_0 = $p;
|
|
4993
4993
|
var tmp2_elvis_lhs = err_0.message;
|
|
4994
|
-
$this$null.
|
|
4994
|
+
$this$null.x47(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
4995
4995
|
} else {
|
|
4996
4996
|
throw $p;
|
|
4997
4997
|
}
|
|
@@ -5041,16 +5041,16 @@ function choice(_this__u8e3s4, choices, metavar, ignoreCase) {
|
|
|
5041
5041
|
var tmp_1 = defaultEachProcessor();
|
|
5042
5042
|
var tmp_2 = defaultAllProcessor_0();
|
|
5043
5043
|
var tmp_3 = defaultValidator_0();
|
|
5044
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5044
|
+
var tmp0_elvis_lhs = _this__u8e3s4.i49();
|
|
5045
5045
|
var tmp_4 = tmp0_elvis_lhs == null ? metavar_0 : tmp0_elvis_lhs;
|
|
5046
|
-
var tmp1_elvis_lhs = _this__u8e3s4.
|
|
5047
|
-
return _this__u8e3s4.
|
|
5046
|
+
var tmp1_elvis_lhs = _this__u8e3s4.r47();
|
|
5047
|
+
return _this__u8e3s4.t48(valueTransform, tmp_1, tmp_2, tmp_3, VOID, tmp_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? completionCandidates : tmp1_elvis_lhs);
|
|
5048
5048
|
}
|
|
5049
5049
|
function mvar(choices) {
|
|
5050
5050
|
return joinToString(choices, '|', '(', ')');
|
|
5051
5051
|
}
|
|
5052
5052
|
function errorMessage(context, choice, choices) {
|
|
5053
|
-
return context.
|
|
5053
|
+
return context.g3x_1.d45(choice, toList_0(choices.h2()));
|
|
5054
5054
|
}
|
|
5055
5055
|
function choice_0(_this__u8e3s4, choices, ignoreCase) {
|
|
5056
5056
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
@@ -5088,8 +5088,8 @@ function choice_0(_this__u8e3s4, choices, ignoreCase) {
|
|
|
5088
5088
|
var conv = choice$lambda_1(_this__u8e3s4, c, ignoreCase, choices);
|
|
5089
5089
|
var tmp_1 = defaultAllProcessor();
|
|
5090
5090
|
var tmp_2 = defaultValidator();
|
|
5091
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
5092
|
-
return _this__u8e3s4.
|
|
5091
|
+
var tmp0_elvis_lhs = _this__u8e3s4.r47();
|
|
5092
|
+
return _this__u8e3s4.t47(conv, tmp_1, tmp_2, VOID, VOID, VOID, VOID, VOID, tmp0_elvis_lhs == null ? completionCandidates : tmp0_elvis_lhs);
|
|
5093
5093
|
}
|
|
5094
5094
|
function choice$lambda($metavar) {
|
|
5095
5095
|
return function ($this$convert) {
|
|
@@ -5101,7 +5101,7 @@ function choice$lambda_0($this, $c, $ignoreCase, $choices) {
|
|
|
5101
5101
|
var tmp;
|
|
5102
5102
|
try {
|
|
5103
5103
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5104
|
-
var it_0 = $this.
|
|
5104
|
+
var it_0 = $this.q47()($this$null, it);
|
|
5105
5105
|
var tmp_0;
|
|
5106
5106
|
if ($ignoreCase) {
|
|
5107
5107
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5113,7 +5113,7 @@ function choice$lambda_0($this, $c, $ignoreCase, $choices) {
|
|
|
5113
5113
|
var tmp0_elvis_lhs = $c.g2(tmp_0);
|
|
5114
5114
|
var tmp_1;
|
|
5115
5115
|
if (tmp0_elvis_lhs == null) {
|
|
5116
|
-
$this$null.
|
|
5116
|
+
$this$null.x47(errorMessage($this$null.x48_1, it_0, $choices));
|
|
5117
5117
|
} else {
|
|
5118
5118
|
tmp_1 = tmp0_elvis_lhs;
|
|
5119
5119
|
}
|
|
@@ -5123,11 +5123,11 @@ function choice$lambda_0($this, $c, $ignoreCase, $choices) {
|
|
|
5123
5123
|
if ($p instanceof UsageError) {
|
|
5124
5124
|
var err = $p;
|
|
5125
5125
|
var tmp_3 = err;
|
|
5126
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5126
|
+
var tmp0_elvis_lhs_0 = err.f41_1;
|
|
5127
5127
|
var tmp_4;
|
|
5128
5128
|
if (tmp0_elvis_lhs_0 == null) {
|
|
5129
5129
|
// Inline function 'kotlin.takeUnless' call
|
|
5130
|
-
var this_0 = $this$null.
|
|
5130
|
+
var this_0 = $this$null.v48_1;
|
|
5131
5131
|
var tmp_5;
|
|
5132
5132
|
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
5133
5133
|
// Inline function 'kotlin.text.isEmpty' call
|
|
@@ -5141,13 +5141,13 @@ function choice$lambda_0($this, $c, $ignoreCase, $choices) {
|
|
|
5141
5141
|
tmp_4 = tmp0_elvis_lhs_0;
|
|
5142
5142
|
}
|
|
5143
5143
|
var tmp1_elvis_lhs = tmp_4;
|
|
5144
|
-
tmp_3.
|
|
5144
|
+
tmp_3.f41_1 = tmp1_elvis_lhs == null ? longestName($this$null.w48_1) : tmp1_elvis_lhs;
|
|
5145
5145
|
throw err;
|
|
5146
5146
|
} else {
|
|
5147
5147
|
if ($p instanceof Exception) {
|
|
5148
5148
|
var err_0 = $p;
|
|
5149
5149
|
var tmp2_elvis_lhs = err_0.message;
|
|
5150
|
-
$this$null.
|
|
5150
|
+
$this$null.x47(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
5151
5151
|
} else {
|
|
5152
5152
|
throw $p;
|
|
5153
5153
|
}
|
|
@@ -5162,7 +5162,7 @@ function choice$lambda_1($this, $c, $ignoreCase, $choices) {
|
|
|
5162
5162
|
var tmp;
|
|
5163
5163
|
try {
|
|
5164
5164
|
// Inline function 'com.github.ajalt.clikt.parameters.types.choice.<anonymous>' call
|
|
5165
|
-
var it_0 = $this.
|
|
5165
|
+
var it_0 = $this.q47()($this$null, it);
|
|
5166
5166
|
var tmp_0;
|
|
5167
5167
|
if ($ignoreCase) {
|
|
5168
5168
|
// Inline function 'kotlin.text.lowercase' call
|
|
@@ -5174,7 +5174,7 @@ function choice$lambda_1($this, $c, $ignoreCase, $choices) {
|
|
|
5174
5174
|
var tmp0_elvis_lhs = $c.g2(tmp_0);
|
|
5175
5175
|
var tmp_1;
|
|
5176
5176
|
if (tmp0_elvis_lhs == null) {
|
|
5177
|
-
$this$null.
|
|
5177
|
+
$this$null.x47(errorMessage($this$null.w47_1, it_0, $choices));
|
|
5178
5178
|
} else {
|
|
5179
5179
|
tmp_1 = tmp0_elvis_lhs;
|
|
5180
5180
|
}
|
|
@@ -5184,14 +5184,14 @@ function choice$lambda_1($this, $c, $ignoreCase, $choices) {
|
|
|
5184
5184
|
if ($p instanceof UsageError) {
|
|
5185
5185
|
var err = $p;
|
|
5186
5186
|
var tmp_3 = err;
|
|
5187
|
-
var tmp0_elvis_lhs_0 = err.
|
|
5188
|
-
tmp_3.
|
|
5187
|
+
var tmp0_elvis_lhs_0 = err.f41_1;
|
|
5188
|
+
tmp_3.f41_1 = tmp0_elvis_lhs_0 == null ? $this$null.v47_1.s2() : tmp0_elvis_lhs_0;
|
|
5189
5189
|
throw err;
|
|
5190
5190
|
} else {
|
|
5191
5191
|
if ($p instanceof Exception) {
|
|
5192
5192
|
var err_0 = $p;
|
|
5193
5193
|
var tmp1_elvis_lhs = err_0.message;
|
|
5194
|
-
$this$null.
|
|
5194
|
+
$this$null.x47(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
5195
5195
|
} else {
|
|
5196
5196
|
throw $p;
|
|
5197
5197
|
}
|
|
@@ -5202,23 +5202,23 @@ function choice$lambda_1($this, $c, $ignoreCase, $choices) {
|
|
|
5202
5202
|
};
|
|
5203
5203
|
}
|
|
5204
5204
|
function Invocation(name, values) {
|
|
5205
|
-
this.
|
|
5206
|
-
this.
|
|
5205
|
+
this.i4a_1 = name;
|
|
5206
|
+
this.j4a_1 = values;
|
|
5207
5207
|
}
|
|
5208
|
-
protoOf(Invocation).
|
|
5208
|
+
protoOf(Invocation).m4a = function (name, values) {
|
|
5209
5209
|
return new Invocation(name, values);
|
|
5210
5210
|
};
|
|
5211
|
-
protoOf(Invocation).
|
|
5212
|
-
name = name === VOID ? this.
|
|
5213
|
-
values = values === VOID ? this.
|
|
5214
|
-
return $super === VOID ? this.
|
|
5211
|
+
protoOf(Invocation).k4a = function (name, values, $super) {
|
|
5212
|
+
name = name === VOID ? this.i4a_1 : name;
|
|
5213
|
+
values = values === VOID ? this.j4a_1 : values;
|
|
5214
|
+
return $super === VOID ? this.m4a(name, values) : $super.m4a.call(this, name, values);
|
|
5215
5215
|
};
|
|
5216
5216
|
protoOf(Invocation).toString = function () {
|
|
5217
|
-
return 'Invocation(name=' + this.
|
|
5217
|
+
return 'Invocation(name=' + this.i4a_1 + ', values=' + toString_0(this.j4a_1) + ')';
|
|
5218
5218
|
};
|
|
5219
5219
|
protoOf(Invocation).hashCode = function () {
|
|
5220
|
-
var result = getStringHashCode(this.
|
|
5221
|
-
result = imul(result, 31) + hashCode(this.
|
|
5220
|
+
var result = getStringHashCode(this.i4a_1);
|
|
5221
|
+
result = imul(result, 31) + hashCode(this.j4a_1) | 0;
|
|
5222
5222
|
return result;
|
|
5223
5223
|
};
|
|
5224
5224
|
protoOf(Invocation).equals = function (other) {
|
|
@@ -5227,18 +5227,18 @@ protoOf(Invocation).equals = function (other) {
|
|
|
5227
5227
|
if (!(other instanceof Invocation))
|
|
5228
5228
|
return false;
|
|
5229
5229
|
var tmp0_other_with_cast = other instanceof Invocation ? other : THROW_CCE();
|
|
5230
|
-
if (!(this.
|
|
5230
|
+
if (!(this.i4a_1 === tmp0_other_with_cast.i4a_1))
|
|
5231
5231
|
return false;
|
|
5232
|
-
if (!equals(this.
|
|
5232
|
+
if (!equals(this.j4a_1, tmp0_other_with_cast.j4a_1))
|
|
5233
5233
|
return false;
|
|
5234
5234
|
return true;
|
|
5235
5235
|
};
|
|
5236
5236
|
function parse($this, argv, context, canRun) {
|
|
5237
5237
|
var tokens = argv;
|
|
5238
|
-
var command = context.
|
|
5239
|
-
var aliases = command.
|
|
5238
|
+
var command = context.t3w_1;
|
|
5239
|
+
var aliases = command.s3x();
|
|
5240
5240
|
// Inline function 'kotlin.collections.associateBy' call
|
|
5241
|
-
var this_0 = command.
|
|
5241
|
+
var this_0 = command.i3w_1;
|
|
5242
5242
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
5243
5243
|
// Inline function 'kotlin.collections.associateByTo' call
|
|
5244
5244
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
@@ -5246,7 +5246,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5246
5246
|
while (_iterator__ex2g4s.h()) {
|
|
5247
5247
|
var element = _iterator__ex2g4s.i();
|
|
5248
5248
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5249
|
-
var tmp$ret$0 = element.
|
|
5249
|
+
var tmp$ret$0 = element.f3w_1;
|
|
5250
5250
|
destination.n2(tmp$ret$0, element);
|
|
5251
5251
|
}
|
|
5252
5252
|
var subcommands = destination;
|
|
@@ -5254,7 +5254,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5254
5254
|
// Inline function 'kotlin.collections.mutableMapOf' call
|
|
5255
5255
|
var optionsByName = LinkedHashMap_init_$Create$_0();
|
|
5256
5256
|
// Inline function 'kotlin.collections.find' call
|
|
5257
|
-
var tmp0 = command.
|
|
5257
|
+
var tmp0 = command.j3w_1;
|
|
5258
5258
|
var tmp$ret$5;
|
|
5259
5259
|
$l$block: {
|
|
5260
5260
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -5262,7 +5262,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5262
5262
|
while (_iterator__ex2g4s_0.h()) {
|
|
5263
5263
|
var element_0 = _iterator__ex2g4s_0.i();
|
|
5264
5264
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5265
|
-
if (element_0.
|
|
5265
|
+
if (element_0.o3y()) {
|
|
5266
5266
|
tmp$ret$5 = element_0;
|
|
5267
5267
|
break $l$block;
|
|
5268
5268
|
}
|
|
@@ -5270,12 +5270,12 @@ function parse($this, argv, context, canRun) {
|
|
|
5270
5270
|
tmp$ret$5 = null;
|
|
5271
5271
|
}
|
|
5272
5272
|
var numberOption = tmp$ret$5;
|
|
5273
|
-
var arguments_0 = command.
|
|
5273
|
+
var arguments_0 = command.k3w_1;
|
|
5274
5274
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
5275
5275
|
var prefixes = LinkedHashSet_init_$Create$();
|
|
5276
5276
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
5277
5277
|
var longNames = LinkedHashSet_init_$Create$();
|
|
5278
|
-
var tmp4 = context.
|
|
5278
|
+
var tmp4 = context.c3y();
|
|
5279
5279
|
var tmp$ret$10;
|
|
5280
5280
|
$l$block_0: {
|
|
5281
5281
|
// Inline function 'kotlin.sequences.any' call
|
|
@@ -5283,7 +5283,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5283
5283
|
while (_iterator__ex2g4s_1.h()) {
|
|
5284
5284
|
var element_1 = _iterator__ex2g4s_1.i();
|
|
5285
5285
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5286
|
-
if (element_1.
|
|
5286
|
+
if (element_1.t3w_1.c3w_1) {
|
|
5287
5287
|
tmp$ret$10 = true;
|
|
5288
5288
|
break $l$block_0;
|
|
5289
5289
|
}
|
|
@@ -5295,23 +5295,23 @@ function parse($this, argv, context, canRun) {
|
|
|
5295
5295
|
var positionalArgs = ArrayList_init_$Create$();
|
|
5296
5296
|
var subcommand = null;
|
|
5297
5297
|
var canParseOptions = true;
|
|
5298
|
-
var canExpandAtFiles = context.
|
|
5298
|
+
var canExpandAtFiles = context.w3z();
|
|
5299
5299
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5300
5300
|
var invocations = ArrayList_init_$Create$();
|
|
5301
5301
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
5302
5302
|
var errors = ArrayList_init_$Create$();
|
|
5303
5303
|
var i = {_v: 0};
|
|
5304
5304
|
var minAliasI = 0;
|
|
5305
|
-
var tmp0_iterator = command.
|
|
5305
|
+
var tmp0_iterator = command.j3w_1.g();
|
|
5306
5306
|
while (tmp0_iterator.h()) {
|
|
5307
5307
|
var option = tmp0_iterator.i();
|
|
5308
5308
|
var tmp;
|
|
5309
5309
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5310
|
-
if (!option.
|
|
5310
|
+
if (!option.q3w().l()) {
|
|
5311
5311
|
tmp = true;
|
|
5312
5312
|
} else {
|
|
5313
5313
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5314
|
-
tmp = !option.
|
|
5314
|
+
tmp = !option.r3w().l();
|
|
5315
5315
|
}
|
|
5316
5316
|
// Inline function 'kotlin.require' call
|
|
5317
5317
|
if (!tmp) {
|
|
@@ -5320,12 +5320,12 @@ function parse($this, argv, context, canRun) {
|
|
|
5320
5320
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
5321
5321
|
}
|
|
5322
5322
|
// Inline function 'kotlin.require' call
|
|
5323
|
-
if (!(option.
|
|
5323
|
+
if (!(option.t40() || option.q3x().e1_1 <= 1)) {
|
|
5324
5324
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5325
5325
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
5326
5326
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5327
5327
|
}
|
|
5328
|
-
var tmp1_iterator = plus(option.
|
|
5328
|
+
var tmp1_iterator = plus(option.q3w(), option.r3w()).g();
|
|
5329
5329
|
while (tmp1_iterator.h()) {
|
|
5330
5330
|
var name = tmp1_iterator.i();
|
|
5331
5331
|
// Inline function 'kotlin.collections.set' call
|
|
@@ -5340,12 +5340,12 @@ function parse($this, argv, context, canRun) {
|
|
|
5340
5340
|
}
|
|
5341
5341
|
}
|
|
5342
5342
|
prefixes.m2('');
|
|
5343
|
-
if (tokens.l() && command.
|
|
5343
|
+
if (tokens.l() && command.z3v_1) {
|
|
5344
5344
|
throw new PrintHelpMessage(context, true);
|
|
5345
5345
|
}
|
|
5346
5346
|
loop: while (i._v <= get_lastIndex_0(tokens)) {
|
|
5347
5347
|
var tok = tokens.k(i._v);
|
|
5348
|
-
var normTok = context.
|
|
5348
|
+
var normTok = context.a3x_1(context, tok);
|
|
5349
5349
|
var prefix = splitOptionPrefix(tok).ke_1;
|
|
5350
5350
|
var tmp_0;
|
|
5351
5351
|
if (canExpandAtFiles && startsWith(tok, '@')) {
|
|
@@ -5373,8 +5373,8 @@ function parse($this, argv, context, canRun) {
|
|
|
5373
5373
|
canParseOptions = false;
|
|
5374
5374
|
canExpandAtFiles = false;
|
|
5375
5375
|
} else {
|
|
5376
|
-
if (canParseOptions && (prefix.length > 1 && prefixes.o1(prefix) || longNames.o1(normTok) || parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) || !context.
|
|
5377
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.
|
|
5376
|
+
if (canParseOptions && (prefix.length > 1 && prefixes.o1(prefix) || longNames.o1(normTok) || parse$isLongOptionWithEquals(longNames, context, optionsByName, prefix, tok) || !context.v3w_1)) {
|
|
5377
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseLongOpt($this, command.d3w_1, context, tokens, tok, i._v, optionsByName, subcommandNames));
|
|
5378
5378
|
} else {
|
|
5379
5379
|
var tmp_1;
|
|
5380
5380
|
var tmp_2;
|
|
@@ -5390,7 +5390,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5390
5390
|
tmp_1 = false;
|
|
5391
5391
|
}
|
|
5392
5392
|
if (tmp_1) {
|
|
5393
|
-
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.
|
|
5393
|
+
parse$consumeParse(positionalArgs, invocations, errors, context, i, i._v, parseShortOpt($this, command.d3w_1, context, tokens, tok, i._v, optionsByName, numberOption, subcommandNames));
|
|
5394
5394
|
} else {
|
|
5395
5395
|
var tmp_3;
|
|
5396
5396
|
if (i._v >= minAliasI) {
|
|
@@ -5412,7 +5412,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5412
5412
|
i._v = i._v + 1 | 0;
|
|
5413
5413
|
break loop;
|
|
5414
5414
|
} else {
|
|
5415
|
-
if (!context.
|
|
5415
|
+
if (!context.u3w_1)
|
|
5416
5416
|
canParseOptions = false;
|
|
5417
5417
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5418
5418
|
var element_4 = to(i._v, tokens.k(i._v));
|
|
@@ -5432,7 +5432,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5432
5432
|
while (_iterator__ex2g4s_2.h()) {
|
|
5433
5433
|
var element_5 = _iterator__ex2g4s_2.i();
|
|
5434
5434
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5435
|
-
var key = element_5.
|
|
5435
|
+
var key = element_5.n4a_1;
|
|
5436
5436
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5437
5437
|
var value = destination_0.g2(key);
|
|
5438
5438
|
var tmp_4;
|
|
@@ -5446,7 +5446,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5446
5446
|
}
|
|
5447
5447
|
var list = tmp_4;
|
|
5448
5448
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5449
|
-
var tmp$ret$28 = element_5.
|
|
5449
|
+
var tmp$ret$28 = element_5.q4a();
|
|
5450
5450
|
list.e(tmp$ret$28);
|
|
5451
5451
|
}
|
|
5452
5452
|
var invocationsByOption = destination_0;
|
|
@@ -5457,9 +5457,9 @@ function parse($this, argv, context, canRun) {
|
|
|
5457
5457
|
while (_iterator__ex2g4s_3.h()) {
|
|
5458
5458
|
var element_6 = _iterator__ex2g4s_3.i();
|
|
5459
5459
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5460
|
-
var tmp_5 = element_6.
|
|
5460
|
+
var tmp_5 = element_6.n4a_1;
|
|
5461
5461
|
var tmp0_safe_receiver = isInterface(tmp_5, GroupableOption) ? tmp_5 : null;
|
|
5462
|
-
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
5462
|
+
var key_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u40();
|
|
5463
5463
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5464
5464
|
var value_0 = destination_1.g2(key_0);
|
|
5465
5465
|
var tmp_6;
|
|
@@ -5494,7 +5494,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5494
5494
|
while (_iterator__ex2g4s_5.h()) {
|
|
5495
5495
|
var element_8 = _iterator__ex2g4s_5.i();
|
|
5496
5496
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5497
|
-
var key_1 = element_8.
|
|
5497
|
+
var key_1 = element_8.n4a_1;
|
|
5498
5498
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5499
5499
|
var value_1 = destination_3.g2(key_1);
|
|
5500
5500
|
var tmp_8;
|
|
@@ -5508,7 +5508,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5508
5508
|
}
|
|
5509
5509
|
var list_1 = tmp_8;
|
|
5510
5510
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5511
|
-
var tmp$ret$41 = element_8.
|
|
5511
|
+
var tmp$ret$41 = element_8.q4a();
|
|
5512
5512
|
list_1.e(tmp$ret$41);
|
|
5513
5513
|
}
|
|
5514
5514
|
// Inline function 'kotlin.collections.filterKeys' call
|
|
@@ -5518,7 +5518,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5518
5518
|
while (_iterator__ex2g4s_6.h()) {
|
|
5519
5519
|
var entry = _iterator__ex2g4s_6.i();
|
|
5520
5520
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>.<anonymous>' call
|
|
5521
|
-
if (!entry.a1().
|
|
5521
|
+
if (!entry.a1().s40()) {
|
|
5522
5522
|
result.n2(entry.a1(), entry.b1());
|
|
5523
5523
|
}
|
|
5524
5524
|
}
|
|
@@ -5526,7 +5526,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5526
5526
|
}
|
|
5527
5527
|
var invocationsByOptionByGroup = destination_2;
|
|
5528
5528
|
// Inline function 'kotlin.collections.filter' call
|
|
5529
|
-
var tmp0_0 = command.
|
|
5529
|
+
var tmp0_0 = command.j3w_1;
|
|
5530
5530
|
// Inline function 'kotlin.collections.filterTo' call
|
|
5531
5531
|
var destination_4 = ArrayList_init_$Create$();
|
|
5532
5532
|
var _iterator__ex2g4s_7 = tmp0_0.g();
|
|
@@ -5534,9 +5534,9 @@ function parse($this, argv, context, canRun) {
|
|
|
5534
5534
|
var element_9 = _iterator__ex2g4s_7.i();
|
|
5535
5535
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.<anonymous>' call
|
|
5536
5536
|
var tmp_9;
|
|
5537
|
-
if (!element_9.
|
|
5537
|
+
if (!element_9.s40()) {
|
|
5538
5538
|
var tmp0_safe_receiver_0 = isInterface(element_9, GroupableOption) ? element_9 : null;
|
|
5539
|
-
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
5539
|
+
tmp_9 = (tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.u40()) == null;
|
|
5540
5540
|
} else {
|
|
5541
5541
|
tmp_9 = false;
|
|
5542
5542
|
}
|
|
@@ -5564,16 +5564,16 @@ function parse($this, argv, context, canRun) {
|
|
|
5564
5564
|
} catch ($p) {
|
|
5565
5565
|
if ($p instanceof UsageError) {
|
|
5566
5566
|
var e = $p;
|
|
5567
|
-
e.
|
|
5567
|
+
e.h41(context);
|
|
5568
5568
|
throw e;
|
|
5569
5569
|
} else {
|
|
5570
5570
|
throw $p;
|
|
5571
5571
|
}
|
|
5572
5572
|
}
|
|
5573
5573
|
if (!(subcommand == null)) {
|
|
5574
|
-
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.
|
|
5574
|
+
var nextTokens = parse($this, drop_0(tokens, i._v), subcommand.p3w(), true);
|
|
5575
5575
|
var tmp_11;
|
|
5576
|
-
if (command.
|
|
5576
|
+
if (command.c3w_1) {
|
|
5577
5577
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
5578
5578
|
tmp_11 = !nextTokens.l();
|
|
5579
5579
|
} else {
|
|
@@ -5585,7 +5585,7 @@ function parse($this, argv, context, canRun) {
|
|
|
5585
5585
|
return nextTokens;
|
|
5586
5586
|
}
|
|
5587
5587
|
}finally {
|
|
5588
|
-
context.
|
|
5588
|
+
context.v3z();
|
|
5589
5589
|
}
|
|
5590
5590
|
return drop_0(tokens, i._v);
|
|
5591
5591
|
}
|
|
@@ -5601,13 +5601,13 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5601
5601
|
var o = element.a1();
|
|
5602
5602
|
// Inline function 'kotlin.collections.component2' call
|
|
5603
5603
|
var inv = element.b1();
|
|
5604
|
-
if (o.
|
|
5605
|
-
o.
|
|
5606
|
-
o.
|
|
5604
|
+
if (o.s40()) {
|
|
5605
|
+
o.z43(context, inv);
|
|
5606
|
+
o.o47(context);
|
|
5607
5607
|
}
|
|
5608
5608
|
}
|
|
5609
5609
|
var argsParseResult = parseArguments($this, nextArgvI, positionalArgs, arguments_0);
|
|
5610
|
-
var tmp0_safe_receiver = argsParseResult.
|
|
5610
|
+
var tmp0_safe_receiver = argsParseResult.t4a_1;
|
|
5611
5611
|
if (tmp0_safe_receiver == null)
|
|
5612
5612
|
null;
|
|
5613
5613
|
else {
|
|
@@ -5615,9 +5615,9 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5615
5615
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5616
5616
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5617
5617
|
errors.e(tmp0_safe_receiver);
|
|
5618
|
-
context.
|
|
5618
|
+
context.l3x_1 = true;
|
|
5619
5619
|
}
|
|
5620
|
-
var excessResult = handleExcessArguments($this, argsParseResult.
|
|
5620
|
+
var excessResult = handleExcessArguments($this, argsParseResult.r4a_1, hasMultipleSubAncestor, nextArgvI, tokens, subcommands, positionalArgs, context);
|
|
5621
5621
|
var tmp1_safe_receiver = excessResult.le_1;
|
|
5622
5622
|
if (tmp1_safe_receiver == null)
|
|
5623
5623
|
null;
|
|
@@ -5626,7 +5626,7 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5626
5626
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5627
5627
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5628
5628
|
errors.e(tmp1_safe_receiver);
|
|
5629
|
-
context.
|
|
5629
|
+
context.l3x_1 = true;
|
|
5630
5630
|
}
|
|
5631
5631
|
// Inline function 'kotlin.collections.filter' call
|
|
5632
5632
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -5635,7 +5635,7 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5635
5635
|
while (_iterator__ex2g4s_0.h()) {
|
|
5636
5636
|
var element_0 = _iterator__ex2g4s_0.i();
|
|
5637
5637
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5638
|
-
if (element_0.
|
|
5638
|
+
if (element_0.w4a_1) {
|
|
5639
5639
|
destination.e(element_0);
|
|
5640
5640
|
}
|
|
5641
5641
|
}
|
|
@@ -5660,7 +5660,7 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5660
5660
|
while (_iterator__ex2g4s_1.h()) {
|
|
5661
5661
|
var item = _iterator__ex2g4s_1.i();
|
|
5662
5662
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5663
|
-
var tmp$ret$13 = item.
|
|
5663
|
+
var tmp$ret$13 = item.u4a_1;
|
|
5664
5664
|
destination_0.e(tmp$ret$13);
|
|
5665
5665
|
}
|
|
5666
5666
|
var usageErrors = destination_0;
|
|
@@ -5668,18 +5668,18 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5668
5668
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5669
5669
|
try {
|
|
5670
5670
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5671
|
-
finalizeParameters(context, ungroupedOptions, command.
|
|
5671
|
+
finalizeParameters(context, ungroupedOptions, command.l3w_1, invocationsByOptionByGroup, argsParseResult.s4a_1);
|
|
5672
5672
|
} catch ($p) {
|
|
5673
5673
|
if ($p instanceof UsageError) {
|
|
5674
5674
|
var e = $p;
|
|
5675
5675
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5676
5676
|
usageErrors.e(e);
|
|
5677
|
-
context.
|
|
5677
|
+
context.l3x_1 = true;
|
|
5678
5678
|
} else {
|
|
5679
5679
|
throw $p;
|
|
5680
5680
|
}
|
|
5681
5681
|
}
|
|
5682
|
-
var tmp2_safe_receiver = Companion_instance_1.
|
|
5682
|
+
var tmp2_safe_receiver = Companion_instance_1.m41(usageErrors);
|
|
5683
5683
|
if (tmp2_safe_receiver == null)
|
|
5684
5684
|
null;
|
|
5685
5685
|
else {
|
|
@@ -5694,59 +5694,59 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5694
5694
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5695
5695
|
try {
|
|
5696
5696
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5697
|
-
element_1.
|
|
5697
|
+
element_1.o47(context);
|
|
5698
5698
|
} catch ($p) {
|
|
5699
5699
|
if ($p instanceof UsageError) {
|
|
5700
5700
|
var e_0 = $p;
|
|
5701
5701
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5702
5702
|
usageErrors.e(e_0);
|
|
5703
|
-
context.
|
|
5703
|
+
context.l3x_1 = true;
|
|
5704
5704
|
} else {
|
|
5705
5705
|
throw $p;
|
|
5706
5706
|
}
|
|
5707
5707
|
}
|
|
5708
5708
|
}
|
|
5709
5709
|
// Inline function 'kotlin.collections.forEach' call
|
|
5710
|
-
var _iterator__ex2g4s_3 = command.
|
|
5710
|
+
var _iterator__ex2g4s_3 = command.l3w_1.g();
|
|
5711
5711
|
while (_iterator__ex2g4s_3.h()) {
|
|
5712
5712
|
var element_2 = _iterator__ex2g4s_3.i();
|
|
5713
5713
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5714
5714
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5715
5715
|
try {
|
|
5716
5716
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5717
|
-
element_2.
|
|
5717
|
+
element_2.o47(context);
|
|
5718
5718
|
} catch ($p) {
|
|
5719
5719
|
if ($p instanceof UsageError) {
|
|
5720
5720
|
var e_1 = $p;
|
|
5721
5721
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5722
5722
|
usageErrors.e(e_1);
|
|
5723
|
-
context.
|
|
5723
|
+
context.l3x_1 = true;
|
|
5724
5724
|
} else {
|
|
5725
5725
|
throw $p;
|
|
5726
5726
|
}
|
|
5727
5727
|
}
|
|
5728
5728
|
}
|
|
5729
5729
|
// Inline function 'kotlin.collections.forEach' call
|
|
5730
|
-
var _iterator__ex2g4s_4 = command.
|
|
5730
|
+
var _iterator__ex2g4s_4 = command.k3w_1.g();
|
|
5731
5731
|
while (_iterator__ex2g4s_4.h()) {
|
|
5732
5732
|
var element_3 = _iterator__ex2g4s_4.i();
|
|
5733
5733
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
5734
5734
|
// Inline function 'com.github.ajalt.clikt.parsers.gatherErrors' call
|
|
5735
5735
|
try {
|
|
5736
5736
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>.<anonymous>' call
|
|
5737
|
-
element_3.
|
|
5737
|
+
element_3.o47(context);
|
|
5738
5738
|
} catch ($p) {
|
|
5739
5739
|
if ($p instanceof UsageError) {
|
|
5740
5740
|
var e_2 = $p;
|
|
5741
5741
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5742
5742
|
usageErrors.e(e_2);
|
|
5743
|
-
context.
|
|
5743
|
+
context.l3x_1 = true;
|
|
5744
5744
|
} else {
|
|
5745
5745
|
throw $p;
|
|
5746
5746
|
}
|
|
5747
5747
|
}
|
|
5748
5748
|
}
|
|
5749
|
-
var tmp3_safe_receiver = Companion_instance_1.
|
|
5749
|
+
var tmp3_safe_receiver = Companion_instance_1.m41(usageErrors);
|
|
5750
5750
|
if (tmp3_safe_receiver == null)
|
|
5751
5751
|
null;
|
|
5752
5752
|
else {
|
|
@@ -5762,22 +5762,22 @@ function finalizeAndRun($this, context, i, command, subcommand, invocationsByOpt
|
|
|
5762
5762
|
tmp_2 = false;
|
|
5763
5763
|
}
|
|
5764
5764
|
if (tmp_2) {
|
|
5765
|
-
tmp_1 = !command.
|
|
5765
|
+
tmp_1 = !command.y3v_1;
|
|
5766
5766
|
} else {
|
|
5767
5767
|
tmp_1 = false;
|
|
5768
5768
|
}
|
|
5769
5769
|
if (tmp_1) {
|
|
5770
5770
|
throw new PrintHelpMessage(context, true);
|
|
5771
5771
|
}
|
|
5772
|
-
command.
|
|
5773
|
-
if (command.
|
|
5774
|
-
var tmp4_iterator = command.
|
|
5772
|
+
command.p3w().k3x_1 = subcommand;
|
|
5773
|
+
if (command.p3w().x3w_1) {
|
|
5774
|
+
var tmp4_iterator = command.m3y().g();
|
|
5775
5775
|
while (tmp4_iterator.h()) {
|
|
5776
5776
|
var warning = tmp4_iterator.i();
|
|
5777
|
-
get_terminal(command).
|
|
5777
|
+
get_terminal(command).d3t(warning, VOID, VOID, VOID, VOID, true);
|
|
5778
5778
|
}
|
|
5779
5779
|
}
|
|
5780
|
-
command.
|
|
5780
|
+
command.d3z();
|
|
5781
5781
|
return nextArgvI;
|
|
5782
5782
|
}
|
|
5783
5783
|
function handleExcessArguments($this, excess, hasMultipleSubAncestor, i, tokens, subcommands, positionalArgs, context) {
|
|
@@ -5795,7 +5795,7 @@ function handleExcessArguments($this, excess, hasMultipleSubAncestor, i, tokens,
|
|
|
5795
5795
|
}
|
|
5796
5796
|
if (tmp_0) {
|
|
5797
5797
|
var actual = last(positionalArgs).le_1;
|
|
5798
|
-
throw new NoSuchSubcommand(actual, context.
|
|
5798
|
+
throw new NoSuchSubcommand(actual, context.f3x_1(actual, toList_0(subcommands.h2())));
|
|
5799
5799
|
} else {
|
|
5800
5800
|
tmp = to(-1, new Err(excessArgsError($this, positionalArgs, excess, context), i, false));
|
|
5801
5801
|
}
|
|
@@ -5822,7 +5822,7 @@ function parseLongOpt($this, ignoreUnknown, context, tokens, tok, index, options
|
|
|
5822
5822
|
var tmp0_container = tmp;
|
|
5823
5823
|
var name = tmp0_container.yd();
|
|
5824
5824
|
var attachedValue = tmp0_container.zd();
|
|
5825
|
-
name = context.
|
|
5825
|
+
name = context.a3x_1(context, name);
|
|
5826
5826
|
var tmp1_elvis_lhs = optionsByName.g2(name);
|
|
5827
5827
|
var tmp_1;
|
|
5828
5828
|
if (tmp1_elvis_lhs == null) {
|
|
@@ -5839,11 +5839,11 @@ function parseLongOpt($this, ignoreUnknown, context, tokens, tok, index, options
|
|
|
5839
5839
|
while (_iterator__ex2g4s.h()) {
|
|
5840
5840
|
var element = _iterator__ex2g4s.i();
|
|
5841
5841
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseLongOpt.<anonymous>' call
|
|
5842
|
-
if (!element.b1().
|
|
5842
|
+
if (!element.b1().o3x()) {
|
|
5843
5843
|
destination.n2(element.a1(), element.b1());
|
|
5844
5844
|
}
|
|
5845
5845
|
}
|
|
5846
|
-
var possibilities = context.
|
|
5846
|
+
var possibilities = context.f3x_1(tmp_3, toList_0(destination.h2()));
|
|
5847
5847
|
return new OptParseResult(1, VOID, VOID, new Err(new NoSuchOption(name, possibilities), index));
|
|
5848
5848
|
}
|
|
5849
5849
|
} else {
|
|
@@ -5858,7 +5858,7 @@ function parseOptValues($this, option, name, ignoreUnknown, tokens, index, attac
|
|
|
5858
5858
|
if (!(attachedValue == null)) {
|
|
5859
5859
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5860
5860
|
values.e(attachedValue);
|
|
5861
|
-
} else if (!option.
|
|
5861
|
+
} else if (!option.t40()) {
|
|
5862
5862
|
return OptParseResult_init_$Create$_0(1, option, name, emptyList());
|
|
5863
5863
|
}
|
|
5864
5864
|
var inductionVariable = index + 1 | 0;
|
|
@@ -5868,10 +5868,10 @@ function parseOptValues($this, option, name, ignoreUnknown, tokens, index, attac
|
|
|
5868
5868
|
var i = inductionVariable;
|
|
5869
5869
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5870
5870
|
var tok = tokens.k(i);
|
|
5871
|
-
if (values.j() >= option.
|
|
5871
|
+
if (values.j() >= option.q3x().e1_1)
|
|
5872
5872
|
break $l$loop_0;
|
|
5873
5873
|
var tmp;
|
|
5874
|
-
if (values.j() >= option.
|
|
5874
|
+
if (values.j() >= option.q3x().d1_1) {
|
|
5875
5875
|
var tmp_0;
|
|
5876
5876
|
var tmp_1;
|
|
5877
5877
|
var tmp_2;
|
|
@@ -5912,7 +5912,7 @@ function parseOptValues($this, option, name, ignoreUnknown, tokens, index, attac
|
|
|
5912
5912
|
}
|
|
5913
5913
|
while (!(i === last));
|
|
5914
5914
|
var consumed = values.j() + (attachedValue == null ? 1 : 0) | 0;
|
|
5915
|
-
var progression = option.
|
|
5915
|
+
var progression = option.q3x();
|
|
5916
5916
|
var containsLower = progression.d1_1;
|
|
5917
5917
|
var containsUpper = progression.e1_1;
|
|
5918
5918
|
var containsArg = values.j();
|
|
@@ -5958,7 +5958,7 @@ function parseShortOpt($this, ignoreUnknown, context, tokens, tok, index, option
|
|
|
5958
5958
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
5959
5959
|
if (i === 0)
|
|
5960
5960
|
continue $l$loop;
|
|
5961
|
-
var name = context.
|
|
5961
|
+
var name = context.a3x_1(context, prefix + toString(opt));
|
|
5962
5962
|
var tmp2_elvis_lhs = optionsByName.g2(name);
|
|
5963
5963
|
var tmp_0;
|
|
5964
5964
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -5988,10 +5988,10 @@ function parseShortOpt($this, ignoreUnknown, context, tokens, tok, index, option
|
|
|
5988
5988
|
tmp_0 = tmp2_elvis_lhs;
|
|
5989
5989
|
}
|
|
5990
5990
|
var option = tmp_0;
|
|
5991
|
-
if (option.
|
|
5991
|
+
if (option.q3x().e1_1 > 0) {
|
|
5992
5992
|
var value = i < get_lastIndex(tok) ? drop(tok, i + 1 | 0) : null;
|
|
5993
5993
|
var result = parseOptValues($this, option, name, ignoreUnknown, tokens, index, value, optionsByName, subcommandNames);
|
|
5994
|
-
return result.
|
|
5994
|
+
return result.b4b(VOID, VOID, plus_0(invocations, result.z4a_1));
|
|
5995
5995
|
} else {
|
|
5996
5996
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
5997
5997
|
var element_0 = new OptInvocation(option, name, emptyList());
|
|
@@ -6011,7 +6011,7 @@ function parseArguments($this, argvIndex, positionalArgs, arguments_0) {
|
|
|
6011
6011
|
$l$loop: while (_iterator__ex2g4s.h()) {
|
|
6012
6012
|
var item = _iterator__ex2g4s.i();
|
|
6013
6013
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6014
|
-
if (!(item.
|
|
6014
|
+
if (!(item.q3x() > 0))
|
|
6015
6015
|
break $l$loop;
|
|
6016
6016
|
list.e(item);
|
|
6017
6017
|
}
|
|
@@ -6022,7 +6022,7 @@ function parseArguments($this, argvIndex, positionalArgs, arguments_0) {
|
|
|
6022
6022
|
var element = _iterator__ex2g4s_0.i();
|
|
6023
6023
|
var tmp_0 = sum;
|
|
6024
6024
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parseArguments.<anonymous>' call
|
|
6025
|
-
sum = tmp_0 + element.
|
|
6025
|
+
sum = tmp_0 + element.q3x() | 0;
|
|
6026
6026
|
}
|
|
6027
6027
|
var endSize = sum;
|
|
6028
6028
|
var i = 0;
|
|
@@ -6031,15 +6031,15 @@ function parseArguments($this, argvIndex, positionalArgs, arguments_0) {
|
|
|
6031
6031
|
var argument = tmp0_iterator.i();
|
|
6032
6032
|
var remaining = positionalArgs.j() - i | 0;
|
|
6033
6033
|
var tmp_1;
|
|
6034
|
-
if (argument.
|
|
6035
|
-
var tmp4 = argument.
|
|
6034
|
+
if (argument.q3x() <= 0) {
|
|
6035
|
+
var tmp4 = argument.n47() ? 1 : 0;
|
|
6036
6036
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6037
6037
|
var b = remaining - endSize | 0;
|
|
6038
6038
|
tmp_1 = Math.max(tmp4, b);
|
|
6039
|
-
} else if (argument.
|
|
6039
|
+
} else if (argument.q3x() > 0 && !argument.n47() && remaining === 0) {
|
|
6040
6040
|
tmp_1 = 0;
|
|
6041
6041
|
} else {
|
|
6042
|
-
tmp_1 = argument.
|
|
6042
|
+
tmp_1 = argument.q3x();
|
|
6043
6043
|
}
|
|
6044
6044
|
var consumed = tmp_1;
|
|
6045
6045
|
if (consumed > remaining) {
|
|
@@ -6070,29 +6070,29 @@ function parseArguments($this, argvIndex, positionalArgs, arguments_0) {
|
|
|
6070
6070
|
return new ArgsParseResult(excess, toList_1(out), null);
|
|
6071
6071
|
}
|
|
6072
6072
|
function loadArgFile($this, filename, context) {
|
|
6073
|
-
return shlex(filename, ensureNotNull(context.
|
|
6073
|
+
return shlex(filename, ensureNotNull(context.c3x_1)(filename), context);
|
|
6074
6074
|
}
|
|
6075
6075
|
function excessArgsError($this, positionalArgs, excess, context) {
|
|
6076
6076
|
var tmp = takeLast(positionalArgs, excess);
|
|
6077
6077
|
var actual = joinToString(tmp, ' ', '(', ')', 3, VOID, Parser$excessArgsError$lambda);
|
|
6078
|
-
var message = excess === 1 ? context.
|
|
6078
|
+
var message = excess === 1 ? context.g3x_1.z44(actual) : context.g3x_1.a45(actual, excess);
|
|
6079
6079
|
// Inline function 'kotlin.also' call
|
|
6080
6080
|
var this_0 = new UsageError(message);
|
|
6081
6081
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.excessArgsError.<anonymous>' call
|
|
6082
|
-
this_0.
|
|
6082
|
+
this_0.h41(context);
|
|
6083
6083
|
return this_0;
|
|
6084
6084
|
}
|
|
6085
6085
|
function sam$kotlin_Comparator$0_2(function_0) {
|
|
6086
|
-
this.
|
|
6086
|
+
this.c4b_1 = function_0;
|
|
6087
6087
|
}
|
|
6088
6088
|
protoOf(sam$kotlin_Comparator$0_2).dd = function (a, b) {
|
|
6089
|
-
return this.
|
|
6089
|
+
return this.c4b_1(a, b);
|
|
6090
6090
|
};
|
|
6091
6091
|
protoOf(sam$kotlin_Comparator$0_2).compare = function (a, b) {
|
|
6092
6092
|
return this.dd(a, b);
|
|
6093
6093
|
};
|
|
6094
6094
|
protoOf(sam$kotlin_Comparator$0_2).p3 = function () {
|
|
6095
|
-
return this.
|
|
6095
|
+
return this.c4b_1;
|
|
6096
6096
|
};
|
|
6097
6097
|
protoOf(sam$kotlin_Comparator$0_2).equals = function (other) {
|
|
6098
6098
|
var tmp;
|
|
@@ -6120,16 +6120,16 @@ function parse$isLongOptionWithEquals(longNames, $context, optionsByName, prefix
|
|
|
6120
6120
|
return false;
|
|
6121
6121
|
if (prefix.length > 1)
|
|
6122
6122
|
return true;
|
|
6123
|
-
if (longNames.o1($context.
|
|
6123
|
+
if (longNames.o1($context.a3x_1($context, substringBefore(token, '='))))
|
|
6124
6124
|
return true;
|
|
6125
6125
|
// Inline function 'kotlin.collections.contains' call
|
|
6126
6126
|
// Inline function 'kotlin.collections.containsKey' call
|
|
6127
|
-
var key = $context.
|
|
6127
|
+
var key = $context.a3x_1($context, take(token, 2));
|
|
6128
6128
|
return !(isInterface(optionsByName, KtMap) ? optionsByName : THROW_CCE()).f2(key);
|
|
6129
6129
|
}
|
|
6130
6130
|
function parse$consumeParse(positionalArgs, invocations, errors, $context, i, tokenIndex, result) {
|
|
6131
6131
|
// Inline function 'kotlin.collections.map' call
|
|
6132
|
-
var this_0 = result.
|
|
6132
|
+
var this_0 = result.y4a_1;
|
|
6133
6133
|
// Inline function 'kotlin.collections.mapTo' call
|
|
6134
6134
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
6135
6135
|
var _iterator__ex2g4s = this_0.g();
|
|
@@ -6142,9 +6142,9 @@ function parse$consumeParse(positionalArgs, invocations, errors, $context, i, to
|
|
|
6142
6142
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6143
6143
|
addAll(positionalArgs, destination);
|
|
6144
6144
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6145
|
-
var elements = result.
|
|
6145
|
+
var elements = result.z4a_1;
|
|
6146
6146
|
addAll(invocations, elements);
|
|
6147
|
-
var tmp0_safe_receiver = result.
|
|
6147
|
+
var tmp0_safe_receiver = result.a4b_1;
|
|
6148
6148
|
if (tmp0_safe_receiver == null)
|
|
6149
6149
|
null;
|
|
6150
6150
|
else {
|
|
@@ -6152,16 +6152,16 @@ function parse$consumeParse(positionalArgs, invocations, errors, $context, i, to
|
|
|
6152
6152
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.parse.consumeParse.<anonymous>' call
|
|
6153
6153
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6154
6154
|
errors.e(tmp0_safe_receiver);
|
|
6155
|
-
$context.
|
|
6155
|
+
$context.l3x_1 = true;
|
|
6156
6156
|
}
|
|
6157
|
-
i._v = i._v + result.
|
|
6157
|
+
i._v = i._v + result.x4a_1 | 0;
|
|
6158
6158
|
}
|
|
6159
6159
|
function Parser$finalizeAndRun$lambda(a, b) {
|
|
6160
6160
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
6161
6161
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
6162
|
-
var tmp = a.
|
|
6162
|
+
var tmp = a.v4a_1;
|
|
6163
6163
|
// Inline function 'com.github.ajalt.clikt.parsers.Parser.finalizeAndRun.<anonymous>' call
|
|
6164
|
-
var tmp$ret$1 = b.
|
|
6164
|
+
var tmp$ret$1 = b.v4a_1;
|
|
6165
6165
|
return compareValues(tmp, tmp$ret$1);
|
|
6166
6166
|
}
|
|
6167
6167
|
function Parser$parseArguments$lambda(it) {
|
|
@@ -6173,7 +6173,7 @@ function Parser$excessArgsError$lambda(it) {
|
|
|
6173
6173
|
}
|
|
6174
6174
|
function Parser() {
|
|
6175
6175
|
}
|
|
6176
|
-
protoOf(Parser).
|
|
6176
|
+
protoOf(Parser).z3y = function (argv, context) {
|
|
6177
6177
|
parse(this, argv, context, true);
|
|
6178
6178
|
};
|
|
6179
6179
|
var Parser_instance;
|
|
@@ -6181,20 +6181,20 @@ function Parser_getInstance() {
|
|
|
6181
6181
|
return Parser_instance;
|
|
6182
6182
|
}
|
|
6183
6183
|
function OptInvocation(opt, name, values) {
|
|
6184
|
-
this.
|
|
6185
|
-
this.
|
|
6186
|
-
this.
|
|
6184
|
+
this.n4a_1 = opt;
|
|
6185
|
+
this.o4a_1 = name;
|
|
6186
|
+
this.p4a_1 = values;
|
|
6187
6187
|
}
|
|
6188
|
-
protoOf(OptInvocation).
|
|
6189
|
-
return new Invocation(this.
|
|
6188
|
+
protoOf(OptInvocation).q4a = function () {
|
|
6189
|
+
return new Invocation(this.o4a_1, this.p4a_1);
|
|
6190
6190
|
};
|
|
6191
6191
|
protoOf(OptInvocation).toString = function () {
|
|
6192
|
-
return 'OptInvocation(opt=' + toString_0(this.
|
|
6192
|
+
return 'OptInvocation(opt=' + toString_0(this.n4a_1) + ', name=' + this.o4a_1 + ', values=' + toString_0(this.p4a_1) + ')';
|
|
6193
6193
|
};
|
|
6194
6194
|
protoOf(OptInvocation).hashCode = function () {
|
|
6195
|
-
var result = hashCode(this.
|
|
6196
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
6197
|
-
result = imul(result, 31) + hashCode(this.
|
|
6195
|
+
var result = hashCode(this.n4a_1);
|
|
6196
|
+
result = imul(result, 31) + getStringHashCode(this.o4a_1) | 0;
|
|
6197
|
+
result = imul(result, 31) + hashCode(this.p4a_1) | 0;
|
|
6198
6198
|
return result;
|
|
6199
6199
|
};
|
|
6200
6200
|
protoOf(OptInvocation).equals = function (other) {
|
|
@@ -6203,27 +6203,27 @@ protoOf(OptInvocation).equals = function (other) {
|
|
|
6203
6203
|
if (!(other instanceof OptInvocation))
|
|
6204
6204
|
return false;
|
|
6205
6205
|
var tmp0_other_with_cast = other instanceof OptInvocation ? other : THROW_CCE();
|
|
6206
|
-
if (!equals(this.
|
|
6206
|
+
if (!equals(this.n4a_1, tmp0_other_with_cast.n4a_1))
|
|
6207
6207
|
return false;
|
|
6208
|
-
if (!(this.
|
|
6208
|
+
if (!(this.o4a_1 === tmp0_other_with_cast.o4a_1))
|
|
6209
6209
|
return false;
|
|
6210
|
-
if (!equals(this.
|
|
6210
|
+
if (!equals(this.p4a_1, tmp0_other_with_cast.p4a_1))
|
|
6211
6211
|
return false;
|
|
6212
6212
|
return true;
|
|
6213
6213
|
};
|
|
6214
6214
|
function Err(e, i, includeInMulti) {
|
|
6215
6215
|
includeInMulti = includeInMulti === VOID ? true : includeInMulti;
|
|
6216
|
-
this.
|
|
6217
|
-
this.
|
|
6218
|
-
this.
|
|
6216
|
+
this.u4a_1 = e;
|
|
6217
|
+
this.v4a_1 = i;
|
|
6218
|
+
this.w4a_1 = includeInMulti;
|
|
6219
6219
|
}
|
|
6220
6220
|
protoOf(Err).toString = function () {
|
|
6221
|
-
return 'Err(e=' + this.
|
|
6221
|
+
return 'Err(e=' + this.u4a_1.toString() + ', i=' + this.v4a_1 + ', includeInMulti=' + this.w4a_1 + ')';
|
|
6222
6222
|
};
|
|
6223
6223
|
protoOf(Err).hashCode = function () {
|
|
6224
|
-
var result = hashCode(this.
|
|
6225
|
-
result = imul(result, 31) + this.
|
|
6226
|
-
result = imul(result, 31) + getBooleanHashCode(this.
|
|
6224
|
+
var result = hashCode(this.u4a_1);
|
|
6225
|
+
result = imul(result, 31) + this.v4a_1 | 0;
|
|
6226
|
+
result = imul(result, 31) + getBooleanHashCode(this.w4a_1) | 0;
|
|
6227
6227
|
return result;
|
|
6228
6228
|
};
|
|
6229
6229
|
protoOf(Err).equals = function (other) {
|
|
@@ -6232,11 +6232,11 @@ protoOf(Err).equals = function (other) {
|
|
|
6232
6232
|
if (!(other instanceof Err))
|
|
6233
6233
|
return false;
|
|
6234
6234
|
var tmp0_other_with_cast = other instanceof Err ? other : THROW_CCE();
|
|
6235
|
-
if (!equals(this.
|
|
6235
|
+
if (!equals(this.u4a_1, tmp0_other_with_cast.u4a_1))
|
|
6236
6236
|
return false;
|
|
6237
|
-
if (!(this.
|
|
6237
|
+
if (!(this.v4a_1 === tmp0_other_with_cast.v4a_1))
|
|
6238
6238
|
return false;
|
|
6239
|
-
if (!(this.
|
|
6239
|
+
if (!(this.w4a_1 === tmp0_other_with_cast.w4a_1))
|
|
6240
6240
|
return false;
|
|
6241
6241
|
return true;
|
|
6242
6242
|
};
|
|
@@ -6258,29 +6258,29 @@ function OptParseResult(consumed, unknown, known, err) {
|
|
|
6258
6258
|
unknown = unknown === VOID ? emptyList() : unknown;
|
|
6259
6259
|
known = known === VOID ? emptyList() : known;
|
|
6260
6260
|
err = err === VOID ? null : err;
|
|
6261
|
-
this.
|
|
6262
|
-
this.
|
|
6263
|
-
this.
|
|
6264
|
-
this.
|
|
6261
|
+
this.x4a_1 = consumed;
|
|
6262
|
+
this.y4a_1 = unknown;
|
|
6263
|
+
this.z4a_1 = known;
|
|
6264
|
+
this.a4b_1 = err;
|
|
6265
6265
|
}
|
|
6266
|
-
protoOf(OptParseResult).
|
|
6266
|
+
protoOf(OptParseResult).d4b = function (consumed, unknown, known, err) {
|
|
6267
6267
|
return new OptParseResult(consumed, unknown, known, err);
|
|
6268
6268
|
};
|
|
6269
|
-
protoOf(OptParseResult).
|
|
6270
|
-
consumed = consumed === VOID ? this.
|
|
6271
|
-
unknown = unknown === VOID ? this.
|
|
6272
|
-
known = known === VOID ? this.
|
|
6273
|
-
err = err === VOID ? this.
|
|
6274
|
-
return $super === VOID ? this.
|
|
6269
|
+
protoOf(OptParseResult).b4b = function (consumed, unknown, known, err, $super) {
|
|
6270
|
+
consumed = consumed === VOID ? this.x4a_1 : consumed;
|
|
6271
|
+
unknown = unknown === VOID ? this.y4a_1 : unknown;
|
|
6272
|
+
known = known === VOID ? this.z4a_1 : known;
|
|
6273
|
+
err = err === VOID ? this.a4b_1 : err;
|
|
6274
|
+
return $super === VOID ? this.d4b(consumed, unknown, known, err) : $super.d4b.call(this, consumed, unknown, known, err);
|
|
6275
6275
|
};
|
|
6276
6276
|
protoOf(OptParseResult).toString = function () {
|
|
6277
|
-
return 'OptParseResult(consumed=' + this.
|
|
6277
|
+
return 'OptParseResult(consumed=' + this.x4a_1 + ', unknown=' + toString_0(this.y4a_1) + ', known=' + toString_0(this.z4a_1) + ', err=' + toString_1(this.a4b_1) + ')';
|
|
6278
6278
|
};
|
|
6279
6279
|
protoOf(OptParseResult).hashCode = function () {
|
|
6280
|
-
var result = this.
|
|
6280
|
+
var result = this.x4a_1;
|
|
6281
|
+
result = imul(result, 31) + hashCode(this.y4a_1) | 0;
|
|
6281
6282
|
result = imul(result, 31) + hashCode(this.z4a_1) | 0;
|
|
6282
|
-
result = imul(result, 31) +
|
|
6283
|
-
result = imul(result, 31) + (this.b4b_1 == null ? 0 : this.b4b_1.hashCode()) | 0;
|
|
6283
|
+
result = imul(result, 31) + (this.a4b_1 == null ? 0 : this.a4b_1.hashCode()) | 0;
|
|
6284
6284
|
return result;
|
|
6285
6285
|
};
|
|
6286
6286
|
protoOf(OptParseResult).equals = function (other) {
|
|
@@ -6289,28 +6289,28 @@ protoOf(OptParseResult).equals = function (other) {
|
|
|
6289
6289
|
if (!(other instanceof OptParseResult))
|
|
6290
6290
|
return false;
|
|
6291
6291
|
var tmp0_other_with_cast = other instanceof OptParseResult ? other : THROW_CCE();
|
|
6292
|
-
if (!(this.
|
|
6292
|
+
if (!(this.x4a_1 === tmp0_other_with_cast.x4a_1))
|
|
6293
|
+
return false;
|
|
6294
|
+
if (!equals(this.y4a_1, tmp0_other_with_cast.y4a_1))
|
|
6293
6295
|
return false;
|
|
6294
6296
|
if (!equals(this.z4a_1, tmp0_other_with_cast.z4a_1))
|
|
6295
6297
|
return false;
|
|
6296
6298
|
if (!equals(this.a4b_1, tmp0_other_with_cast.a4b_1))
|
|
6297
6299
|
return false;
|
|
6298
|
-
if (!equals(this.b4b_1, tmp0_other_with_cast.b4b_1))
|
|
6299
|
-
return false;
|
|
6300
6300
|
return true;
|
|
6301
6301
|
};
|
|
6302
6302
|
function ArgsParseResult(excessCount, args, err) {
|
|
6303
|
-
this.
|
|
6304
|
-
this.
|
|
6305
|
-
this.
|
|
6303
|
+
this.r4a_1 = excessCount;
|
|
6304
|
+
this.s4a_1 = args;
|
|
6305
|
+
this.t4a_1 = err;
|
|
6306
6306
|
}
|
|
6307
6307
|
protoOf(ArgsParseResult).toString = function () {
|
|
6308
|
-
return 'ArgsParseResult(excessCount=' + this.
|
|
6308
|
+
return 'ArgsParseResult(excessCount=' + this.r4a_1 + ', args=' + toString_0(this.s4a_1) + ', err=' + toString_1(this.t4a_1) + ')';
|
|
6309
6309
|
};
|
|
6310
6310
|
protoOf(ArgsParseResult).hashCode = function () {
|
|
6311
|
-
var result = this.
|
|
6312
|
-
result = imul(result, 31) + hashCode(this.
|
|
6313
|
-
result = imul(result, 31) + (this.
|
|
6311
|
+
var result = this.r4a_1;
|
|
6312
|
+
result = imul(result, 31) + hashCode(this.s4a_1) | 0;
|
|
6313
|
+
result = imul(result, 31) + (this.t4a_1 == null ? 0 : this.t4a_1.hashCode()) | 0;
|
|
6314
6314
|
return result;
|
|
6315
6315
|
};
|
|
6316
6316
|
protoOf(ArgsParseResult).equals = function (other) {
|
|
@@ -6319,16 +6319,16 @@ protoOf(ArgsParseResult).equals = function (other) {
|
|
|
6319
6319
|
if (!(other instanceof ArgsParseResult))
|
|
6320
6320
|
return false;
|
|
6321
6321
|
var tmp0_other_with_cast = other instanceof ArgsParseResult ? other : THROW_CCE();
|
|
6322
|
-
if (!(this.
|
|
6322
|
+
if (!(this.r4a_1 === tmp0_other_with_cast.r4a_1))
|
|
6323
6323
|
return false;
|
|
6324
|
-
if (!equals(this.
|
|
6324
|
+
if (!equals(this.s4a_1, tmp0_other_with_cast.s4a_1))
|
|
6325
6325
|
return false;
|
|
6326
|
-
if (!equals(this.
|
|
6326
|
+
if (!equals(this.t4a_1, tmp0_other_with_cast.t4a_1))
|
|
6327
6327
|
return false;
|
|
6328
6328
|
return true;
|
|
6329
6329
|
};
|
|
6330
6330
|
function shlex(filename, text, context) {
|
|
6331
|
-
var tmp1_elvis_lhs = context == null ? null : context.
|
|
6331
|
+
var tmp1_elvis_lhs = context == null ? null : context.g3x_1;
|
|
6332
6332
|
var localization = tmp1_elvis_lhs == null ? get_defaultLocalization() : tmp1_elvis_lhs;
|
|
6333
6333
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6334
6334
|
var toks = ArrayList_init_$Create$();
|
|
@@ -6350,7 +6350,7 @@ function shlex(filename, text, context) {
|
|
|
6350
6350
|
} else {
|
|
6351
6351
|
if (c === _Char___init__impl__6a9atx(92)) {
|
|
6352
6352
|
if (i._v >= get_lastIndex(text)) {
|
|
6353
|
-
shlex$err(filename, text, i, localization.
|
|
6353
|
+
shlex$err(filename, text, i, localization.y44());
|
|
6354
6354
|
}
|
|
6355
6355
|
if (contains('\r\n', charSequenceGet(text, i._v + 1 | 0))) {
|
|
6356
6356
|
do {
|
|
@@ -6422,7 +6422,7 @@ function shlex(filename, text, context) {
|
|
|
6422
6422
|
}
|
|
6423
6423
|
var tmp_8 = inQuote;
|
|
6424
6424
|
if (!((tmp_8 == null ? null : new Char(tmp_8)) == null)) {
|
|
6425
|
-
shlex$err(filename, text, i, localization.
|
|
6425
|
+
shlex$err(filename, text, i, localization.x44());
|
|
6426
6426
|
}
|
|
6427
6427
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
6428
6428
|
if (charSequenceLength(sb) > 0) {
|
|
@@ -6501,24 +6501,24 @@ function get_impls() {
|
|
|
6501
6501
|
var impls;
|
|
6502
6502
|
function readFileIfExists(filename) {
|
|
6503
6503
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6504
|
-
return get_impls().
|
|
6504
|
+
return get_impls().e4b(filename);
|
|
6505
6505
|
}
|
|
6506
6506
|
function NodeMppImpls(fs) {
|
|
6507
|
-
this.
|
|
6507
|
+
this.f4b_1 = fs;
|
|
6508
6508
|
}
|
|
6509
|
-
protoOf(NodeMppImpls).
|
|
6509
|
+
protoOf(NodeMppImpls).m3v = function (key) {
|
|
6510
6510
|
var tmp = process.env[key];
|
|
6511
6511
|
return (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
|
|
6512
6512
|
};
|
|
6513
|
-
protoOf(NodeMppImpls).
|
|
6513
|
+
protoOf(NodeMppImpls).g4b = function (status) {
|
|
6514
6514
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6515
6515
|
process.exit(status);
|
|
6516
6516
|
return Unit_instance;
|
|
6517
6517
|
};
|
|
6518
|
-
protoOf(NodeMppImpls).
|
|
6518
|
+
protoOf(NodeMppImpls).e4b = function (filename) {
|
|
6519
6519
|
var tmp;
|
|
6520
6520
|
try {
|
|
6521
|
-
var tmp_0 = this.
|
|
6521
|
+
var tmp_0 = this.f4b_1.readFileSync(filename, 'utf-8');
|
|
6522
6522
|
tmp = (!(tmp_0 == null) ? typeof tmp_0 === 'string' : false) ? tmp_0 : null;
|
|
6523
6523
|
} catch ($p) {
|
|
6524
6524
|
var tmp_1;
|
|
@@ -6534,12 +6534,12 @@ protoOf(NodeMppImpls).f4b = function (filename) {
|
|
|
6534
6534
|
};
|
|
6535
6535
|
function BrowserMppImpls() {
|
|
6536
6536
|
}
|
|
6537
|
-
protoOf(BrowserMppImpls).
|
|
6537
|
+
protoOf(BrowserMppImpls).m3v = function (key) {
|
|
6538
6538
|
return null;
|
|
6539
6539
|
};
|
|
6540
|
-
protoOf(BrowserMppImpls).
|
|
6540
|
+
protoOf(BrowserMppImpls).g4b = function (status) {
|
|
6541
6541
|
};
|
|
6542
|
-
protoOf(BrowserMppImpls).
|
|
6542
|
+
protoOf(BrowserMppImpls).e4b = function (filename) {
|
|
6543
6543
|
return null;
|
|
6544
6544
|
};
|
|
6545
6545
|
var BrowserMppImpls_instance;
|
|
@@ -6548,11 +6548,11 @@ function BrowserMppImpls_getInstance() {
|
|
|
6548
6548
|
}
|
|
6549
6549
|
function readEnvvar(key) {
|
|
6550
6550
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6551
|
-
return get_impls().
|
|
6551
|
+
return get_impls().m3v(key);
|
|
6552
6552
|
}
|
|
6553
6553
|
function exitProcessMpp(status) {
|
|
6554
6554
|
_init_properties_MppImpl_kt__zar9hh();
|
|
6555
|
-
return get_impls().
|
|
6555
|
+
return get_impls().g4b(status);
|
|
6556
6556
|
}
|
|
6557
6557
|
function get_graphemeLengthMpp(_this__u8e3s4) {
|
|
6558
6558
|
_init_properties_MppImpl_kt__zar9hh();
|
|
@@ -6580,44 +6580,44 @@ function _init_properties_MppImpl_kt__zar9hh() {
|
|
|
6580
6580
|
}
|
|
6581
6581
|
}
|
|
6582
6582
|
//region block: post-declaration
|
|
6583
|
-
protoOf(defaultLocalization$1).
|
|
6584
|
-
protoOf(defaultLocalization$1).
|
|
6585
|
-
protoOf(defaultLocalization$1).
|
|
6586
|
-
protoOf(defaultLocalization$1).
|
|
6587
|
-
protoOf(defaultLocalization$1).
|
|
6588
|
-
protoOf(defaultLocalization$1).
|
|
6589
|
-
protoOf(defaultLocalization$1).
|
|
6590
|
-
protoOf(defaultLocalization$1).
|
|
6591
|
-
protoOf(defaultLocalization$1).
|
|
6592
|
-
protoOf(defaultLocalization$1).
|
|
6593
|
-
protoOf(defaultLocalization$1).
|
|
6594
|
-
protoOf(defaultLocalization$1).
|
|
6595
|
-
protoOf(defaultLocalization$1).
|
|
6596
|
-
protoOf(defaultLocalization$1).
|
|
6597
|
-
protoOf(defaultLocalization$1).
|
|
6598
|
-
protoOf(defaultLocalization$1).
|
|
6599
|
-
protoOf(defaultLocalization$1).
|
|
6600
|
-
protoOf(defaultLocalization$1).
|
|
6601
|
-
protoOf(defaultLocalization$1).
|
|
6602
|
-
protoOf(defaultLocalization$1).
|
|
6603
|
-
protoOf(defaultLocalization$1).
|
|
6604
|
-
protoOf(defaultLocalization$1).
|
|
6605
|
-
protoOf(defaultLocalization$1).
|
|
6606
|
-
protoOf(defaultLocalization$1).
|
|
6607
|
-
protoOf(defaultLocalization$1).
|
|
6608
|
-
protoOf(defaultLocalization$1).
|
|
6609
|
-
protoOf(defaultLocalization$1).
|
|
6610
|
-
protoOf(defaultLocalization$1).
|
|
6611
|
-
protoOf(defaultLocalization$1).
|
|
6612
|
-
protoOf(defaultLocalization$1).
|
|
6613
|
-
protoOf(defaultLocalization$1).
|
|
6614
|
-
protoOf(defaultLocalization$1).
|
|
6615
|
-
protoOf(defaultLocalization$1).
|
|
6616
|
-
protoOf(ProcessedArgumentImpl).
|
|
6617
|
-
protoOf(OptionWithValuesImpl).
|
|
6618
|
-
protoOf(OptionWithValuesImpl).
|
|
6619
|
-
protoOf(OptionWithValuesImpl).
|
|
6620
|
-
protoOf(OptionWithValuesImpl).
|
|
6583
|
+
protoOf(defaultLocalization$1).w44 = usageError;
|
|
6584
|
+
protoOf(defaultLocalization$1).c42 = badParameter;
|
|
6585
|
+
protoOf(defaultLocalization$1).a42 = badParameterWithMessage;
|
|
6586
|
+
protoOf(defaultLocalization$1).b42 = badParameterWithParam;
|
|
6587
|
+
protoOf(defaultLocalization$1).z41 = badParameterWithMessageAndParam;
|
|
6588
|
+
protoOf(defaultLocalization$1).t43 = missingOption;
|
|
6589
|
+
protoOf(defaultLocalization$1).a43 = missingArgument;
|
|
6590
|
+
protoOf(defaultLocalization$1).j42 = noSuchSubcommand;
|
|
6591
|
+
protoOf(defaultLocalization$1).p42 = noSuchOption;
|
|
6592
|
+
protoOf(defaultLocalization$1).v42 = incorrectOptionValueCount;
|
|
6593
|
+
protoOf(defaultLocalization$1).g43 = incorrectArgumentValueCount;
|
|
6594
|
+
protoOf(defaultLocalization$1).c41 = fileNotFound;
|
|
6595
|
+
protoOf(defaultLocalization$1).o43 = invalidFileFormat;
|
|
6596
|
+
protoOf(defaultLocalization$1).n43 = invalidFileFormat_0;
|
|
6597
|
+
protoOf(defaultLocalization$1).x44 = unclosedQuote;
|
|
6598
|
+
protoOf(defaultLocalization$1).y44 = fileEndsWithSlash;
|
|
6599
|
+
protoOf(defaultLocalization$1).z44 = extraArgumentOne;
|
|
6600
|
+
protoOf(defaultLocalization$1).a45 = extraArgumentMany;
|
|
6601
|
+
protoOf(defaultLocalization$1).b45 = invalidFlagValueInFile;
|
|
6602
|
+
protoOf(defaultLocalization$1).c45 = boolConversionError;
|
|
6603
|
+
protoOf(defaultLocalization$1).d45 = invalidChoice;
|
|
6604
|
+
protoOf(defaultLocalization$1).e45 = stringMetavar;
|
|
6605
|
+
protoOf(defaultLocalization$1).f45 = intMetavar;
|
|
6606
|
+
protoOf(defaultLocalization$1).g45 = usageTitle;
|
|
6607
|
+
protoOf(defaultLocalization$1).h45 = optionsTitle;
|
|
6608
|
+
protoOf(defaultLocalization$1).i45 = argumentsTitle;
|
|
6609
|
+
protoOf(defaultLocalization$1).j45 = commandsTitle;
|
|
6610
|
+
protoOf(defaultLocalization$1).k45 = optionsMetavar;
|
|
6611
|
+
protoOf(defaultLocalization$1).l45 = commandMetavar;
|
|
6612
|
+
protoOf(defaultLocalization$1).m45 = argumentsMetavar;
|
|
6613
|
+
protoOf(defaultLocalization$1).n45 = helpTagDefault;
|
|
6614
|
+
protoOf(defaultLocalization$1).o45 = helpTagRequired;
|
|
6615
|
+
protoOf(defaultLocalization$1).d3y = helpOptionMessage;
|
|
6616
|
+
protoOf(ProcessedArgumentImpl).t47 = copy$default;
|
|
6617
|
+
protoOf(OptionWithValuesImpl).t48 = copy$default_0;
|
|
6618
|
+
protoOf(OptionWithValuesImpl).u48 = copy$default_1;
|
|
6619
|
+
protoOf(OptionWithValuesImpl).a49 = getValue_0;
|
|
6620
|
+
protoOf(OptionWithValuesImpl).k3y = parameterHelp;
|
|
6621
6621
|
//endregion
|
|
6622
6622
|
//region block: init
|
|
6623
6623
|
BashCompletionGenerator_instance = new BashCompletionGenerator();
|