git-digger 1.7.8 → 1.7.9
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/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +61 -185
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/clikt-clikt-mordant.js +10 -13
- package/kotlin/clikt-clikt-mordant.js.map +1 -1
- package/kotlin/clikt-clikt.js +116 -292
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +25 -43
- package/kotlin/colormath-root-colormath.js.map +1 -1
- package/kotlin/command-line-tools-digger-cli.js +8 -27
- package/kotlin/command-line-tools-digger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +255 -386
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +55 -89
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +20 -34
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant-omnibus.js.map +1 -1
- package/kotlin/mordant-mordant.js +114 -304
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +1 -1
- package/kotlin/tools-cli-tools.js.map +1 -1
- package/kotlin/tools-digger-core.js +22 -51
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +11 -12
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +7 -7
- package/kotlin/tools-digger-model.js.map +1 -1
- package/kotlin/tools-git-adapter.js +12 -18
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -1
package/kotlin/clikt-clikt.js
CHANGED
|
@@ -2,57 +2,57 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var generateSequence = kotlin_kotlin.$_$.
|
|
6
|
-
var map = kotlin_kotlin.$_$.
|
|
7
|
-
var toList = kotlin_kotlin.$_$.
|
|
5
|
+
var generateSequence = kotlin_kotlin.$_$.o9;
|
|
6
|
+
var map = kotlin_kotlin.$_$.t9;
|
|
7
|
+
var toList = kotlin_kotlin.$_$.x9;
|
|
8
8
|
var asReversed = kotlin_kotlin.$_$.a4;
|
|
9
9
|
var joinToString = kotlin_kotlin.$_$.z4;
|
|
10
10
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q1;
|
|
11
|
-
var replace = kotlin_kotlin.$_$.
|
|
12
|
-
var to = kotlin_kotlin.$_$.
|
|
11
|
+
var replace = kotlin_kotlin.$_$.va;
|
|
12
|
+
var to = kotlin_kotlin.$_$.xc;
|
|
13
13
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
14
14
|
var plus = kotlin_kotlin.$_$.s5;
|
|
15
15
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
16
16
|
var Unit_instance = kotlin_kotlin.$_$.j3;
|
|
17
17
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.g4;
|
|
18
18
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
19
|
-
var Triple = kotlin_kotlin.$_$.
|
|
20
|
-
var numberRangeToNumber = kotlin_kotlin.$_$.
|
|
19
|
+
var Triple = kotlin_kotlin.$_$.ac;
|
|
20
|
+
var numberRangeToNumber = kotlin_kotlin.$_$.l8;
|
|
21
21
|
var addAll = kotlin_kotlin.$_$.x3;
|
|
22
22
|
var compareTo = kotlin_kotlin.$_$.l7;
|
|
23
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
23
|
+
var ensureNotNull = kotlin_kotlin.$_$.oc;
|
|
24
24
|
var plus_0 = kotlin_kotlin.$_$.t5;
|
|
25
25
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.w;
|
|
26
|
-
var trimMargin = kotlin_kotlin.$_$.
|
|
27
|
-
var trimIndent = kotlin_kotlin.$_$.
|
|
28
|
-
var prependIndent = kotlin_kotlin.$_$.
|
|
26
|
+
var trimMargin = kotlin_kotlin.$_$.hb;
|
|
27
|
+
var trimIndent = kotlin_kotlin.$_$.gb;
|
|
28
|
+
var prependIndent = kotlin_kotlin.$_$.qa;
|
|
29
29
|
var VOID = kotlin_kotlin.$_$.g;
|
|
30
30
|
var joinTo = kotlin_kotlin.$_$.a5;
|
|
31
31
|
var LinkedHashSet_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
32
|
-
var first = kotlin_kotlin.$_$.
|
|
32
|
+
var first = kotlin_kotlin.$_$.ga;
|
|
33
33
|
var toString = kotlin_kotlin.$_$.t1;
|
|
34
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
34
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.tc;
|
|
35
35
|
var equals = kotlin_kotlin.$_$.m7;
|
|
36
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
37
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
38
|
-
var Enum = kotlin_kotlin.$_$.
|
|
39
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
40
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
41
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
42
|
-
var trim = kotlin_kotlin.$_$.
|
|
43
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
36
|
+
var protoOf = kotlin_kotlin.$_$.r8;
|
|
37
|
+
var initMetadataForObject = kotlin_kotlin.$_$.x7;
|
|
38
|
+
var Enum = kotlin_kotlin.$_$.rb;
|
|
39
|
+
var initMetadataForClass = kotlin_kotlin.$_$.s7;
|
|
40
|
+
var THROW_CCE = kotlin_kotlin.$_$.zb;
|
|
41
|
+
var isCharSequence = kotlin_kotlin.$_$.c8;
|
|
42
|
+
var trim = kotlin_kotlin.$_$.jb;
|
|
43
|
+
var toString_0 = kotlin_kotlin.$_$.u8;
|
|
44
44
|
var lastOrNull = kotlin_kotlin.$_$.e5;
|
|
45
45
|
var first_0 = kotlin_kotlin.$_$.s4;
|
|
46
|
-
var replace_0 = kotlin_kotlin.$_$.
|
|
47
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
46
|
+
var replace_0 = kotlin_kotlin.$_$.ua;
|
|
47
|
+
var isBlank = kotlin_kotlin.$_$.ja;
|
|
48
48
|
var Collection = kotlin_kotlin.$_$.l3;
|
|
49
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
50
|
-
var startsWith = kotlin_kotlin.$_$.
|
|
49
|
+
var isInterface = kotlin_kotlin.$_$.g8;
|
|
50
|
+
var startsWith = kotlin_kotlin.$_$.ya;
|
|
51
51
|
var charArrayOf = kotlin_kotlin.$_$.h7;
|
|
52
|
-
var trimStart = kotlin_kotlin.$_$.
|
|
52
|
+
var trimStart = kotlin_kotlin.$_$.ib;
|
|
53
53
|
var charSequenceGet = kotlin_kotlin.$_$.i7;
|
|
54
|
-
var contains = kotlin_kotlin.$_$.
|
|
55
|
-
var startsWith_0 = kotlin_kotlin.$_$.
|
|
54
|
+
var contains = kotlin_kotlin.$_$.ca;
|
|
55
|
+
var startsWith_0 = kotlin_kotlin.$_$.za;
|
|
56
56
|
var emptyMap = kotlin_kotlin.$_$.p4;
|
|
57
57
|
var emptyList = kotlin_kotlin.$_$.o4;
|
|
58
58
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
@@ -62,101 +62,101 @@
|
|
|
62
62
|
var flatten = kotlin_kotlin.$_$.u4;
|
|
63
63
|
var toList_0 = kotlin_kotlin.$_$.l6;
|
|
64
64
|
var setOf = kotlin_kotlin.$_$.z5;
|
|
65
|
-
var removeSuffix = kotlin_kotlin.$_$.
|
|
65
|
+
var removeSuffix = kotlin_kotlin.$_$.sa;
|
|
66
66
|
var getKClassFromExpression = kotlin_kotlin.$_$.e;
|
|
67
|
-
var split = kotlin_kotlin.$_$.
|
|
67
|
+
var split = kotlin_kotlin.$_$.xa;
|
|
68
68
|
var last = kotlin_kotlin.$_$.f5;
|
|
69
69
|
var plus_1 = kotlin_kotlin.$_$.r5;
|
|
70
70
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.r;
|
|
71
71
|
var toSet = kotlin_kotlin.$_$.q6;
|
|
72
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
72
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.t7;
|
|
73
73
|
var plus_2 = kotlin_kotlin.$_$.u5;
|
|
74
74
|
var asReversed_0 = kotlin_kotlin.$_$.z3;
|
|
75
|
-
var addSuppressed = kotlin_kotlin.$_$.
|
|
75
|
+
var addSuppressed = kotlin_kotlin.$_$.kc;
|
|
76
76
|
var sortedWith = kotlin_kotlin.$_$.d6;
|
|
77
77
|
var FunctionAdapter = kotlin_kotlin.$_$.d7;
|
|
78
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
79
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
78
|
+
var Comparator = kotlin_kotlin.$_$.qb;
|
|
79
|
+
var hashCode = kotlin_kotlin.$_$.r7;
|
|
80
80
|
var compareValues = kotlin_kotlin.$_$.w6;
|
|
81
81
|
var print = kotlin_kotlin.$_$.c7;
|
|
82
82
|
var println = kotlin_kotlin.$_$.a7;
|
|
83
83
|
var asList = kotlin_kotlin.$_$.y3;
|
|
84
|
-
var closeFinally = kotlin_kotlin.$_$.
|
|
85
|
-
var commonPrefixWith = kotlin_kotlin.$_$.
|
|
84
|
+
var closeFinally = kotlin_kotlin.$_$.mc;
|
|
85
|
+
var commonPrefixWith = kotlin_kotlin.$_$.aa;
|
|
86
86
|
var charSequenceLength = kotlin_kotlin.$_$.j7;
|
|
87
87
|
var booleanArray = kotlin_kotlin.$_$.f7;
|
|
88
|
-
var get_lastIndex = kotlin_kotlin.$_$.
|
|
89
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
88
|
+
var get_lastIndex = kotlin_kotlin.$_$.ma;
|
|
89
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.v7;
|
|
90
90
|
var captureStack = kotlin_kotlin.$_$.g7;
|
|
91
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
91
|
+
var RuntimeException = kotlin_kotlin.$_$.yb;
|
|
92
92
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.n1;
|
|
93
93
|
var listOf_0 = kotlin_kotlin.$_$.i5;
|
|
94
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
94
|
+
var objectCreate = kotlin_kotlin.$_$.q8;
|
|
95
95
|
var toMap = kotlin_kotlin.$_$.n6;
|
|
96
96
|
var KtMap = kotlin_kotlin.$_$.s3;
|
|
97
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
98
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
97
|
+
var toString_1 = kotlin_kotlin.$_$.wc;
|
|
98
|
+
var getStringHashCode = kotlin_kotlin.$_$.q7;
|
|
99
99
|
var mapCapacity = kotlin_kotlin.$_$.k5;
|
|
100
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
100
|
+
var coerceAtLeast = kotlin_kotlin.$_$.y8;
|
|
101
101
|
var LinkedHashMap_init_$Create$_0 = kotlin_kotlin.$_$.q;
|
|
102
102
|
var toList_1 = kotlin_kotlin.$_$.k6;
|
|
103
103
|
var mutableListOf = kotlin_kotlin.$_$.o5;
|
|
104
104
|
var asSequence = kotlin_kotlin.$_$.b4;
|
|
105
|
-
var filter = kotlin_kotlin.$_$.
|
|
106
|
-
var joinToString_0 = kotlin_kotlin.$_$.
|
|
105
|
+
var filter = kotlin_kotlin.$_$.m9;
|
|
106
|
+
var joinToString_0 = kotlin_kotlin.$_$.q9;
|
|
107
107
|
var first_1 = kotlin_kotlin.$_$.t4;
|
|
108
108
|
var charSequenceSubSequence = kotlin_kotlin.$_$.k7;
|
|
109
|
-
var getBooleanHashCode = kotlin_kotlin.$_$.
|
|
110
|
-
var repeat = kotlin_kotlin.$_$.
|
|
109
|
+
var getBooleanHashCode = kotlin_kotlin.$_$.n7;
|
|
110
|
+
var repeat = kotlin_kotlin.$_$.ta;
|
|
111
111
|
var listOfNotNull = kotlin_kotlin.$_$.h5;
|
|
112
|
-
var lineSequence = kotlin_kotlin.$_$.
|
|
113
|
-
var drop = kotlin_kotlin.$_$.
|
|
112
|
+
var lineSequence = kotlin_kotlin.$_$.oa;
|
|
113
|
+
var drop = kotlin_kotlin.$_$.da;
|
|
114
114
|
var Companion_instance = kotlin_kotlin.$_$.e3;
|
|
115
115
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.u1;
|
|
116
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
116
|
+
var createFailure = kotlin_kotlin.$_$.nc;
|
|
117
117
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.x1;
|
|
118
118
|
var _Result___get_isSuccess__impl__sndoy8 = kotlin_kotlin.$_$.w1;
|
|
119
119
|
var single = kotlin_kotlin.$_$.a6;
|
|
120
|
-
var KMutableProperty1 = kotlin_kotlin.$_$.
|
|
121
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
122
|
-
var ClassCastException = kotlin_kotlin.$_$.
|
|
123
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
120
|
+
var KMutableProperty1 = kotlin_kotlin.$_$.g9;
|
|
121
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.p7;
|
|
122
|
+
var ClassCastException = kotlin_kotlin.$_$.ob;
|
|
123
|
+
var IllegalStateException = kotlin_kotlin.$_$.ub;
|
|
124
124
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.g1;
|
|
125
125
|
var copyToArray = kotlin_kotlin.$_$.l4;
|
|
126
126
|
var toSet_0 = kotlin_kotlin.$_$.r6;
|
|
127
127
|
var contains_0 = kotlin_kotlin.$_$.h4;
|
|
128
|
-
var slice = kotlin_kotlin.$_$.
|
|
128
|
+
var slice = kotlin_kotlin.$_$.wa;
|
|
129
129
|
var NoSuchElementException_init_$Create$ = kotlin_kotlin.$_$.j1;
|
|
130
130
|
var setOf_0 = kotlin_kotlin.$_$.y5;
|
|
131
131
|
var emptySet = kotlin_kotlin.$_$.q4;
|
|
132
132
|
var toMutableMap = kotlin_kotlin.$_$.p6;
|
|
133
|
-
var Exception = kotlin_kotlin.$_$.
|
|
134
|
-
var Pair = kotlin_kotlin.$_$.
|
|
135
|
-
var toList_2 = kotlin_kotlin.$_$.
|
|
133
|
+
var Exception = kotlin_kotlin.$_$.sb;
|
|
134
|
+
var Pair = kotlin_kotlin.$_$.wb;
|
|
135
|
+
var toList_2 = kotlin_kotlin.$_$.vc;
|
|
136
136
|
var NoSuchElementException_init_$Create$_0 = kotlin_kotlin.$_$.k1;
|
|
137
137
|
var CoroutineImpl = kotlin_kotlin.$_$.y6;
|
|
138
138
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x6;
|
|
139
139
|
var removeLast = kotlin_kotlin.$_$.w5;
|
|
140
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
141
|
-
var SequenceScope = kotlin_kotlin.$_$.
|
|
142
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
143
|
-
var onEach = kotlin_kotlin.$_$.
|
|
144
|
-
var sequence = kotlin_kotlin.$_$.
|
|
145
|
-
var Sequence = kotlin_kotlin.$_$.
|
|
140
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.u7;
|
|
141
|
+
var SequenceScope = kotlin_kotlin.$_$.k9;
|
|
142
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.w7;
|
|
143
|
+
var onEach = kotlin_kotlin.$_$.v9;
|
|
144
|
+
var sequence = kotlin_kotlin.$_$.w9;
|
|
145
|
+
var Sequence = kotlin_kotlin.$_$.l9;
|
|
146
146
|
var get_lastIndex_0 = kotlin_kotlin.$_$.c5;
|
|
147
147
|
var getValue = kotlin_kotlin.$_$.w4;
|
|
148
|
-
var contains_1 = kotlin_kotlin.$_$.
|
|
149
|
-
var substringBefore = kotlin_kotlin.$_$.
|
|
150
|
-
var take = kotlin_kotlin.$_$.
|
|
148
|
+
var contains_1 = kotlin_kotlin.$_$.ba;
|
|
149
|
+
var substringBefore = kotlin_kotlin.$_$.bb;
|
|
150
|
+
var take = kotlin_kotlin.$_$.cb;
|
|
151
151
|
var take_0 = kotlin_kotlin.$_$.h6;
|
|
152
152
|
var drop_0 = kotlin_kotlin.$_$.n4;
|
|
153
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
154
|
-
var isDigit = kotlin_kotlin.$_$.
|
|
155
|
-
var coerceAtMost = kotlin_kotlin.$_$.
|
|
153
|
+
var indexOf = kotlin_kotlin.$_$.ia;
|
|
154
|
+
var isDigit = kotlin_kotlin.$_$.ka;
|
|
155
|
+
var coerceAtMost = kotlin_kotlin.$_$.a9;
|
|
156
156
|
var takeLast = kotlin_kotlin.$_$.g6;
|
|
157
157
|
var plus_3 = kotlin_kotlin.$_$.q5;
|
|
158
|
-
var Char = kotlin_kotlin.$_$.
|
|
159
|
-
var isWhitespace = kotlin_kotlin.$_$.
|
|
158
|
+
var Char = kotlin_kotlin.$_$.nb;
|
|
159
|
+
var isWhitespace = kotlin_kotlin.$_$.la;
|
|
160
160
|
//endregion
|
|
161
161
|
//region block: pre-declaration
|
|
162
162
|
initMetadataForObject(BashCompletionGenerator, 'BashCompletionGenerator');
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
function customParamCompletionName($this, commandFuncName, name) {
|
|
457
457
|
return '_' + commandFuncName + '_complete_' + Regex_init_$Create$('[^a-zA-Z0-9]').ic(name, '_');
|
|
458
458
|
}
|
|
459
|
-
function _get_allNames__eplh1g(
|
|
459
|
+
function _get_allNames__eplh1g($this, _this__u8e3s4) {
|
|
460
460
|
return plus(_this__u8e3s4.h1h(), _this__u8e3s4.i1h());
|
|
461
461
|
}
|
|
462
462
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
@@ -482,7 +482,6 @@
|
|
|
482
482
|
var _iterator__ex2g4s = tmp0.p();
|
|
483
483
|
while (_iterator__ex2g4s.q()) {
|
|
484
484
|
var element = _iterator__ex2g4s.r();
|
|
485
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
486
485
|
if (!element.g1i()) {
|
|
487
486
|
destination.e(element);
|
|
488
487
|
}
|
|
@@ -493,8 +492,7 @@
|
|
|
493
492
|
var _iterator__ex2g4s_0 = destination.p();
|
|
494
493
|
while (_iterator__ex2g4s_0.q()) {
|
|
495
494
|
var item = _iterator__ex2g4s_0.r();
|
|
496
|
-
|
|
497
|
-
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(item, BashCompletionGenerator_instance), item.h1i(), item.i1i());
|
|
495
|
+
var tmp$ret$3 = new Triple(_get_allNames__eplh1g(BashCompletionGenerator_instance, item), item.h1i(), item.i1i());
|
|
498
496
|
destination_0.e(tmp$ret$3);
|
|
499
497
|
}
|
|
500
498
|
var options = destination_0;
|
|
@@ -505,7 +503,6 @@
|
|
|
505
503
|
var _iterator__ex2g4s_1 = this_0.p();
|
|
506
504
|
while (_iterator__ex2g4s_1.q()) {
|
|
507
505
|
var item_0 = _iterator__ex2g4s_1.r();
|
|
508
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
509
506
|
var tmp$ret$6 = to(item_0.u15(), item_0.h1i());
|
|
510
507
|
destination_1.e(tmp$ret$6);
|
|
511
508
|
}
|
|
@@ -517,7 +514,6 @@
|
|
|
517
514
|
var _iterator__ex2g4s_2 = this_1.p();
|
|
518
515
|
while (_iterator__ex2g4s_2.q()) {
|
|
519
516
|
var item_1 = _iterator__ex2g4s_2.r();
|
|
520
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
521
517
|
var tmp$ret$9 = item_1.r1g_1;
|
|
522
518
|
destination_2.e(tmp$ret$9);
|
|
523
519
|
}
|
|
@@ -528,7 +524,6 @@
|
|
|
528
524
|
var _iterator__ex2g4s_3 = this_2.p();
|
|
529
525
|
$l$loop: while (_iterator__ex2g4s_3.q()) {
|
|
530
526
|
var item_2 = _iterator__ex2g4s_3.r();
|
|
531
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
532
527
|
if (!(item_2.i1i() > 0))
|
|
533
528
|
break $l$loop;
|
|
534
529
|
list.e(item_2);
|
|
@@ -539,7 +534,6 @@
|
|
|
539
534
|
var _iterator__ex2g4s_4 = list.p();
|
|
540
535
|
while (_iterator__ex2g4s_4.q()) {
|
|
541
536
|
var element_0 = _iterator__ex2g4s_4.r();
|
|
542
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
543
537
|
// Inline function 'kotlin.collections.map' call
|
|
544
538
|
var this_3 = numberRangeToNumber(1, element_0.i1i());
|
|
545
539
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -550,7 +544,6 @@
|
|
|
550
544
|
do {
|
|
551
545
|
var item_3 = inductionVariable;
|
|
552
546
|
inductionVariable = inductionVariable + 1 | 0;
|
|
553
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
554
547
|
var tmp$ret$14 = "'" + element_0.u15() + "'";
|
|
555
548
|
destination_4.e(tmp$ret$14);
|
|
556
549
|
}
|
|
@@ -567,7 +560,6 @@
|
|
|
567
560
|
var _iterator__ex2g4s_5 = tmp0_0.p();
|
|
568
561
|
while (_iterator__ex2g4s_5.q()) {
|
|
569
562
|
var element_1 = _iterator__ex2g4s_5.r();
|
|
570
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
571
563
|
if (element_1.i1i() < 0) {
|
|
572
564
|
tmp$ret$21 = element_1;
|
|
573
565
|
break $l$block;
|
|
@@ -585,7 +577,6 @@
|
|
|
585
577
|
var _iterator__ex2g4s_6 = options.p();
|
|
586
578
|
while (_iterator__ex2g4s_6.q()) {
|
|
587
579
|
var item_4 = _iterator__ex2g4s_6.r();
|
|
588
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
589
580
|
var tmp0_1 = item_4.lh_1;
|
|
590
581
|
var tmp$ret$24;
|
|
591
582
|
$l$block_1: {
|
|
@@ -600,11 +591,9 @@
|
|
|
600
591
|
tmp$ret$24 = maxElem;
|
|
601
592
|
break $l$block_1;
|
|
602
593
|
}
|
|
603
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
604
594
|
var maxValue = maxElem.length;
|
|
605
595
|
do {
|
|
606
596
|
var e = iterator.r();
|
|
607
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
608
597
|
var v = e.length;
|
|
609
598
|
if (compareTo(maxValue, v) < 0) {
|
|
610
599
|
maxElem = e;
|
|
@@ -623,7 +612,6 @@
|
|
|
623
612
|
// Inline function 'kotlin.text.buildString' call
|
|
624
613
|
// Inline function 'kotlin.apply' call
|
|
625
614
|
var this_4 = StringBuilder_init_$Create$();
|
|
626
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>' call
|
|
627
615
|
if (isTopLevel) {
|
|
628
616
|
this_4.x7(trimMargin('\n |#!/usr/bin/env ' + (zsh ? 'zsh' : 'bash') + '\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n |\n |\n '));
|
|
629
617
|
if (zsh) {
|
|
@@ -673,11 +661,9 @@
|
|
|
673
661
|
tmp$ret$30 = maxElem_0;
|
|
674
662
|
break $l$block_3;
|
|
675
663
|
}
|
|
676
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
677
664
|
var maxValue_0 = maxElem_0.length;
|
|
678
665
|
do {
|
|
679
666
|
var e_0 = iterator_0.r();
|
|
680
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
681
667
|
var v_0 = e_0.length;
|
|
682
668
|
if (compareTo(maxValue_0, v_0) < 0) {
|
|
683
669
|
maxElem_0 = e_0;
|
|
@@ -729,7 +715,6 @@
|
|
|
729
715
|
var _iterator__ex2g4s_11 = options.p();
|
|
730
716
|
while (_iterator__ex2g4s_11.q()) {
|
|
731
717
|
var element_2 = _iterator__ex2g4s_11.r();
|
|
732
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
733
718
|
var list_1 = element_2.lh_1;
|
|
734
719
|
addAll(destination_6, list_1);
|
|
735
720
|
}
|
|
@@ -739,7 +724,6 @@
|
|
|
739
724
|
var _iterator__ex2g4s_12 = destination_6.p();
|
|
740
725
|
while (_iterator__ex2g4s_12.q()) {
|
|
741
726
|
var item_5 = _iterator__ex2g4s_12.r();
|
|
742
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
743
727
|
var tmp$ret$41 = toString(first(item_5));
|
|
744
728
|
destination_7.e(tmp$ret$41);
|
|
745
729
|
}
|
|
@@ -751,7 +735,6 @@
|
|
|
751
735
|
var _iterator__ex2g4s_13 = options.p();
|
|
752
736
|
while (_iterator__ex2g4s_13.q()) {
|
|
753
737
|
var element_3 = _iterator__ex2g4s_13.r();
|
|
754
|
-
// Inline function 'com.github.ajalt.clikt.completion.BashCompletionGenerator.generateBashOrZshCompletion.<anonymous>.<anonymous>' call
|
|
755
738
|
var list_2 = element_3.lh_1;
|
|
756
739
|
addAll(destination_8, list_2);
|
|
757
740
|
}
|
|
@@ -962,7 +945,6 @@
|
|
|
962
945
|
// Inline function 'kotlin.text.buildString' call
|
|
963
946
|
// Inline function 'kotlin.apply' call
|
|
964
947
|
var this_0 = StringBuilder_init_$Create$();
|
|
965
|
-
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>' call
|
|
966
948
|
var parentCommandName = lastOrNull(command.g1h().o1i());
|
|
967
949
|
var rootCommandName = first_0(command.g1h().p1i());
|
|
968
950
|
var isTopLevel = parentCommandName == null;
|
|
@@ -974,7 +956,6 @@
|
|
|
974
956
|
var _iterator__ex2g4s = tmp0.p();
|
|
975
957
|
while (_iterator__ex2g4s.q()) {
|
|
976
958
|
var element = _iterator__ex2g4s.r();
|
|
977
|
-
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.generateFishCompletionForCommand.<anonymous>.<anonymous>' call
|
|
978
959
|
if (!element.g1i()) {
|
|
979
960
|
destination.e(element);
|
|
980
961
|
}
|
|
@@ -984,8 +965,8 @@
|
|
|
984
965
|
var subcommands = command.z1g_1;
|
|
985
966
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
986
967
|
var hasSubcommands = !subcommands.m();
|
|
987
|
-
var subcommandsVarName_0 = subcommandsVarName(command.g1h().p1i()
|
|
988
|
-
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(command.g1h().o1i()
|
|
968
|
+
var subcommandsVarName_0 = subcommandsVarName(FishCompletionGenerator_instance, command.g1h().p1i());
|
|
969
|
+
var parentSubcommandsVarName = isTopLevel ? subcommandsVarName_0 : subcommandsVarName(FishCompletionGenerator_instance, command.g1h().o1i());
|
|
989
970
|
if (isTopLevel) {
|
|
990
971
|
// Inline function 'kotlin.text.appendLine' call
|
|
991
972
|
var value = trimMargin('\n |# Command completion for ' + commandName + '\n |# Generated by Clikt\n ');
|
|
@@ -1037,8 +1018,7 @@
|
|
|
1037
1018
|
var _iterator__ex2g4s_0 = options.p();
|
|
1038
1019
|
while (_iterator__ex2g4s_0.q()) {
|
|
1039
1020
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
1040
|
-
|
|
1041
|
-
var tmp0_0 = _get_allNames__eplh1g_0(element_0, FishCompletionGenerator_instance);
|
|
1021
|
+
var tmp0_0 = _get_allNames__eplh1g_0(FishCompletionGenerator_instance, element_0);
|
|
1042
1022
|
var tmp$ret$13;
|
|
1043
1023
|
$l$block_1: {
|
|
1044
1024
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -1055,8 +1035,7 @@
|
|
|
1055
1035
|
var _iterator__ex2g4s_1 = tmp0_0.p();
|
|
1056
1036
|
while (_iterator__ex2g4s_1.q()) {
|
|
1057
1037
|
var element_1 = _iterator__ex2g4s_1.r();
|
|
1058
|
-
|
|
1059
|
-
if (_get_isValidFishCompletionOption__och4wa(element_1, FishCompletionGenerator_instance)) {
|
|
1038
|
+
if (_get_isValidFishCompletionOption__och4wa(FishCompletionGenerator_instance, element_1)) {
|
|
1060
1039
|
tmp$ret$13 = true;
|
|
1061
1040
|
break $l$block_1;
|
|
1062
1041
|
}
|
|
@@ -1080,14 +1059,13 @@
|
|
|
1080
1059
|
$l$loop: while (_iterator__ex2g4s_2.q()) {
|
|
1081
1060
|
var option = _iterator__ex2g4s_2.r();
|
|
1082
1061
|
// Inline function 'kotlin.collections.filter' call
|
|
1083
|
-
var tmp0_1 = _get_allNames__eplh1g_0(
|
|
1062
|
+
var tmp0_1 = _get_allNames__eplh1g_0(FishCompletionGenerator_instance, option);
|
|
1084
1063
|
// Inline function 'kotlin.collections.filterTo' call
|
|
1085
1064
|
var destination_0 = ArrayList_init_$Create$();
|
|
1086
1065
|
var _iterator__ex2g4s_3 = tmp0_1.p();
|
|
1087
1066
|
while (_iterator__ex2g4s_3.q()) {
|
|
1088
1067
|
var element_2 = _iterator__ex2g4s_3.r();
|
|
1089
|
-
|
|
1090
|
-
if (_get_isValidFishCompletionOption__och4wa(element_2, FishCompletionGenerator_instance)) {
|
|
1068
|
+
if (_get_isValidFishCompletionOption__och4wa(FishCompletionGenerator_instance, element_2)) {
|
|
1091
1069
|
destination_0.e(element_2);
|
|
1092
1070
|
}
|
|
1093
1071
|
}
|
|
@@ -1095,7 +1073,7 @@
|
|
|
1095
1073
|
if (names.m()) {
|
|
1096
1074
|
continue $l$loop;
|
|
1097
1075
|
}
|
|
1098
|
-
appendCompleteCall(
|
|
1076
|
+
appendCompleteCall(FishCompletionGenerator_instance, this_0, rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1099
1077
|
var _iterator__ex2g4s_4 = names.p();
|
|
1100
1078
|
while (_iterator__ex2g4s_4.q()) {
|
|
1101
1079
|
var name = _iterator__ex2g4s_4.r();
|
|
@@ -1111,8 +1089,8 @@
|
|
|
1111
1089
|
if (option.i1i().yf_1 > 0) {
|
|
1112
1090
|
this_0.x7(' -r');
|
|
1113
1091
|
}
|
|
1114
|
-
appendParamCompletion(
|
|
1115
|
-
appendHelp(
|
|
1092
|
+
appendParamCompletion(FishCompletionGenerator_instance, this_0, option.h1i());
|
|
1093
|
+
appendHelp(FishCompletionGenerator_instance, this_0, option.r1i(command.g1h()));
|
|
1116
1094
|
// Inline function 'kotlin.text.appendLine' call
|
|
1117
1095
|
this_0.y7(_Char___init__impl__6a9atx(10));
|
|
1118
1096
|
}
|
|
@@ -1126,9 +1104,9 @@
|
|
|
1126
1104
|
var _iterator__ex2g4s_5 = arguments_0.p();
|
|
1127
1105
|
while (_iterator__ex2g4s_5.q()) {
|
|
1128
1106
|
var argument = _iterator__ex2g4s_5.r();
|
|
1129
|
-
appendCompleteCall(
|
|
1130
|
-
appendParamCompletion(
|
|
1131
|
-
appendHelp(
|
|
1107
|
+
appendCompleteCall(FishCompletionGenerator_instance, this_0, rootCommandName, isTopLevel, hasSubcommands, commandName);
|
|
1108
|
+
appendParamCompletion(FishCompletionGenerator_instance, this_0, argument.h1i());
|
|
1109
|
+
appendHelp(FishCompletionGenerator_instance, this_0, argument.s1i(command.g1h()));
|
|
1132
1110
|
// Inline function 'kotlin.text.appendLine' call
|
|
1133
1111
|
this_0.y7(_Char___init__impl__6a9atx(10));
|
|
1134
1112
|
}
|
|
@@ -1139,7 +1117,7 @@
|
|
|
1139
1117
|
}
|
|
1140
1118
|
return this_0.toString();
|
|
1141
1119
|
}
|
|
1142
|
-
function appendCompleteCall(
|
|
1120
|
+
function appendCompleteCall($this, _this__u8e3s4, rootCommandName, isTopLevel, hasSubcommands, commandName) {
|
|
1143
1121
|
_this__u8e3s4.x7('complete -c ' + rootCommandName);
|
|
1144
1122
|
if (isTopLevel) {
|
|
1145
1123
|
if (hasSubcommands) {
|
|
@@ -1149,7 +1127,7 @@
|
|
|
1149
1127
|
_this__u8e3s4.x7(' -n "__fish_seen_subcommand_from ' + commandName + '"');
|
|
1150
1128
|
}
|
|
1151
1129
|
}
|
|
1152
|
-
function appendHelp(
|
|
1130
|
+
function appendHelp($this, _this__u8e3s4, help) {
|
|
1153
1131
|
var tmp$ret$3;
|
|
1154
1132
|
$l$block: {
|
|
1155
1133
|
// Inline function 'kotlin.text.takeWhile' call
|
|
@@ -1159,7 +1137,6 @@
|
|
|
1159
1137
|
do {
|
|
1160
1138
|
var index = inductionVariable;
|
|
1161
1139
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1162
|
-
// Inline function 'com.github.ajalt.clikt.completion.FishCompletionGenerator.appendHelp.<anonymous>' call
|
|
1163
1140
|
var it = charSequenceGet(help, index);
|
|
1164
1141
|
if (!!contains('\r\n', it)) {
|
|
1165
1142
|
// Inline function 'kotlin.text.substring' call
|
|
@@ -1177,7 +1154,7 @@
|
|
|
1177
1154
|
_this__u8e3s4.x7(" -d '" + h + "'");
|
|
1178
1155
|
}
|
|
1179
1156
|
}
|
|
1180
|
-
function appendParamCompletion(
|
|
1157
|
+
function appendParamCompletion($this, _this__u8e3s4, completion) {
|
|
1181
1158
|
if (!(completion instanceof None)) {
|
|
1182
1159
|
if (completion instanceof Path) {
|
|
1183
1160
|
_this__u8e3s4.x7(' -F');
|
|
@@ -1203,10 +1180,10 @@
|
|
|
1203
1180
|
}
|
|
1204
1181
|
}
|
|
1205
1182
|
}
|
|
1206
|
-
function subcommandsVarName(
|
|
1183
|
+
function subcommandsVarName($this, _this__u8e3s4) {
|
|
1207
1184
|
return joinToString(_this__u8e3s4, '_', VOID, '_subcommands', VOID, VOID, FishCompletionGenerator$subcommandsVarName$lambda);
|
|
1208
1185
|
}
|
|
1209
|
-
function _get_hasFishCompletionRequirements__qhz0b7(
|
|
1186
|
+
function _get_hasFishCompletionRequirements__qhz0b7($this, _this__u8e3s4) {
|
|
1210
1187
|
var tmp;
|
|
1211
1188
|
var tmp_0;
|
|
1212
1189
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -1226,8 +1203,7 @@
|
|
|
1226
1203
|
var _iterator__ex2g4s = tmp0.p();
|
|
1227
1204
|
while (_iterator__ex2g4s.q()) {
|
|
1228
1205
|
var element = _iterator__ex2g4s.r();
|
|
1229
|
-
|
|
1230
|
-
var list = _get_allNames__eplh1g_0(element, FishCompletionGenerator_instance);
|
|
1206
|
+
var list = _get_allNames__eplh1g_0(FishCompletionGenerator_instance, element);
|
|
1231
1207
|
addAll(destination, list);
|
|
1232
1208
|
}
|
|
1233
1209
|
var tmp$ret$5;
|
|
@@ -1246,8 +1222,7 @@
|
|
|
1246
1222
|
var _iterator__ex2g4s_0 = destination.p();
|
|
1247
1223
|
while (_iterator__ex2g4s_0.q()) {
|
|
1248
1224
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
1249
|
-
|
|
1250
|
-
if (_get_isValidFishCompletionOption__och4wa(element_0, FishCompletionGenerator_instance)) {
|
|
1225
|
+
if (_get_isValidFishCompletionOption__och4wa(FishCompletionGenerator_instance, element_0)) {
|
|
1251
1226
|
tmp$ret$5 = true;
|
|
1252
1227
|
break $l$block_0;
|
|
1253
1228
|
}
|
|
@@ -1258,10 +1233,10 @@
|
|
|
1258
1233
|
}
|
|
1259
1234
|
return tmp;
|
|
1260
1235
|
}
|
|
1261
|
-
function _get_isValidFishCompletionOption__och4wa(
|
|
1236
|
+
function _get_isValidFishCompletionOption__och4wa($this, _this__u8e3s4) {
|
|
1262
1237
|
return startsWith_0(_this__u8e3s4, _Char___init__impl__6a9atx(45));
|
|
1263
1238
|
}
|
|
1264
|
-
function _get_allNames__eplh1g_0(
|
|
1239
|
+
function _get_allNames__eplh1g_0($this, _this__u8e3s4) {
|
|
1265
1240
|
return plus(_this__u8e3s4.h1h(), _this__u8e3s4.i1h());
|
|
1266
1241
|
}
|
|
1267
1242
|
function FishCompletionGenerator$generateFishCompletionForCommand$lambda(it) {
|
|
@@ -1274,7 +1249,7 @@
|
|
|
1274
1249
|
function FishCompletionGenerator() {
|
|
1275
1250
|
}
|
|
1276
1251
|
protoOf(FishCompletionGenerator).n1i = function (command) {
|
|
1277
|
-
if (!_get_hasFishCompletionRequirements__qhz0b7(
|
|
1252
|
+
if (!_get_hasFishCompletionRequirements__qhz0b7(this, command))
|
|
1278
1253
|
return '';
|
|
1279
1254
|
return generateFishCompletionForCommand(this, command);
|
|
1280
1255
|
};
|
|
@@ -1290,7 +1265,6 @@
|
|
|
1290
1265
|
var _iterator__ex2g4s = tmp0.p();
|
|
1291
1266
|
while (_iterator__ex2g4s.q()) {
|
|
1292
1267
|
var element = _iterator__ex2g4s.r();
|
|
1293
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.registeredOptionNames.<anonymous>' call
|
|
1294
1268
|
var list = element.h1h();
|
|
1295
1269
|
addAll(destination, list);
|
|
1296
1270
|
}
|
|
@@ -1327,7 +1301,6 @@
|
|
|
1327
1301
|
} else {
|
|
1328
1302
|
// Inline function 'kotlin.takeIf' call
|
|
1329
1303
|
var tmp_1;
|
|
1330
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.commandName.<anonymous>' call
|
|
1331
1304
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
1332
1305
|
if (!isBlank(name)) {
|
|
1333
1306
|
tmp_1 = name;
|
|
@@ -1406,7 +1379,6 @@
|
|
|
1406
1379
|
var _iterator__ex2g4s = tmp0.p();
|
|
1407
1380
|
while (_iterator__ex2g4s.q()) {
|
|
1408
1381
|
var element = _iterator__ex2g4s.r();
|
|
1409
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.resetContext.<anonymous>' call
|
|
1410
1382
|
if (element.k1h_1.b1j()) {
|
|
1411
1383
|
tmp$ret$1 = false;
|
|
1412
1384
|
break $l$block;
|
|
@@ -1416,7 +1388,6 @@
|
|
|
1416
1388
|
}
|
|
1417
1389
|
// Inline function 'kotlin.require' call
|
|
1418
1390
|
if (!tmp$ret$1) {
|
|
1419
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.resetContext.<anonymous>' call
|
|
1420
1391
|
var message = 'Commands with allowMultipleSubcommands=true cannot be nested in commands that also have allowMultipleSubcommands=true';
|
|
1421
1392
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1422
1393
|
}
|
|
@@ -1437,7 +1408,6 @@
|
|
|
1437
1408
|
var command = _iterator__ex2g4s_0.r();
|
|
1438
1409
|
// Inline function 'kotlin.check' call
|
|
1439
1410
|
if (!!a.d1(command)) {
|
|
1440
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.resetContext.<anonymous>' call
|
|
1441
1411
|
var message_0 = 'Command ' + command.r1g_1 + ' already registered';
|
|
1442
1412
|
throw IllegalStateException_init_$Create$(toString_0(message_0));
|
|
1443
1413
|
}
|
|
@@ -1458,14 +1428,11 @@
|
|
|
1458
1428
|
var _iterator__ex2g4s = tmp0.p();
|
|
1459
1429
|
while (_iterator__ex2g4s.q()) {
|
|
1460
1430
|
var element = _iterator__ex2g4s.r();
|
|
1461
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1462
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.allHelpParams.<anonymous>' call
|
|
1463
1431
|
var tmp0_safe_receiver = element.k1j(this.g1h());
|
|
1464
1432
|
if (tmp0_safe_receiver == null)
|
|
1465
1433
|
null;
|
|
1466
1434
|
else {
|
|
1467
1435
|
// Inline function 'kotlin.let' call
|
|
1468
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
1469
1436
|
destination.e(tmp0_safe_receiver);
|
|
1470
1437
|
}
|
|
1471
1438
|
}
|
|
@@ -1478,14 +1445,11 @@
|
|
|
1478
1445
|
var _iterator__ex2g4s_0 = tmp0_0.p();
|
|
1479
1446
|
while (_iterator__ex2g4s_0.q()) {
|
|
1480
1447
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
1481
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1482
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.allHelpParams.<anonymous>' call
|
|
1483
1448
|
var tmp0_safe_receiver_0 = element_0.k1j(this.g1h());
|
|
1484
1449
|
if (tmp0_safe_receiver_0 == null)
|
|
1485
1450
|
null;
|
|
1486
1451
|
else {
|
|
1487
1452
|
// Inline function 'kotlin.let' call
|
|
1488
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
1489
1453
|
destination_0.e(tmp0_safe_receiver_0);
|
|
1490
1454
|
}
|
|
1491
1455
|
}
|
|
@@ -1498,14 +1462,11 @@
|
|
|
1498
1462
|
var _iterator__ex2g4s_1 = tmp0_1.p();
|
|
1499
1463
|
while (_iterator__ex2g4s_1.q()) {
|
|
1500
1464
|
var element_1 = _iterator__ex2g4s_1.r();
|
|
1501
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1502
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.allHelpParams.<anonymous>' call
|
|
1503
1465
|
var tmp0_safe_receiver_1 = element_1.k1j(this.g1h());
|
|
1504
1466
|
if (tmp0_safe_receiver_1 == null)
|
|
1505
1467
|
null;
|
|
1506
1468
|
else {
|
|
1507
1469
|
// Inline function 'kotlin.let' call
|
|
1508
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
1509
1470
|
destination_1.e(tmp0_safe_receiver_1);
|
|
1510
1471
|
}
|
|
1511
1472
|
}
|
|
@@ -1518,12 +1479,9 @@
|
|
|
1518
1479
|
var _iterator__ex2g4s_2 = tmp0_2.p();
|
|
1519
1480
|
while (_iterator__ex2g4s_2.q()) {
|
|
1520
1481
|
var element_2 = _iterator__ex2g4s_2.r();
|
|
1521
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
1522
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.allHelpParams.<anonymous>' call
|
|
1523
1482
|
// Inline function 'kotlin.takeUnless' call
|
|
1524
1483
|
var this_0 = new Subcommand(element_2.r1g_1, element_2.l1j(this.g1h()), element_2.z1i());
|
|
1525
1484
|
var tmp_2;
|
|
1526
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.allHelpParams.<anonymous>.<anonymous>' call
|
|
1527
1485
|
if (!element_2.d1j()) {
|
|
1528
1486
|
tmp_2 = this_0;
|
|
1529
1487
|
} else {
|
|
@@ -1534,7 +1492,6 @@
|
|
|
1534
1492
|
null;
|
|
1535
1493
|
else {
|
|
1536
1494
|
// Inline function 'kotlin.let' call
|
|
1537
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
1538
1495
|
destination_2.e(tmp0_safe_receiver_2);
|
|
1539
1496
|
}
|
|
1540
1497
|
}
|
|
@@ -1545,7 +1502,6 @@
|
|
|
1545
1502
|
$l$block: {
|
|
1546
1503
|
// Inline function 'kotlin.checkNotNull' call
|
|
1547
1504
|
if (tmp0 == null) {
|
|
1548
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.<get-currentContext>.<anonymous>' call
|
|
1549
1505
|
var message = 'Context accessed before parse has been called.';
|
|
1550
1506
|
throw IllegalStateException_init_$Create$(toString_0(message));
|
|
1551
1507
|
} else {
|
|
@@ -1577,14 +1533,13 @@
|
|
|
1577
1533
|
var name = _iterator__ex2g4s.r();
|
|
1578
1534
|
// Inline function 'kotlin.require' call
|
|
1579
1535
|
if (!!names.d1(name)) {
|
|
1580
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.registerOption.<anonymous>' call
|
|
1581
1536
|
var message = 'Duplicate option name ' + name;
|
|
1582
1537
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1583
1538
|
}
|
|
1584
1539
|
}
|
|
1585
1540
|
if (option.q1j()) {
|
|
1586
1541
|
var tmp1 = this.a1h_1;
|
|
1587
|
-
var tmp$ret$
|
|
1542
|
+
var tmp$ret$2;
|
|
1588
1543
|
$l$block_0: {
|
|
1589
1544
|
// Inline function 'kotlin.collections.none' call
|
|
1590
1545
|
var tmp;
|
|
@@ -1594,23 +1549,21 @@
|
|
|
1594
1549
|
tmp = false;
|
|
1595
1550
|
}
|
|
1596
1551
|
if (tmp) {
|
|
1597
|
-
tmp$ret$
|
|
1552
|
+
tmp$ret$2 = true;
|
|
1598
1553
|
break $l$block_0;
|
|
1599
1554
|
}
|
|
1600
1555
|
var _iterator__ex2g4s_0 = tmp1.p();
|
|
1601
1556
|
while (_iterator__ex2g4s_0.q()) {
|
|
1602
1557
|
var element = _iterator__ex2g4s_0.r();
|
|
1603
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.registerOption.<anonymous>' call
|
|
1604
1558
|
if (element.q1j()) {
|
|
1605
|
-
tmp$ret$
|
|
1559
|
+
tmp$ret$2 = false;
|
|
1606
1560
|
break $l$block_0;
|
|
1607
1561
|
}
|
|
1608
1562
|
}
|
|
1609
|
-
tmp$ret$
|
|
1563
|
+
tmp$ret$2 = true;
|
|
1610
1564
|
}
|
|
1611
1565
|
// Inline function 'kotlin.require' call
|
|
1612
|
-
if (!tmp$ret$
|
|
1613
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.registerOption.<anonymous>' call
|
|
1566
|
+
if (!tmp$ret$2) {
|
|
1614
1567
|
var message_0 = 'Multiple options with acceptsNumberValueWithoutName';
|
|
1615
1568
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
1616
1569
|
}
|
|
@@ -1643,7 +1596,6 @@
|
|
|
1643
1596
|
var _iterator__ex2g4s = tmp0.p();
|
|
1644
1597
|
while (_iterator__ex2g4s.q()) {
|
|
1645
1598
|
var element = _iterator__ex2g4s.r();
|
|
1646
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.registerArgument.<anonymous>' call
|
|
1647
1599
|
if (element.i1i() < 0) {
|
|
1648
1600
|
tmp$ret$0 = false;
|
|
1649
1601
|
break $l$block_0;
|
|
@@ -1655,7 +1607,6 @@
|
|
|
1655
1607
|
}
|
|
1656
1608
|
// Inline function 'kotlin.require' call
|
|
1657
1609
|
if (!tmp) {
|
|
1658
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.registerArgument.<anonymous>' call
|
|
1659
1610
|
var message = 'Cannot declare multiple arguments with variable numbers of values';
|
|
1660
1611
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
1661
1612
|
}
|
|
@@ -1715,7 +1666,6 @@
|
|
|
1715
1666
|
// Inline function 'kotlin.text.buildString' call
|
|
1716
1667
|
// Inline function 'kotlin.apply' call
|
|
1717
1668
|
var this_0 = StringBuilder_init_$Create$();
|
|
1718
|
-
// Inline function 'com.github.ajalt.clikt.core.BaseCliktCommand.toString.<anonymous>' call
|
|
1719
1669
|
this_0.x7('<' + classSimpleName(this) + ' name=' + this.r1g_1);
|
|
1720
1670
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
1721
1671
|
if (!this.a1h_1.m()) {
|
|
@@ -1745,7 +1695,6 @@
|
|
|
1745
1695
|
var _iterator__ex2g4s = suffixes.p();
|
|
1746
1696
|
while (_iterator__ex2g4s.q()) {
|
|
1747
1697
|
var element = _iterator__ex2g4s.r();
|
|
1748
|
-
// Inline function 'com.github.ajalt.clikt.core.inferCommandName.<anonymous>' call
|
|
1749
1698
|
var acc = accumulator;
|
|
1750
1699
|
accumulator = removeSuffix(acc, element);
|
|
1751
1700
|
}
|
|
@@ -1765,7 +1714,6 @@
|
|
|
1765
1714
|
}
|
|
1766
1715
|
function subcommands(_this__u8e3s4, commands) {
|
|
1767
1716
|
// Inline function 'kotlin.apply' call
|
|
1768
|
-
// Inline function 'com.github.ajalt.clikt.core.subcommands.<anonymous>' call
|
|
1769
1717
|
_this__u8e3s4.z1g_1 = plus_1(_this__u8e3s4.z1g_1, commands);
|
|
1770
1718
|
return _this__u8e3s4;
|
|
1771
1719
|
}
|
|
@@ -1831,7 +1779,6 @@
|
|
|
1831
1779
|
tmp_6 = null;
|
|
1832
1780
|
} else {
|
|
1833
1781
|
// Inline function 'kotlin.let' call
|
|
1834
|
-
// Inline function 'com.github.ajalt.clikt.core.Builder.autoEnvvarPrefix.<anonymous>' call
|
|
1835
1782
|
var tmp_7 = tmp1_safe_receiver + '_';
|
|
1836
1783
|
var tmp0 = command.r1g_1;
|
|
1837
1784
|
// Inline function 'kotlin.text.replace' call
|
|
@@ -1903,7 +1850,6 @@
|
|
|
1903
1850
|
tmp_0 = null;
|
|
1904
1851
|
} else {
|
|
1905
1852
|
// Inline function 'kotlin.let' call
|
|
1906
|
-
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>' call
|
|
1907
1853
|
var tmp0 = selfAndAncestors(parent);
|
|
1908
1854
|
var tmp$ret$1;
|
|
1909
1855
|
$l$block: {
|
|
@@ -1911,7 +1857,6 @@
|
|
|
1911
1857
|
var _iterator__ex2g4s = tmp0.p();
|
|
1912
1858
|
while (_iterator__ex2g4s.q()) {
|
|
1913
1859
|
var element = _iterator__ex2g4s.r();
|
|
1914
|
-
// Inline function 'com.github.ajalt.clikt.core.Companion.build.<anonymous>.<anonymous>.<anonymous>' call
|
|
1915
1860
|
if (element.k1h_1.b1j()) {
|
|
1916
1861
|
tmp$ret$1 = true;
|
|
1917
1862
|
break $l$block;
|
|
@@ -2027,7 +1972,6 @@
|
|
|
2027
1972
|
var _iterator__ex2g4s = possibleValues.p();
|
|
2028
1973
|
while (_iterator__ex2g4s.q()) {
|
|
2029
1974
|
var item = _iterator__ex2g4s.r();
|
|
2030
|
-
// Inline function 'com.github.ajalt.clikt.core.DEFAULT_CORRECTION_SUGGESTOR.<anonymous>.<anonymous>' call
|
|
2031
1975
|
var tmp$ret$0 = to(item, jaroWinklerSimilarity(enteredValue, item));
|
|
2032
1976
|
destination.e(tmp$ret$0);
|
|
2033
1977
|
}
|
|
@@ -2037,7 +1981,6 @@
|
|
|
2037
1981
|
var _iterator__ex2g4s_0 = destination.p();
|
|
2038
1982
|
while (_iterator__ex2g4s_0.q()) {
|
|
2039
1983
|
var element = _iterator__ex2g4s_0.r();
|
|
2040
|
-
// Inline function 'com.github.ajalt.clikt.core.DEFAULT_CORRECTION_SUGGESTOR.<anonymous>.<anonymous>' call
|
|
2041
1984
|
if (element.v9_1 > 0.8) {
|
|
2042
1985
|
destination_0.e(element);
|
|
2043
1986
|
}
|
|
@@ -2053,7 +1996,6 @@
|
|
|
2053
1996
|
var _iterator__ex2g4s_1 = this_0.p();
|
|
2054
1997
|
while (_iterator__ex2g4s_1.q()) {
|
|
2055
1998
|
var item_0 = _iterator__ex2g4s_1.r();
|
|
2056
|
-
// Inline function 'com.github.ajalt.clikt.core.DEFAULT_CORRECTION_SUGGESTOR.<anonymous>.<anonymous>' call
|
|
2057
1999
|
var tmp$ret$8 = item_0.u9_1;
|
|
2058
2000
|
destination_1.e(tmp$ret$8);
|
|
2059
2001
|
}
|
|
@@ -2092,9 +2034,7 @@
|
|
|
2092
2034
|
function DEFAULT_CORRECTION_SUGGESTOR$lambda$lambda(a, b) {
|
|
2093
2035
|
_init_properties_Context_kt__u684jh();
|
|
2094
2036
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
2095
|
-
// Inline function 'com.github.ajalt.clikt.core.DEFAULT_CORRECTION_SUGGESTOR.<anonymous>.<anonymous>' call
|
|
2096
2037
|
var tmp = b.v9_1;
|
|
2097
|
-
// Inline function 'com.github.ajalt.clikt.core.DEFAULT_CORRECTION_SUGGESTOR.<anonymous>.<anonymous>' call
|
|
2098
2038
|
var tmp$ret$1 = a.v9_1;
|
|
2099
2039
|
return compareValues(tmp, tmp$ret$1);
|
|
2100
2040
|
}
|
|
@@ -2133,7 +2073,6 @@
|
|
|
2133
2073
|
function main_0(_this__u8e3s4, argv) {
|
|
2134
2074
|
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.main' call
|
|
2135
2075
|
try {
|
|
2136
|
-
// Inline function 'com.github.ajalt.clikt.core.main.<anonymous>' call
|
|
2137
2076
|
parse(_this__u8e3s4, argv);
|
|
2138
2077
|
} catch ($p) {
|
|
2139
2078
|
if ($p instanceof CliktError) {
|
|
@@ -2155,11 +2094,9 @@
|
|
|
2155
2094
|
// Inline function 'kotlin.use' call
|
|
2156
2095
|
var exception = null;
|
|
2157
2096
|
try {
|
|
2158
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.run.<anonymous>' call
|
|
2159
2097
|
var _iterator__ex2g4s = tmp0.p();
|
|
2160
2098
|
while (_iterator__ex2g4s.q()) {
|
|
2161
2099
|
var invocation = _iterator__ex2g4s.r();
|
|
2162
|
-
// Inline function 'com.github.ajalt.clikt.core.parse.<anonymous>' call
|
|
2163
2100
|
invocation.r1l_1.j1l();
|
|
2164
2101
|
}
|
|
2165
2102
|
break $l$block;
|
|
@@ -2333,7 +2270,6 @@
|
|
|
2333
2270
|
var _iterator__ex2g4s = errors.p();
|
|
2334
2271
|
while (_iterator__ex2g4s.q()) {
|
|
2335
2272
|
var element = _iterator__ex2g4s.r();
|
|
2336
|
-
// Inline function 'com.github.ajalt.clikt.core.Companion.buildOrNull.<anonymous>' call
|
|
2337
2273
|
var tmp0_safe_receiver = element instanceof MultiUsageError ? element : null;
|
|
2338
2274
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r1m_1;
|
|
2339
2275
|
var list = tmp1_elvis_lhs == null ? listOf_0(element) : tmp1_elvis_lhs;
|
|
@@ -2350,7 +2286,6 @@
|
|
|
2350
2286
|
var _iterator__ex2g4s_0 = flatErrors.p();
|
|
2351
2287
|
while (_iterator__ex2g4s_0.q()) {
|
|
2352
2288
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
2353
|
-
// Inline function 'com.github.ajalt.clikt.core.Companion.buildOrNull.<anonymous>' call
|
|
2354
2289
|
if (element_0 instanceof NoSuchOption)
|
|
2355
2290
|
encounteredUnknownOpt = true;
|
|
2356
2291
|
var tmp_0;
|
|
@@ -2444,7 +2379,6 @@
|
|
|
2444
2379
|
// Inline function 'kotlin.takeUnless' call
|
|
2445
2380
|
var this_0 = this.message;
|
|
2446
2381
|
var tmp;
|
|
2447
|
-
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2448
2382
|
// Inline function 'kotlin.text.isNullOrBlank' call
|
|
2449
2383
|
if (!(this_0 == null || isBlank(this_0))) {
|
|
2450
2384
|
tmp = this_0;
|
|
@@ -2459,7 +2393,6 @@
|
|
|
2459
2393
|
} else {
|
|
2460
2394
|
// Inline function 'kotlin.takeIf' call
|
|
2461
2395
|
var tmp_1;
|
|
2462
|
-
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2463
2396
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
2464
2397
|
if (!isBlank(tmp0_safe_receiver)) {
|
|
2465
2398
|
tmp_1 = tmp0_safe_receiver;
|
|
@@ -2474,7 +2407,6 @@
|
|
|
2474
2407
|
tmp_2 = null;
|
|
2475
2408
|
} else {
|
|
2476
2409
|
// Inline function 'kotlin.let' call
|
|
2477
|
-
// Inline function 'com.github.ajalt.clikt.core.BadParameterValue.formatMessage.<anonymous>' call
|
|
2478
2410
|
var tmp0_subject = this.w1m_1;
|
|
2479
2411
|
var tmp_3;
|
|
2480
2412
|
switch (tmp0_subject == null ? -1 : tmp0_subject.i2_1) {
|
|
@@ -2527,7 +2459,6 @@
|
|
|
2527
2459
|
tmp = null;
|
|
2528
2460
|
} else {
|
|
2529
2461
|
// Inline function 'kotlin.let' call
|
|
2530
|
-
// Inline function 'com.github.ajalt.clikt.core.NoSuchOption.formatMessage.stub_for_inlining' call
|
|
2531
2462
|
tmp = formatter.y1m(tmp0_safe_receiver);
|
|
2532
2463
|
}
|
|
2533
2464
|
var tmp1_elvis_lhs = tmp;
|
|
@@ -2543,7 +2474,6 @@
|
|
|
2543
2474
|
var _iterator__ex2g4s = this_0.p();
|
|
2544
2475
|
while (_iterator__ex2g4s.q()) {
|
|
2545
2476
|
var item = _iterator__ex2g4s.r();
|
|
2546
|
-
// Inline function 'com.github.ajalt.clikt.core.NoSuchOption.formatMessage.stub_for_inlining' call
|
|
2547
2477
|
var tmp$ret$2 = formatter.y1m(item);
|
|
2548
2478
|
destination.e(tmp$ret$2);
|
|
2549
2479
|
}
|
|
@@ -2558,7 +2488,6 @@
|
|
|
2558
2488
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
2559
2489
|
// Inline function 'kotlin.require' call
|
|
2560
2490
|
if (!!this.q1n_1.m()) {
|
|
2561
|
-
// Inline function 'com.github.ajalt.clikt.core.NoSuchArgument.<anonymous>' call
|
|
2562
2491
|
var message = 'must provide at least one excess argument';
|
|
2563
2492
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
2564
2493
|
}
|
|
@@ -2588,7 +2517,6 @@
|
|
|
2588
2517
|
tmp = null;
|
|
2589
2518
|
} else {
|
|
2590
2519
|
// Inline function 'kotlin.let' call
|
|
2591
|
-
// Inline function 'com.github.ajalt.clikt.core.IncorrectOptionValueCount.formatMessage.stub_for_inlining' call
|
|
2592
2520
|
tmp = formatter.y1m(tmp0_safe_receiver);
|
|
2593
2521
|
}
|
|
2594
2522
|
var tmp1_elvis_lhs = tmp;
|
|
@@ -2605,7 +2533,6 @@
|
|
|
2605
2533
|
tmp = null;
|
|
2606
2534
|
} else {
|
|
2607
2535
|
// Inline function 'kotlin.let' call
|
|
2608
|
-
// Inline function 'com.github.ajalt.clikt.core.MissingArgument.formatMessage.stub_for_inlining' call
|
|
2609
2536
|
tmp = formatter.x1m(tmp0_safe_receiver);
|
|
2610
2537
|
}
|
|
2611
2538
|
var tmp1_elvis_lhs = tmp;
|
|
@@ -2632,7 +2559,6 @@
|
|
|
2632
2559
|
tmp = null;
|
|
2633
2560
|
} else {
|
|
2634
2561
|
// Inline function 'kotlin.let' call
|
|
2635
|
-
// Inline function 'com.github.ajalt.clikt.core.IncorrectArgumentValueCount.formatMessage.stub_for_inlining' call
|
|
2636
2562
|
tmp = formatter.x1m(tmp0_safe_receiver);
|
|
2637
2563
|
}
|
|
2638
2564
|
var tmp1_elvis_lhs = tmp;
|
|
@@ -2673,7 +2599,6 @@
|
|
|
2673
2599
|
tmp = null;
|
|
2674
2600
|
} else {
|
|
2675
2601
|
// Inline function 'kotlin.let' call
|
|
2676
|
-
// Inline function 'com.github.ajalt.clikt.core.NoSuchSubcommand.formatMessage.stub_for_inlining' call
|
|
2677
2602
|
tmp = formatter.k1n(tmp0_safe_receiver);
|
|
2678
2603
|
}
|
|
2679
2604
|
var tmp1_elvis_lhs = tmp;
|
|
@@ -2685,7 +2610,6 @@
|
|
|
2685
2610
|
var _iterator__ex2g4s = this_0.p();
|
|
2686
2611
|
while (_iterator__ex2g4s.q()) {
|
|
2687
2612
|
var item = _iterator__ex2g4s.r();
|
|
2688
|
-
// Inline function 'com.github.ajalt.clikt.core.NoSuchSubcommand.formatMessage.stub_for_inlining' call
|
|
2689
2613
|
var tmp$ret$2 = formatter.k1n(item);
|
|
2690
2614
|
destination.e(tmp$ret$2);
|
|
2691
2615
|
}
|
|
@@ -2710,7 +2634,6 @@
|
|
|
2710
2634
|
var _iterator__ex2g4s = this_0.x().p();
|
|
2711
2635
|
while (_iterator__ex2g4s.q()) {
|
|
2712
2636
|
var item = _iterator__ex2g4s.r();
|
|
2713
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeOptions.<anonymous>' call
|
|
2714
2637
|
var tmp$ret$1 = new Opt(item.y(), item.z());
|
|
2715
2638
|
destination.e(tmp$ret$1);
|
|
2716
2639
|
}
|
|
@@ -2727,7 +2650,6 @@
|
|
|
2727
2650
|
var option = _iterator__ex2g4s.r();
|
|
2728
2651
|
// Inline function 'com.github.ajalt.clikt.internal.gatherErrors' call
|
|
2729
2652
|
try {
|
|
2730
|
-
// Inline function 'com.github.ajalt.clikt.internal.validateParameters.<anonymous>' call
|
|
2731
2653
|
option.e1p(context);
|
|
2732
2654
|
} catch ($p) {
|
|
2733
2655
|
if ($p instanceof UsageError) {
|
|
@@ -2747,7 +2669,6 @@
|
|
|
2747
2669
|
var group = _iterator__ex2g4s_0.r();
|
|
2748
2670
|
// Inline function 'com.github.ajalt.clikt.internal.gatherErrors' call
|
|
2749
2671
|
try {
|
|
2750
|
-
// Inline function 'com.github.ajalt.clikt.internal.validateParameters.<anonymous>' call
|
|
2751
2672
|
group.e1p(context);
|
|
2752
2673
|
} catch ($p) {
|
|
2753
2674
|
if ($p instanceof UsageError) {
|
|
@@ -2767,7 +2688,6 @@
|
|
|
2767
2688
|
var argument = _iterator__ex2g4s_1.r();
|
|
2768
2689
|
// Inline function 'com.github.ajalt.clikt.internal.gatherErrors' call
|
|
2769
2690
|
try {
|
|
2770
|
-
// Inline function 'com.github.ajalt.clikt.internal.validateParameters.<anonymous>' call
|
|
2771
2691
|
argument.e1p(context);
|
|
2772
2692
|
} catch ($p) {
|
|
2773
2693
|
if ($p instanceof UsageError) {
|
|
@@ -2789,7 +2709,6 @@
|
|
|
2789
2709
|
// Inline function 'kotlin.collections.buildMapInternal' call
|
|
2790
2710
|
// Inline function 'kotlin.apply' call
|
|
2791
2711
|
var this_0 = LinkedHashMap_init_$Create$();
|
|
2792
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>' call
|
|
2793
2712
|
// Inline function 'kotlin.collections.groupBy' call
|
|
2794
2713
|
var tmp0 = optionInvocations.x();
|
|
2795
2714
|
// Inline function 'kotlin.collections.groupByTo' call
|
|
@@ -2797,13 +2716,11 @@
|
|
|
2797
2716
|
var _iterator__ex2g4s = tmp0.p();
|
|
2798
2717
|
while (_iterator__ex2g4s.q()) {
|
|
2799
2718
|
var element = _iterator__ex2g4s.r();
|
|
2800
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>.<anonymous>' call
|
|
2801
2719
|
var key = get_group(element.y());
|
|
2802
2720
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
2803
2721
|
var value = destination.w1(key);
|
|
2804
2722
|
var tmp;
|
|
2805
2723
|
if (value == null) {
|
|
2806
|
-
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
2807
2724
|
var answer = ArrayList_init_$Create$();
|
|
2808
2725
|
destination.e2(key, answer);
|
|
2809
2726
|
tmp = answer;
|
|
@@ -2811,7 +2728,6 @@
|
|
|
2811
2728
|
tmp = value;
|
|
2812
2729
|
}
|
|
2813
2730
|
var list = tmp;
|
|
2814
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>.<anonymous>' call
|
|
2815
2731
|
var tmp$ret$3 = to(element.y(), element.z());
|
|
2816
2732
|
list.e(tmp$ret$3);
|
|
2817
2733
|
}
|
|
@@ -2820,9 +2736,7 @@
|
|
|
2820
2736
|
var _iterator__ex2g4s_0 = destination.x().p();
|
|
2821
2737
|
while (_iterator__ex2g4s_0.q()) {
|
|
2822
2738
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
2823
|
-
// Inline function 'kotlin.collections.mapValuesTo.<anonymous>' call
|
|
2824
2739
|
var tmp_0 = element_0.y();
|
|
2825
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>.<anonymous>' call
|
|
2826
2740
|
var tmp$ret$7 = toMap(element_0.z());
|
|
2827
2741
|
this_0.e2(tmp_0, tmp$ret$7);
|
|
2828
2742
|
}
|
|
@@ -2844,12 +2758,10 @@
|
|
|
2844
2758
|
// Inline function 'kotlin.collections.buildMapInternal' call
|
|
2845
2759
|
// Inline function 'kotlin.apply' call
|
|
2846
2760
|
var this_1 = LinkedHashMap_init_$Create$();
|
|
2847
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>' call
|
|
2848
2761
|
// Inline function 'kotlin.collections.associateTo' call
|
|
2849
2762
|
var _iterator__ex2g4s_2 = argumentInvocations.p();
|
|
2850
2763
|
while (_iterator__ex2g4s_2.q()) {
|
|
2851
2764
|
var element_1 = _iterator__ex2g4s_2.r();
|
|
2852
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>.<anonymous>' call
|
|
2853
2765
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
2854
2766
|
var pair = to(element_1.f1p_1, element_1.g1p_1);
|
|
2855
2767
|
this_1.e2(pair.u9_1, pair.v9_1);
|
|
@@ -2870,22 +2782,19 @@
|
|
|
2870
2782
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
2871
2783
|
// Inline function 'kotlin.apply' call
|
|
2872
2784
|
var this_2 = ArrayList_init_$Create$();
|
|
2873
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>' call
|
|
2874
2785
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2875
2786
|
var _iterator__ex2g4s_4 = allArguments.x().p();
|
|
2876
2787
|
while (_iterator__ex2g4s_4.q()) {
|
|
2877
2788
|
var item = _iterator__ex2g4s_4.r();
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
this_2.e(tmp$ret$22);
|
|
2789
|
+
var tmp$ret$27 = new Arg(item.y(), item.z());
|
|
2790
|
+
this_2.e(tmp$ret$27);
|
|
2881
2791
|
}
|
|
2882
2792
|
// Inline function 'kotlin.collections.mapTo' call
|
|
2883
2793
|
var _iterator__ex2g4s_5 = allOptions.x().p();
|
|
2884
2794
|
while (_iterator__ex2g4s_5.q()) {
|
|
2885
2795
|
var item_0 = _iterator__ex2g4s_5.r();
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
this_2.e(tmp$ret$24);
|
|
2796
|
+
var tmp$ret$29 = new Opt(item_0.y(), item_0.z());
|
|
2797
|
+
this_2.e(tmp$ret$29);
|
|
2889
2798
|
}
|
|
2890
2799
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
2891
2800
|
// Inline function 'kotlin.collections.forEach' call
|
|
@@ -2893,15 +2802,12 @@
|
|
|
2893
2802
|
var _iterator__ex2g4s_6 = allGroups.x().p();
|
|
2894
2803
|
while (_iterator__ex2g4s_6.q()) {
|
|
2895
2804
|
var element_2 = _iterator__ex2g4s_6.r();
|
|
2896
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
2897
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>.<anonymous>' call
|
|
2898
2805
|
var tmp0_safe_receiver = element_2.y();
|
|
2899
2806
|
var tmp_1;
|
|
2900
2807
|
if (tmp0_safe_receiver == null) {
|
|
2901
2808
|
tmp_1 = null;
|
|
2902
2809
|
} else {
|
|
2903
2810
|
// Inline function 'kotlin.let' call
|
|
2904
|
-
// Inline function 'com.github.ajalt.clikt.internal.finalizeParameters.<anonymous>.<anonymous>.<anonymous>' call
|
|
2905
2811
|
tmp_1 = new Group(tmp0_safe_receiver, element_2.z());
|
|
2906
2812
|
}
|
|
2907
2813
|
var tmp0_safe_receiver_0 = tmp_1;
|
|
@@ -2909,7 +2815,6 @@
|
|
|
2909
2815
|
null;
|
|
2910
2816
|
else {
|
|
2911
2817
|
// Inline function 'kotlin.let' call
|
|
2912
|
-
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
2913
2818
|
this_2.e(tmp0_safe_receiver_0);
|
|
2914
2819
|
}
|
|
2915
2820
|
}
|
|
@@ -3002,7 +2907,6 @@
|
|
|
3002
2907
|
// Inline function 'kotlin.collections.buildMapInternal' call
|
|
3003
2908
|
// Inline function 'kotlin.apply' call
|
|
3004
2909
|
var this_0 = LinkedHashMap_init_$Create$();
|
|
3005
|
-
// Inline function 'com.github.ajalt.clikt.internal.getAllOptions.<anonymous>' call
|
|
3006
2910
|
this_0.g2(invocations);
|
|
3007
2911
|
var _iterator__ex2g4s = options.p();
|
|
3008
2912
|
while (_iterator__ex2g4s.q()) {
|
|
@@ -3203,9 +3107,7 @@
|
|
|
3203
3107
|
};
|
|
3204
3108
|
function AbstractHelpFormatter$renderOptions$lambda(a, b) {
|
|
3205
3109
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
3206
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderOptions.<anonymous>' call
|
|
3207
3110
|
var tmp = a.u9_1 == null;
|
|
3208
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderOptions.<anonymous>' call
|
|
3209
3111
|
var tmp$ret$1 = b.u9_1 == null;
|
|
3210
3112
|
return compareValues(tmp, tmp$ret$1);
|
|
3211
3113
|
}
|
|
@@ -3229,9 +3131,7 @@
|
|
|
3229
3131
|
}
|
|
3230
3132
|
function AbstractHelpFormatter$joinNamesForOption$lambda(a, b) {
|
|
3231
3133
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
3232
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.joinNamesForOption.<anonymous>' call
|
|
3233
3134
|
var tmp = startsWith(a, '--');
|
|
3234
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.joinNamesForOption.<anonymous>' call
|
|
3235
3135
|
var tmp$ret$1 = startsWith(b, '--');
|
|
3236
3136
|
return compareValues(tmp, tmp$ret$1);
|
|
3237
3137
|
}
|
|
@@ -3269,7 +3169,6 @@
|
|
|
3269
3169
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
3270
3170
|
// Inline function 'kotlin.apply' call
|
|
3271
3171
|
var this_0 = ArrayList_init_$Create$();
|
|
3272
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.collectHelpParts.<anonymous>' call
|
|
3273
3172
|
this_0.e(this.k1q(parameters, programName));
|
|
3274
3173
|
if (error == null) {
|
|
3275
3174
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
@@ -3293,7 +3192,6 @@
|
|
|
3293
3192
|
// Inline function 'kotlin.text.buildString' call
|
|
3294
3193
|
// Inline function 'kotlin.apply' call
|
|
3295
3194
|
var this_0 = StringBuilder_init_$Create$();
|
|
3296
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderErrorString.<anonymous>' call
|
|
3297
3195
|
var tmp0_safe_receiver = error instanceof MultiUsageError ? error : null;
|
|
3298
3196
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.r1m_1;
|
|
3299
3197
|
var errors = tmp1_elvis_lhs == null ? listOf_0(error) : tmp1_elvis_lhs;
|
|
@@ -3318,7 +3216,6 @@
|
|
|
3318
3216
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
3319
3217
|
// Inline function 'kotlin.apply' call
|
|
3320
3218
|
var this_0 = ArrayList_init_$Create$();
|
|
3321
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderUsageParametersString.<anonymous>' call
|
|
3322
3219
|
var tmp$ret$0;
|
|
3323
3220
|
$l$block_0: {
|
|
3324
3221
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -3335,7 +3232,6 @@
|
|
|
3335
3232
|
var _iterator__ex2g4s = parameters.p();
|
|
3336
3233
|
while (_iterator__ex2g4s.q()) {
|
|
3337
3234
|
var element = _iterator__ex2g4s.r();
|
|
3338
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderUsageParametersString.<anonymous>.<anonymous>' call
|
|
3339
3235
|
if (element instanceof Option) {
|
|
3340
3236
|
tmp$ret$0 = true;
|
|
3341
3237
|
break $l$block_0;
|
|
@@ -3361,7 +3257,6 @@
|
|
|
3361
3257
|
var _iterator__ex2g4s_1 = destination.p();
|
|
3362
3258
|
while (_iterator__ex2g4s_1.q()) {
|
|
3363
3259
|
var item = _iterator__ex2g4s_1.r();
|
|
3364
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderUsageParametersString.<anonymous>.<anonymous>' call
|
|
3365
3260
|
var name = this.f1q(item.x1q_1);
|
|
3366
3261
|
if (!item.z1q_1)
|
|
3367
3262
|
name = this.v1q(name);
|
|
@@ -3386,7 +3281,6 @@
|
|
|
3386
3281
|
var _iterator__ex2g4s_2 = parameters.p();
|
|
3387
3282
|
while (_iterator__ex2g4s_2.q()) {
|
|
3388
3283
|
var element_1 = _iterator__ex2g4s_2.r();
|
|
3389
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderUsageParametersString.<anonymous>.<anonymous>' call
|
|
3390
3284
|
if (element_1 instanceof Subcommand) {
|
|
3391
3285
|
tmp$ret$6 = true;
|
|
3392
3286
|
break $l$block_2;
|
|
@@ -3400,8 +3294,8 @@
|
|
|
3400
3294
|
var repeatedArgs = this.c1r(this.v1q(argsMetavar));
|
|
3401
3295
|
this_0.e(this.w1q(commandMetavar + ' ' + repeatedArgs));
|
|
3402
3296
|
}
|
|
3403
|
-
var tmp$ret$
|
|
3404
|
-
return joinToString(tmp$ret$
|
|
3297
|
+
var tmp$ret$11 = this_0.c5();
|
|
3298
|
+
return joinToString(tmp$ret$11, ' ');
|
|
3405
3299
|
};
|
|
3406
3300
|
protoOf(AbstractHelpFormatter).g1r = function (title) {
|
|
3407
3301
|
return title + ':';
|
|
@@ -3424,7 +3318,6 @@
|
|
|
3424
3318
|
var _iterator__ex2g4s_0 = destination.p();
|
|
3425
3319
|
while (_iterator__ex2g4s_0.q()) {
|
|
3426
3320
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
3427
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderOptions.<anonymous>' call
|
|
3428
3321
|
var tmp$ret$2 = element_0.i1r_1;
|
|
3429
3322
|
destination_0.e2(tmp$ret$2, element_0);
|
|
3430
3323
|
}
|
|
@@ -3445,13 +3338,11 @@
|
|
|
3445
3338
|
var _iterator__ex2g4s_2 = destination_1.p();
|
|
3446
3339
|
while (_iterator__ex2g4s_2.q()) {
|
|
3447
3340
|
var element_2 = _iterator__ex2g4s_2.r();
|
|
3448
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderOptions.<anonymous>' call
|
|
3449
3341
|
var key = element_2.s1r_1;
|
|
3450
3342
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
3451
3343
|
var value = destination_2.w1(key);
|
|
3452
3344
|
var tmp;
|
|
3453
3345
|
if (value == null) {
|
|
3454
|
-
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
3455
3346
|
var answer = ArrayList_init_$Create$();
|
|
3456
3347
|
destination_2.e2(key, answer);
|
|
3457
3348
|
tmp = answer;
|
|
@@ -3473,7 +3364,6 @@
|
|
|
3473
3364
|
var _iterator__ex2g4s_3 = tmp0.p();
|
|
3474
3365
|
while (_iterator__ex2g4s_3.q()) {
|
|
3475
3366
|
var element_3 = _iterator__ex2g4s_3.r();
|
|
3476
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderOptions.<anonymous>' call
|
|
3477
3367
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
3478
3368
|
if (!element_3.v9_1.m()) {
|
|
3479
3369
|
destination_3.e(element_3);
|
|
@@ -3485,7 +3375,6 @@
|
|
|
3485
3375
|
var _iterator__ex2g4s_4 = destination_3.p();
|
|
3486
3376
|
while (_iterator__ex2g4s_4.q()) {
|
|
3487
3377
|
var item = _iterator__ex2g4s_4.r();
|
|
3488
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderOptions.<anonymous>' call
|
|
3489
3378
|
var title = item.w9();
|
|
3490
3379
|
var params = item.x9();
|
|
3491
3380
|
var renderedTitle = this.g1r(title == null ? this.i1q().t1r() : title);
|
|
@@ -3502,7 +3391,6 @@
|
|
|
3502
3391
|
// Inline function 'kotlin.collections.buildListInternal' call
|
|
3503
3392
|
// Inline function 'kotlin.apply' call
|
|
3504
3393
|
var this_0 = ArrayList_init_$Create$();
|
|
3505
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.collectParameterSections.<anonymous>' call
|
|
3506
3394
|
this_0.u(this.h1r(parameters));
|
|
3507
3395
|
this_0.u(this.x1r(parameters));
|
|
3508
3396
|
this_0.u(this.y1r(parameters));
|
|
@@ -3537,7 +3425,6 @@
|
|
|
3537
3425
|
tmp_3 = null;
|
|
3538
3426
|
} else {
|
|
3539
3427
|
// Inline function 'kotlin.let' call
|
|
3540
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderOptionDefinition.<anonymous>' call
|
|
3541
3428
|
tmp_3 = this.e1s(tmp1_safe_receiver);
|
|
3542
3429
|
}
|
|
3543
3430
|
tmp_2 = tmp_3;
|
|
@@ -3563,7 +3450,6 @@
|
|
|
3563
3450
|
var _iterator__ex2g4s_0 = destination.p();
|
|
3564
3451
|
while (_iterator__ex2g4s_0.q()) {
|
|
3565
3452
|
var item = _iterator__ex2g4s_0.r();
|
|
3566
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderArguments.<anonymous>' call
|
|
3567
3453
|
var tmp$ret$2 = new DefinitionRow(this.g1q(this.f1q(item.x1q_1)), this.d1s(item.y1q_1, item.b1r_1));
|
|
3568
3454
|
destination_0.e(tmp$ret$2);
|
|
3569
3455
|
}
|
|
@@ -3588,7 +3474,6 @@
|
|
|
3588
3474
|
var _iterator__ex2g4s_1 = arguments_0.p();
|
|
3589
3475
|
while (_iterator__ex2g4s_1.q()) {
|
|
3590
3476
|
var element_0 = _iterator__ex2g4s_1.r();
|
|
3591
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderArguments.<anonymous>' call
|
|
3592
3477
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3593
3478
|
var this_0 = element_0.t1p_1;
|
|
3594
3479
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
@@ -3622,7 +3507,6 @@
|
|
|
3622
3507
|
var _iterator__ex2g4s_0 = destination.p();
|
|
3623
3508
|
while (_iterator__ex2g4s_0.q()) {
|
|
3624
3509
|
var item = _iterator__ex2g4s_0.r();
|
|
3625
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderCommands.<anonymous>' call
|
|
3626
3510
|
var tmp$ret$2 = new DefinitionRow(this.h1q(item.h1s_1), this.d1s(item.i1s_1, item.j1s_1));
|
|
3627
3511
|
destination_0.e(tmp$ret$2);
|
|
3628
3512
|
}
|
|
@@ -3761,7 +3645,6 @@
|
|
|
3761
3645
|
var startFound = false;
|
|
3762
3646
|
$l$loop: while (startIndex <= endIndex) {
|
|
3763
3647
|
var index = !startFound ? startIndex : endIndex;
|
|
3764
|
-
// Inline function 'com.github.ajalt.clikt.output.AbstractHelpFormatter.renderOptionValue.<anonymous>' call
|
|
3765
3648
|
var it = charSequenceGet(this_1, index);
|
|
3766
3649
|
var match = contains('[]<>', it);
|
|
3767
3650
|
if (!startFound) {
|
|
@@ -3972,7 +3855,6 @@
|
|
|
3972
3855
|
var this_0 = this$0.c1t(it);
|
|
3973
3856
|
var tmp;
|
|
3974
3857
|
if (isBlank(this_0)) {
|
|
3975
|
-
// Inline function 'com.github.ajalt.clikt.output.PlaintextHelpFormatter.buildParameterList.<anonymous>.<anonymous>' call
|
|
3976
3858
|
tmp = null;
|
|
3977
3859
|
} else {
|
|
3978
3860
|
tmp = this_0;
|
|
@@ -4022,7 +3904,6 @@
|
|
|
4022
3904
|
// Inline function 'kotlin.text.buildString' call
|
|
4023
3905
|
// Inline function 'kotlin.apply' call
|
|
4024
3906
|
var this_0 = StringBuilder_init_$Create$();
|
|
4025
|
-
// Inline function 'com.github.ajalt.clikt.output.PlaintextHelpFormatter.renderOptionGroup.<anonymous>' call
|
|
4026
3907
|
if (!(help == null)) {
|
|
4027
3908
|
// Inline function 'kotlin.text.appendLine' call
|
|
4028
3909
|
this_0.y7(_Char___init__impl__6a9atx(10));
|
|
@@ -4038,7 +3919,6 @@
|
|
|
4038
3919
|
var _iterator__ex2g4s = parameters.p();
|
|
4039
3920
|
while (_iterator__ex2g4s.q()) {
|
|
4040
3921
|
var item = _iterator__ex2g4s.r();
|
|
4041
|
-
// Inline function 'com.github.ajalt.clikt.output.PlaintextHelpFormatter.renderOptionGroup.<anonymous>.<anonymous>' call
|
|
4042
3922
|
var tmp$ret$4 = this.z1r(item);
|
|
4043
3923
|
destination.e(tmp$ret$4);
|
|
4044
3924
|
}
|
|
@@ -4058,7 +3938,6 @@
|
|
|
4058
3938
|
var tmp_0;
|
|
4059
3939
|
// Inline function 'kotlin.text.isEmpty' call
|
|
4060
3940
|
if (charSequenceLength(this_1) === 0) {
|
|
4061
|
-
// Inline function 'com.github.ajalt.clikt.output.PlaintextHelpFormatter.renderDefinitionTerm.<anonymous>' call
|
|
4062
3941
|
tmp_0 = ' ';
|
|
4063
3942
|
} else {
|
|
4064
3943
|
tmp_0 = this_1;
|
|
@@ -4081,10 +3960,8 @@
|
|
|
4081
3960
|
tmp$ret$0 = null;
|
|
4082
3961
|
break $l$block;
|
|
4083
3962
|
}
|
|
4084
|
-
// Inline function 'com.github.ajalt.clikt.output.PlaintextHelpFormatter.buildParameterList.<anonymous>' call
|
|
4085
3963
|
var maxValue = iterator.r().s1p_1.length;
|
|
4086
3964
|
while (iterator.q()) {
|
|
4087
|
-
// Inline function 'com.github.ajalt.clikt.output.PlaintextHelpFormatter.buildParameterList.<anonymous>' call
|
|
4088
3965
|
var v = iterator.r().s1p_1.length;
|
|
4089
3966
|
if (compareTo(maxValue, v) < 0) {
|
|
4090
3967
|
maxValue = v;
|
|
@@ -4152,7 +4029,6 @@
|
|
|
4152
4029
|
this.p1t_1 = transformValidator;
|
|
4153
4030
|
// Inline function 'kotlin.require' call
|
|
4154
4031
|
if (!!(this.i1t_1 === 0)) {
|
|
4155
|
-
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.<anonymous>' call
|
|
4156
4032
|
var message = 'Arguments cannot have nvalues == 0';
|
|
4157
4033
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
4158
4034
|
}
|
|
@@ -4219,7 +4095,6 @@
|
|
|
4219
4095
|
var _iterator__ex2g4s = values.p();
|
|
4220
4096
|
while (_iterator__ex2g4s.q()) {
|
|
4221
4097
|
var item = _iterator__ex2g4s.r();
|
|
4222
|
-
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.finalize.<anonymous>' call
|
|
4223
4098
|
var tmp$ret$0 = this.n1t_1(ctx, item);
|
|
4224
4099
|
destination.e(tmp$ret$0);
|
|
4225
4100
|
}
|
|
@@ -4232,12 +4107,10 @@
|
|
|
4232
4107
|
// Inline function 'kotlin.text.buildString' call
|
|
4233
4108
|
// Inline function 'kotlin.apply' call
|
|
4234
4109
|
var this_0 = StringBuilder_init_$Create$();
|
|
4235
|
-
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>' call
|
|
4236
4110
|
this_0.x7(this.h1t_1);
|
|
4237
4111
|
// Inline function 'kotlin.runCatching' call
|
|
4238
4112
|
var tmp;
|
|
4239
4113
|
try {
|
|
4240
|
-
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>.<anonymous>' call
|
|
4241
4114
|
// Inline function 'kotlin.Companion.success' call
|
|
4242
4115
|
var value = this.z();
|
|
4243
4116
|
tmp = _Result___init__impl__xyqfz8(value);
|
|
@@ -4256,7 +4129,6 @@
|
|
|
4256
4129
|
var this_1 = tmp;
|
|
4257
4130
|
if (_Result___get_isSuccess__impl__sndoy8(this_1)) {
|
|
4258
4131
|
var tmp_1 = _Result___get_value__impl__bjfvqg(this_1);
|
|
4259
|
-
// Inline function 'com.github.ajalt.clikt.parameters.arguments.ProcessedArgumentImpl.toString.<anonymous>.<anonymous>' call
|
|
4260
4132
|
var it = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
|
|
4261
4133
|
this_0.x7('=').w7(it);
|
|
4262
4134
|
}
|
|
@@ -4354,7 +4226,9 @@
|
|
|
4354
4226
|
return function ($this$copy, it) {
|
|
4355
4227
|
var tmp;
|
|
4356
4228
|
if (!(it == null)) {
|
|
4357
|
-
|
|
4229
|
+
if (it)
|
|
4230
|
+
$action($this$copy);
|
|
4231
|
+
tmp = Unit_instance;
|
|
4358
4232
|
}
|
|
4359
4233
|
return Unit_instance;
|
|
4360
4234
|
};
|
|
@@ -4396,11 +4270,9 @@
|
|
|
4396
4270
|
tmp$ret$0 = maxElem;
|
|
4397
4271
|
break $l$block_0;
|
|
4398
4272
|
}
|
|
4399
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.longestName.<anonymous>' call
|
|
4400
4273
|
var maxValue = maxElem.length;
|
|
4401
4274
|
do {
|
|
4402
4275
|
var e = iterator.r();
|
|
4403
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.longestName.<anonymous>' call
|
|
4404
4276
|
var v = e.length;
|
|
4405
4277
|
if (compareTo(maxValue, v) < 0) {
|
|
4406
4278
|
maxElem = e;
|
|
@@ -4449,11 +4321,9 @@
|
|
|
4449
4321
|
tmp$ret$0 = maxElem;
|
|
4450
4322
|
break $l$block;
|
|
4451
4323
|
}
|
|
4452
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.inferEnvvar.<anonymous>' call
|
|
4453
4324
|
var maxValue = maxElem.length;
|
|
4454
4325
|
do {
|
|
4455
4326
|
var e = iterator.r();
|
|
4456
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.inferEnvvar.<anonymous>' call
|
|
4457
4327
|
var v = e.length;
|
|
4458
4328
|
if (compareTo(maxValue, v) < 0) {
|
|
4459
4329
|
maxElem = e;
|
|
@@ -4508,7 +4378,6 @@
|
|
|
4508
4378
|
var _iterator__ex2g4s = names.p();
|
|
4509
4379
|
while (_iterator__ex2g4s.q()) {
|
|
4510
4380
|
var element = _iterator__ex2g4s.r();
|
|
4511
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.inferOptionNames.<anonymous>' call
|
|
4512
4381
|
// Inline function 'kotlin.text.matches' call
|
|
4513
4382
|
if (!Regex_init_$Create$('[\\-@/+]{1,2}(?:[\\w\\-_]+|\\?)').ec(element)) {
|
|
4514
4383
|
tmp$ret$3 = element;
|
|
@@ -4520,7 +4389,6 @@
|
|
|
4520
4389
|
var invalidName = tmp$ret$3;
|
|
4521
4390
|
// Inline function 'kotlin.require' call
|
|
4522
4391
|
if (!(invalidName == null)) {
|
|
4523
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.inferOptionNames.<anonymous>' call
|
|
4524
4392
|
var message = 'Invalid option name "' + invalidName + '"';
|
|
4525
4393
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
4526
4394
|
}
|
|
@@ -4549,7 +4417,6 @@
|
|
|
4549
4417
|
tmp_0 = null;
|
|
4550
4418
|
} else {
|
|
4551
4419
|
// Inline function 'kotlin.let' call
|
|
4552
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.readEnvVar.<anonymous>' call
|
|
4553
4420
|
tmp_0 = listOf_0(new OptionInvocation(env, listOf_0(tmp1_safe_receiver)));
|
|
4554
4421
|
}
|
|
4555
4422
|
return tmp_0;
|
|
@@ -4567,7 +4434,6 @@
|
|
|
4567
4434
|
var _iterator__ex2g4s = tmp1_safe_receiver.p();
|
|
4568
4435
|
while (_iterator__ex2g4s.q()) {
|
|
4569
4436
|
var item = _iterator__ex2g4s.r();
|
|
4570
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.readValueSource.<anonymous>' call
|
|
4571
4437
|
var tmp$ret$0 = new OptionInvocation('', item.n1u_1);
|
|
4572
4438
|
destination.e(tmp$ret$0);
|
|
4573
4439
|
}
|
|
@@ -4581,7 +4447,6 @@
|
|
|
4581
4447
|
// Inline function 'kotlin.collections.ifEmpty' call
|
|
4582
4448
|
var tmp_1;
|
|
4583
4449
|
if (tmp2_safe_receiver.m()) {
|
|
4584
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.readValueSource.<anonymous>' call
|
|
4585
4450
|
tmp_1 = null;
|
|
4586
4451
|
} else {
|
|
4587
4452
|
tmp_1 = tmp2_safe_receiver;
|
|
@@ -4725,7 +4590,6 @@
|
|
|
4725
4590
|
tmp = null;
|
|
4726
4591
|
} else {
|
|
4727
4592
|
// Inline function 'kotlin.let' call
|
|
4728
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.option.<anonymous>' call
|
|
4729
4593
|
tmp = option$lambda(metavar);
|
|
4730
4594
|
}
|
|
4731
4595
|
var tmp2_metavarGetter = tmp;
|
|
@@ -4860,7 +4724,6 @@
|
|
|
4860
4724
|
var _iterator__ex2g4s = this_0.p();
|
|
4861
4725
|
while (_iterator__ex2g4s.q()) {
|
|
4862
4726
|
var item = _iterator__ex2g4s.r();
|
|
4863
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4864
4727
|
var tmp;
|
|
4865
4728
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
4866
4729
|
if (!invocations.m()) {
|
|
@@ -4882,7 +4745,6 @@
|
|
|
4882
4745
|
var _iterator__ex2g4s_0 = tmp0.p();
|
|
4883
4746
|
while (_iterator__ex2g4s_0.q()) {
|
|
4884
4747
|
var element = _iterator__ex2g4s_0.r();
|
|
4885
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4886
4748
|
var list = this.d1v_1(element);
|
|
4887
4749
|
addAll(destination_0, list);
|
|
4888
4750
|
}
|
|
@@ -4897,7 +4759,6 @@
|
|
|
4897
4759
|
var _iterator__ex2g4s_1 = invs.p();
|
|
4898
4760
|
while (_iterator__ex2g4s_1.q()) {
|
|
4899
4761
|
var item_0 = _iterator__ex2g4s_1.r();
|
|
4900
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>' call
|
|
4901
4762
|
var tc = new OptionCallTransformContext(item_0.r1v_1, this, context);
|
|
4902
4763
|
// Inline function 'kotlin.collections.map' call
|
|
4903
4764
|
var this_1 = item_0.s1v_1;
|
|
@@ -4906,7 +4767,6 @@
|
|
|
4906
4767
|
var _iterator__ex2g4s_2 = this_1.p();
|
|
4907
4768
|
while (_iterator__ex2g4s_2.q()) {
|
|
4908
4769
|
var item_1 = _iterator__ex2g4s_2.r();
|
|
4909
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.finalize.<anonymous>.<anonymous>' call
|
|
4910
4770
|
var tmp$ret$7 = this.j1v_1(tc, item_1);
|
|
4911
4771
|
destination_2.e(tmp$ret$7);
|
|
4912
4772
|
}
|
|
@@ -4936,12 +4796,10 @@
|
|
|
4936
4796
|
// Inline function 'kotlin.text.buildString' call
|
|
4937
4797
|
// Inline function 'kotlin.apply' call
|
|
4938
4798
|
var this_0 = StringBuilder_init_$Create$();
|
|
4939
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.toString.<anonymous>' call
|
|
4940
4799
|
this_0.x7(longestName(this));
|
|
4941
4800
|
// Inline function 'kotlin.runCatching' call
|
|
4942
4801
|
var tmp;
|
|
4943
4802
|
try {
|
|
4944
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.toString.<anonymous>.<anonymous>' call
|
|
4945
4803
|
// Inline function 'kotlin.Companion.success' call
|
|
4946
4804
|
var value = this.z();
|
|
4947
4805
|
tmp = _Result___init__impl__xyqfz8(value);
|
|
@@ -4960,7 +4818,6 @@
|
|
|
4960
4818
|
var this_1 = tmp;
|
|
4961
4819
|
if (_Result___get_isSuccess__impl__sndoy8(this_1)) {
|
|
4962
4820
|
var tmp_1 = _Result___get_value__impl__bjfvqg(this_1);
|
|
4963
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.OptionWithValuesImpl.toString.<anonymous>.<anonymous>' call
|
|
4964
4821
|
var it = (tmp_1 == null ? true : !(tmp_1 == null)) ? tmp_1 : THROW_CCE();
|
|
4965
4822
|
this_0.x7('=').w7(it);
|
|
4966
4823
|
}
|
|
@@ -5061,19 +4918,16 @@
|
|
|
5061
4918
|
function transformValues(_this__u8e3s4, nvalues, transform) {
|
|
5062
4919
|
// Inline function 'kotlin.require' call
|
|
5063
4920
|
if (!!nvalues.m()) {
|
|
5064
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.transformValues.<anonymous>' call
|
|
5065
4921
|
var message = 'Cannot set nvalues to empty range.';
|
|
5066
4922
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
5067
4923
|
}
|
|
5068
4924
|
// Inline function 'kotlin.require' call
|
|
5069
4925
|
if (!(nvalues.yf_1 >= 0)) {
|
|
5070
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.transformValues.<anonymous>' call
|
|
5071
4926
|
var message_0 = 'Options cannot have nvalues < 0';
|
|
5072
4927
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5073
4928
|
}
|
|
5074
4929
|
// Inline function 'kotlin.require' call
|
|
5075
4930
|
if (!!nvalues.equals(numberRangeToNumber(1, 1))) {
|
|
5076
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.transformValues.<anonymous>' call
|
|
5077
4931
|
var message_1 = 'Cannot set nvalues = 1. Use convert() instead.';
|
|
5078
4932
|
throw IllegalArgumentException_init_$Create$(toString_0(message_1));
|
|
5079
4933
|
}
|
|
@@ -5166,7 +5020,6 @@
|
|
|
5166
5020
|
return function (_this__u8e3s4, it) {
|
|
5167
5021
|
var tmp;
|
|
5168
5022
|
try {
|
|
5169
|
-
// Inline function 'com.github.ajalt.clikt.parameters.types.boolean.<anonymous>' call
|
|
5170
5023
|
var it_0 = $this.b1u()(_this__u8e3s4, it);
|
|
5171
5024
|
tmp = valueToBool(_this__u8e3s4, it_0);
|
|
5172
5025
|
} catch ($p) {
|
|
@@ -5180,7 +5033,6 @@
|
|
|
5180
5033
|
// Inline function 'kotlin.takeUnless' call
|
|
5181
5034
|
var this_0 = _this__u8e3s4.g1u_1;
|
|
5182
5035
|
var tmp_3;
|
|
5183
|
-
// Inline function 'com.github.ajalt.clikt.parameters.options.convert.<anonymous>.<anonymous>' call
|
|
5184
5036
|
// Inline function 'kotlin.text.isEmpty' call
|
|
5185
5037
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
5186
5038
|
tmp_3 = this_0;
|
|
@@ -5216,7 +5068,6 @@
|
|
|
5216
5068
|
var _iterator__ex2g4s = this_0.p();
|
|
5217
5069
|
while (_iterator__ex2g4s.q()) {
|
|
5218
5070
|
var element = _iterator__ex2g4s.r();
|
|
5219
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.getInvs.<anonymous>' call
|
|
5220
5071
|
if (element.y().y1l()) {
|
|
5221
5072
|
first.e(element);
|
|
5222
5073
|
} else {
|
|
@@ -5231,7 +5082,6 @@
|
|
|
5231
5082
|
var _iterator__ex2g4s_0 = this_1.p();
|
|
5232
5083
|
while (_iterator__ex2g4s_0.q()) {
|
|
5233
5084
|
var item = _iterator__ex2g4s_0.r();
|
|
5234
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.getInvs.<anonymous>' call
|
|
5235
5085
|
// Inline function 'kotlin.collections.associate' call
|
|
5236
5086
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(item, 10)), 16);
|
|
5237
5087
|
// Inline function 'kotlin.collections.associateTo' call
|
|
@@ -5239,7 +5089,6 @@
|
|
|
5239
5089
|
var _iterator__ex2g4s_1 = item.p();
|
|
5240
5090
|
while (_iterator__ex2g4s_1.q()) {
|
|
5241
5091
|
var element_0 = _iterator__ex2g4s_1.r();
|
|
5242
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.getInvs.<anonymous>.<anonymous>' call
|
|
5243
5092
|
// Inline function 'kotlin.collections.component1' call
|
|
5244
5093
|
var k = element_0.y();
|
|
5245
5094
|
// Inline function 'kotlin.collections.component2' call
|
|
@@ -5260,7 +5109,6 @@
|
|
|
5260
5109
|
var _iterator__ex2g4s = this_0.p();
|
|
5261
5110
|
while (_iterator__ex2g4s.q()) {
|
|
5262
5111
|
var element = _iterator__ex2g4s.r();
|
|
5263
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.getOpts.<anonymous>' call
|
|
5264
5112
|
if (element.y1l()) {
|
|
5265
5113
|
first.e(element);
|
|
5266
5114
|
} else {
|
|
@@ -5299,7 +5147,6 @@
|
|
|
5299
5147
|
var _iterator__ex2g4s = nonEagerOpts.p();
|
|
5300
5148
|
while (_iterator__ex2g4s.q()) {
|
|
5301
5149
|
var element = _iterator__ex2g4s.r();
|
|
5302
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.finalizeCommand.<anonymous>' call
|
|
5303
5150
|
if (get_group(element) == null) {
|
|
5304
5151
|
destination.e(element);
|
|
5305
5152
|
}
|
|
@@ -5334,7 +5181,6 @@
|
|
|
5334
5181
|
var _iterator__ex2g4s_0 = this_0.p();
|
|
5335
5182
|
while (_iterator__ex2g4s_0.q()) {
|
|
5336
5183
|
var item = _iterator__ex2g4s_0.r();
|
|
5337
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.finalizeCommand.<anonymous>' call
|
|
5338
5184
|
var tmp$ret$5 = item.r1l_1;
|
|
5339
5185
|
destination_0.e(tmp$ret$5);
|
|
5340
5186
|
}
|
|
@@ -5394,7 +5240,6 @@
|
|
|
5394
5240
|
var _iterator__ex2g4s_0 = tmp1.p();
|
|
5395
5241
|
while (_iterator__ex2g4s_0.q()) {
|
|
5396
5242
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
5397
|
-
// Inline function 'com.github.ajalt.clikt.parsers.getUsageErrorsOrThrow.<anonymous>' call
|
|
5398
5243
|
if (!(element_0 instanceof UsageError)) {
|
|
5399
5244
|
tmp$ret$3 = element_0;
|
|
5400
5245
|
break $l$block;
|
|
@@ -5662,7 +5507,6 @@
|
|
|
5662
5507
|
var _iterator__ex2g4s = this.p1l_1.p();
|
|
5663
5508
|
while (_iterator__ex2g4s.q()) {
|
|
5664
5509
|
var element = _iterator__ex2g4s.r();
|
|
5665
|
-
// Inline function 'com.github.ajalt.clikt.parsers.FlatInvocations.close.<anonymous>' call
|
|
5666
5510
|
element.s3();
|
|
5667
5511
|
}
|
|
5668
5512
|
};
|
|
@@ -5871,7 +5715,6 @@
|
|
|
5871
5715
|
var _iterator__ex2g4s = tmp0.p();
|
|
5872
5716
|
while (_iterator__ex2g4s.q()) {
|
|
5873
5717
|
var element = _iterator__ex2g4s.r();
|
|
5874
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.printHelpOnEmptyArgsIfNecessary.<anonymous>' call
|
|
5875
5718
|
if (hasEnvvarOrSourcedValue(element, $this.o1x_1, emptyList())) {
|
|
5876
5719
|
tmp$ret$0 = false;
|
|
5877
5720
|
break $l$block_0;
|
|
@@ -5906,13 +5749,11 @@
|
|
|
5906
5749
|
}
|
|
5907
5750
|
// Inline function 'kotlin.require' call
|
|
5908
5751
|
if (!tmp) {
|
|
5909
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.splitOptionPrefixes.<anonymous>' call
|
|
5910
5752
|
var message = 'options must have at least one name';
|
|
5911
5753
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
5912
5754
|
}
|
|
5913
5755
|
// Inline function 'kotlin.require' call
|
|
5914
5756
|
if (!(option.z1l() || option.i1i().zf_1 <= 1)) {
|
|
5915
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.splitOptionPrefixes.<anonymous>' call
|
|
5916
5757
|
var message_0 = 'acceptsUnattachedValue must be true if the option accepts more than one value';
|
|
5917
5758
|
throw IllegalArgumentException_init_$Create$(toString_0(message_0));
|
|
5918
5759
|
}
|
|
@@ -5941,13 +5782,11 @@
|
|
|
5941
5782
|
var _iterator__ex2g4s = tmp0.p();
|
|
5942
5783
|
while (_iterator__ex2g4s.q()) {
|
|
5943
5784
|
var element = _iterator__ex2g4s.r();
|
|
5944
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.makeResult.<anonymous>' call
|
|
5945
5785
|
var key = element.q1y_1;
|
|
5946
5786
|
// Inline function 'kotlin.collections.getOrPut' call
|
|
5947
5787
|
var value = destination.w1(key);
|
|
5948
5788
|
var tmp;
|
|
5949
5789
|
if (value == null) {
|
|
5950
|
-
// Inline function 'kotlin.collections.groupByTo.<anonymous>' call
|
|
5951
5790
|
var answer = ArrayList_init_$Create$();
|
|
5952
5791
|
destination.e2(key, answer);
|
|
5953
5792
|
tmp = answer;
|
|
@@ -5955,7 +5794,6 @@
|
|
|
5955
5794
|
tmp = value;
|
|
5956
5795
|
}
|
|
5957
5796
|
var list = tmp;
|
|
5958
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.makeResult.<anonymous>' call
|
|
5959
5797
|
var tmp$ret$3 = element.t1y();
|
|
5960
5798
|
list.e(tmp$ret$3);
|
|
5961
5799
|
}
|
|
@@ -5972,7 +5810,6 @@
|
|
|
5972
5810
|
// Inline function 'kotlin.takeIf' call
|
|
5973
5811
|
var this_0 = $this.y1x_1;
|
|
5974
5812
|
var tmp_0;
|
|
5975
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.makeResult.<anonymous>' call
|
|
5976
5813
|
if ($this.b1y_1.m()) {
|
|
5977
5814
|
tmp_0 = this_0;
|
|
5978
5815
|
} else {
|
|
@@ -6011,7 +5848,6 @@
|
|
|
6011
5848
|
null;
|
|
6012
5849
|
else {
|
|
6013
5850
|
// Inline function 'kotlin.let' call
|
|
6014
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.consumeOptionParse.<anonymous>' call
|
|
6015
5851
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6016
5852
|
$this.b1y_1.e(tmp0_safe_receiver);
|
|
6017
5853
|
$this.o1x_1.c1i_1 = true;
|
|
@@ -6057,7 +5893,6 @@
|
|
|
6057
5893
|
var _iterator__ex2g4s = tmp0.x().p();
|
|
6058
5894
|
while (_iterator__ex2g4s.q()) {
|
|
6059
5895
|
var element = _iterator__ex2g4s.r();
|
|
6060
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.parseLongOpt.<anonymous>' call
|
|
6061
5896
|
if (!element.z().g1i()) {
|
|
6062
5897
|
destination.e2(element.y(), element.z());
|
|
6063
5898
|
}
|
|
@@ -6083,7 +5918,6 @@
|
|
|
6083
5918
|
while (inductionVariable < charSequenceLength(tmp0)) {
|
|
6084
5919
|
var element = charSequenceGet(tmp0, inductionVariable);
|
|
6085
5920
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6086
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.parseShortOpt.<anonymous>' call
|
|
6087
5921
|
if (!isDigit(element)) {
|
|
6088
5922
|
tmp$ret$1 = false;
|
|
6089
5923
|
break $l$block;
|
|
@@ -6161,7 +5995,6 @@
|
|
|
6161
5995
|
var _iterator__ex2g4s = tmp0.p();
|
|
6162
5996
|
while (_iterator__ex2g4s.q()) {
|
|
6163
5997
|
var element = _iterator__ex2g4s.r();
|
|
6164
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.createNoSuchOption.<anonymous>' call
|
|
6165
5998
|
var tmp0_0 = element.a1h_1;
|
|
6166
5999
|
var tmp$ret$0;
|
|
6167
6000
|
$l$block_0: {
|
|
@@ -6179,7 +6012,6 @@
|
|
|
6179
6012
|
var _iterator__ex2g4s_0 = tmp0_0.p();
|
|
6180
6013
|
while (_iterator__ex2g4s_0.q()) {
|
|
6181
6014
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
6182
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.createNoSuchOption.<anonymous>.<anonymous>' call
|
|
6183
6015
|
if (element_0.h1h().d1(name)) {
|
|
6184
6016
|
tmp$ret$0 = true;
|
|
6185
6017
|
break $l$block_0;
|
|
@@ -6272,7 +6104,6 @@
|
|
|
6272
6104
|
var _iterator__ex2g4s = this_0.p();
|
|
6273
6105
|
$l$loop: while (_iterator__ex2g4s.q()) {
|
|
6274
6106
|
var item = _iterator__ex2g4s.r();
|
|
6275
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.parseArguments.<anonymous>' call
|
|
6276
6107
|
if (!(item.i1i() > 0))
|
|
6277
6108
|
break $l$loop;
|
|
6278
6109
|
list.e(item);
|
|
@@ -6283,7 +6114,6 @@
|
|
|
6283
6114
|
while (_iterator__ex2g4s_0.q()) {
|
|
6284
6115
|
var element = _iterator__ex2g4s_0.r();
|
|
6285
6116
|
var tmp = sum;
|
|
6286
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.parseArguments.<anonymous>' call
|
|
6287
6117
|
sum = tmp + element.i1i() | 0;
|
|
6288
6118
|
}
|
|
6289
6119
|
var endSize = sum;
|
|
@@ -6354,7 +6184,6 @@
|
|
|
6354
6184
|
var _iterator__ex2g4s = tmp0.p();
|
|
6355
6185
|
while (_iterator__ex2g4s.q()) {
|
|
6356
6186
|
var element = _iterator__ex2g4s.r();
|
|
6357
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.ancestorMultipleSubcommands.<anonymous>' call
|
|
6358
6187
|
if (element.k1h_1.b1j()) {
|
|
6359
6188
|
tmp$ret$1 = element;
|
|
6360
6189
|
break $l$block;
|
|
@@ -6376,7 +6205,6 @@
|
|
|
6376
6205
|
var _iterator__ex2g4s_0 = tmp2_safe_receiver.p();
|
|
6377
6206
|
while (_iterator__ex2g4s_0.q()) {
|
|
6378
6207
|
var element_0 = _iterator__ex2g4s_0.r();
|
|
6379
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.ancestorMultipleSubcommands.<anonymous>' call
|
|
6380
6208
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
6381
6209
|
var pair = to(element_0.r1g_1, element_0 instanceof BaseCliktCommand ? element_0 : THROW_CCE());
|
|
6382
6210
|
destination.e2(pair.u9_1, pair.v9_1);
|
|
@@ -6394,9 +6222,8 @@
|
|
|
6394
6222
|
var _iterator__ex2g4s_1 = this_0.p();
|
|
6395
6223
|
while (_iterator__ex2g4s_1.q()) {
|
|
6396
6224
|
var element_1 = _iterator__ex2g4s_1.r();
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
destination_0.e2(tmp$ret$5, element_1);
|
|
6225
|
+
var tmp$ret$6 = element_1.r1g_1;
|
|
6226
|
+
destination_0.e2(tmp$ret$6, element_1);
|
|
6400
6227
|
}
|
|
6401
6228
|
tmp_1.r1x_1 = destination_0;
|
|
6402
6229
|
this.s1x_1 = plus_3(this.q1x_1, this.r1x_1);
|
|
@@ -6406,21 +6233,20 @@
|
|
|
6406
6233
|
var tmp_3 = this;
|
|
6407
6234
|
// Inline function 'kotlin.collections.find' call
|
|
6408
6235
|
var tmp0_0 = this.m1x_1.a1h_1;
|
|
6409
|
-
var tmp$ret$
|
|
6236
|
+
var tmp$ret$11;
|
|
6410
6237
|
$l$block_0: {
|
|
6411
6238
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
6412
6239
|
var _iterator__ex2g4s_2 = tmp0_0.p();
|
|
6413
6240
|
while (_iterator__ex2g4s_2.q()) {
|
|
6414
6241
|
var element_2 = _iterator__ex2g4s_2.r();
|
|
6415
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.numberOption.<anonymous>' call
|
|
6416
6242
|
if (element_2.q1j()) {
|
|
6417
|
-
tmp$ret$
|
|
6243
|
+
tmp$ret$11 = element_2;
|
|
6418
6244
|
break $l$block_0;
|
|
6419
6245
|
}
|
|
6420
6246
|
}
|
|
6421
|
-
tmp$ret$
|
|
6247
|
+
tmp$ret$11 = null;
|
|
6422
6248
|
}
|
|
6423
|
-
tmp_3.u1x_1 = tmp$ret$
|
|
6249
|
+
tmp_3.u1x_1 = tmp$ret$11;
|
|
6424
6250
|
var tmp_4 = this;
|
|
6425
6251
|
// Inline function 'kotlin.collections.mutableSetOf' call
|
|
6426
6252
|
tmp_4.v1x_1 = LinkedHashSet_init_$Create$();
|
|
@@ -6449,7 +6275,6 @@
|
|
|
6449
6275
|
while (_iterator__ex2g4s_3.q()) {
|
|
6450
6276
|
var element_3 = _iterator__ex2g4s_3.r();
|
|
6451
6277
|
var tmp_11 = sum;
|
|
6452
|
-
// Inline function 'com.github.ajalt.clikt.parsers.CommandParser.minArgCount.<anonymous>' call
|
|
6453
6278
|
sum = tmp_11 + (element_3.d1t() ? coerceAtLeast(element_3.i1i(), 0) : 0) | 0;
|
|
6454
6279
|
}
|
|
6455
6280
|
tmp_10.e1y_1 = sum;
|
|
@@ -6669,7 +6494,6 @@
|
|
|
6669
6494
|
while (inductionVariable < charSequenceLength(indexedObject)) {
|
|
6670
6495
|
var element = charSequenceGet(indexedObject, inductionVariable);
|
|
6671
6496
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6672
|
-
// Inline function 'com.github.ajalt.clikt.parsers.shlex.err.<anonymous>' call
|
|
6673
6497
|
if (element === _Char___init__impl__6a9atx(10)) {
|
|
6674
6498
|
count = count + 1 | 0;
|
|
6675
6499
|
}
|