@continuous-excellence/coupling-cli 1.1.514 → 1.1.516
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/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +8 -8
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +39 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +19 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +23 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +6 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +56 -12
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +163 -97
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +29 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +164 -120
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +44 -41
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +72 -50
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +73 -74
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +101 -49
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +231 -170
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +23 -23
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +117 -112
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +95 -95
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +37 -37
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +134 -134
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +26 -26
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +12 -12
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +21 -21
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +189 -189
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +29 -29
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +45 -45
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +227 -227
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +15 -15
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +4 -3
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +16 -16
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +64 -64
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +18 -18
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +5 -5
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +24 -24
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +119 -119
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +132 -132
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +60 -60
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +65 -65
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +225 -225
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +138 -138
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +16 -16
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +107 -107
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/package.json +1 -1
|
@@ -38,32 +38,32 @@ var UsageErrorClass;
|
|
|
38
38
|
function UsageError() {
|
|
39
39
|
if (UsageErrorClass === VOID) {
|
|
40
40
|
class $ extends CliktError() {
|
|
41
|
-
static
|
|
41
|
+
static q5x(message, paramName, statusCode) {
|
|
42
42
|
paramName = paramName === VOID ? null : paramName;
|
|
43
43
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
44
|
-
var $this = this.
|
|
45
|
-
captureStack($this, $this.
|
|
46
|
-
$this.
|
|
47
|
-
$this.
|
|
44
|
+
var $this = this.r5x(message, VOID, statusCode);
|
|
45
|
+
captureStack($this, $this.p5x_1);
|
|
46
|
+
$this.n5x_1 = paramName;
|
|
47
|
+
$this.o5x_1 = null;
|
|
48
48
|
return $this;
|
|
49
49
|
}
|
|
50
|
-
static
|
|
50
|
+
static s5x(message, option, statusCode) {
|
|
51
51
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
52
|
-
return this.
|
|
52
|
+
return this.q5x(message, longestName(option), statusCode);
|
|
53
53
|
}
|
|
54
|
-
static
|
|
54
|
+
static t5x(option, statusCode) {
|
|
55
55
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
56
|
-
return this.
|
|
56
|
+
return this.q5x(null, longestName(option), statusCode);
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
u5x(localization, formatter) {
|
|
59
59
|
var tmp0_elvis_lhs = this.message;
|
|
60
60
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
this.
|
|
62
|
+
v5x(_set____db54di) {
|
|
63
|
+
this.o5x_1 = _set____db54di;
|
|
64
64
|
}
|
|
65
65
|
wc() {
|
|
66
|
-
return this.
|
|
66
|
+
return this.o5x_1;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
initMetadataForClass($, 'UsageError', VOID, VOID, [ContextCliktError()]);
|
|
@@ -75,19 +75,19 @@ var CliktErrorClass;
|
|
|
75
75
|
function CliktError() {
|
|
76
76
|
if (CliktErrorClass === VOID) {
|
|
77
77
|
class $ extends RuntimeException() {
|
|
78
|
-
static
|
|
78
|
+
static r5x(message, cause, statusCode, printError) {
|
|
79
79
|
message = message === VOID ? null : message;
|
|
80
80
|
cause = cause === VOID ? null : cause;
|
|
81
81
|
statusCode = statusCode === VOID ? 1 : statusCode;
|
|
82
82
|
printError = printError === VOID ? true : printError;
|
|
83
83
|
var $this = this.yd(message, cause);
|
|
84
|
-
captureStack($this, $this.
|
|
85
|
-
$this.
|
|
86
|
-
$this.
|
|
84
|
+
captureStack($this, $this.p5u_1);
|
|
85
|
+
$this.n5u_1 = statusCode;
|
|
86
|
+
$this.o5u_1 = printError;
|
|
87
87
|
return $this;
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
initMetadataForClass($, 'CliktError', $.
|
|
90
|
+
initMetadataForClass($, 'CliktError', $.r5x);
|
|
91
91
|
CliktErrorClass = $;
|
|
92
92
|
}
|
|
93
93
|
return CliktErrorClass;
|
|
@@ -105,17 +105,17 @@ var PrintHelpMessageClass;
|
|
|
105
105
|
function PrintHelpMessage() {
|
|
106
106
|
if (PrintHelpMessageClass === VOID) {
|
|
107
107
|
class $ extends CliktError() {
|
|
108
|
-
static
|
|
108
|
+
static a5w(context, error, statusCode) {
|
|
109
109
|
error = error === VOID ? false : error;
|
|
110
110
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
111
|
-
var $this = this.
|
|
112
|
-
captureStack($this, $this.
|
|
113
|
-
$this.
|
|
114
|
-
$this.
|
|
111
|
+
var $this = this.r5x(VOID, VOID, statusCode, false);
|
|
112
|
+
captureStack($this, $this.z5v_1);
|
|
113
|
+
$this.x5v_1 = context;
|
|
114
|
+
$this.y5v_1 = error;
|
|
115
115
|
return $this;
|
|
116
116
|
}
|
|
117
117
|
wc() {
|
|
118
|
-
return this.
|
|
118
|
+
return this.x5v_1;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
initMetadataForClass($, 'PrintHelpMessage', VOID, VOID, [ContextCliktError()]);
|
|
@@ -127,7 +127,7 @@ var CompanionClass;
|
|
|
127
127
|
function Companion() {
|
|
128
128
|
if (CompanionClass === VOID) {
|
|
129
129
|
class $ {
|
|
130
|
-
|
|
130
|
+
w5x(errors) {
|
|
131
131
|
var tmp;
|
|
132
132
|
switch (errors.q2()) {
|
|
133
133
|
case 0:
|
|
@@ -146,7 +146,7 @@ function Companion() {
|
|
|
146
146
|
while (_iterator__ex2g4s.m1()) {
|
|
147
147
|
var element = _iterator__ex2g4s.n1();
|
|
148
148
|
var tmp0_safe_receiver = element instanceof MultiUsageError() ? element : null;
|
|
149
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
149
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.f5y_1;
|
|
150
150
|
var list = tmp1_elvis_lhs == null ? listOf(element) : tmp1_elvis_lhs;
|
|
151
151
|
addAll(destination, list);
|
|
152
152
|
}
|
|
@@ -174,7 +174,7 @@ function Companion() {
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
tmp = MultiUsageError().
|
|
177
|
+
tmp = MultiUsageError().h5y(destination_0);
|
|
178
178
|
break;
|
|
179
179
|
}
|
|
180
180
|
return tmp;
|
|
@@ -190,20 +190,20 @@ function Companion_getInstance() {
|
|
|
190
190
|
return Companion_instance;
|
|
191
191
|
}
|
|
192
192
|
function MultiUsageError$formatMessage$lambda($localization, $formatter) {
|
|
193
|
-
return (it) => it.
|
|
193
|
+
return (it) => it.u5x($localization, $formatter);
|
|
194
194
|
}
|
|
195
195
|
var MultiUsageErrorClass;
|
|
196
196
|
function MultiUsageError() {
|
|
197
197
|
if (MultiUsageErrorClass === VOID) {
|
|
198
198
|
class $ extends UsageError() {
|
|
199
|
-
static
|
|
200
|
-
var $this = this.
|
|
201
|
-
captureStack($this, $this.
|
|
202
|
-
$this.
|
|
199
|
+
static h5y(errors) {
|
|
200
|
+
var $this = this.q5x(null, VOID, first(errors).n5u_1);
|
|
201
|
+
captureStack($this, $this.g5y_1);
|
|
202
|
+
$this.f5y_1 = errors;
|
|
203
203
|
return $this;
|
|
204
204
|
}
|
|
205
|
-
|
|
206
|
-
return joinToString(this.
|
|
205
|
+
u5x(localization, formatter) {
|
|
206
|
+
return joinToString(this.f5y_1, '\n', VOID, VOID, VOID, VOID, MultiUsageError$formatMessage$lambda(localization, formatter));
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
initMetadataForClass($, 'MultiUsageError');
|
|
@@ -231,7 +231,7 @@ function Kind() {
|
|
|
231
231
|
return KindClass;
|
|
232
232
|
}
|
|
233
233
|
function init_com_github_ajalt_clikt_core_BadParameterValue(_this__u8e3s4) {
|
|
234
|
-
captureStack(_this__u8e3s4, _this__u8e3s4.
|
|
234
|
+
captureStack(_this__u8e3s4, _this__u8e3s4.r5y_1);
|
|
235
235
|
}
|
|
236
236
|
function Kind_Option_getInstance() {
|
|
237
237
|
Kind_initEntries();
|
|
@@ -241,19 +241,19 @@ var BadParameterValueClass;
|
|
|
241
241
|
function BadParameterValue() {
|
|
242
242
|
if (BadParameterValueClass === VOID) {
|
|
243
243
|
class $ extends UsageError() {
|
|
244
|
-
static
|
|
245
|
-
var $this = this.
|
|
244
|
+
static s5y(message, option) {
|
|
245
|
+
var $this = this.s5x(message, option);
|
|
246
246
|
init_com_github_ajalt_clikt_core_BadParameterValue($this);
|
|
247
|
-
$this.
|
|
247
|
+
$this.q5y_1 = Kind_Option_getInstance();
|
|
248
248
|
return $this;
|
|
249
249
|
}
|
|
250
|
-
static
|
|
251
|
-
var $this = this.
|
|
250
|
+
static t5y(message, option, name) {
|
|
251
|
+
var $this = this.q5x(message, name);
|
|
252
252
|
init_com_github_ajalt_clikt_core_BadParameterValue($this);
|
|
253
|
-
$this.
|
|
253
|
+
$this.q5y_1 = Kind_Option_getInstance();
|
|
254
254
|
return $this;
|
|
255
255
|
}
|
|
256
|
-
|
|
256
|
+
u5x(localization, formatter) {
|
|
257
257
|
// Inline function 'kotlin.takeUnless' call
|
|
258
258
|
var this_0 = this.message;
|
|
259
259
|
var tmp;
|
|
@@ -264,7 +264,7 @@ function BadParameterValue() {
|
|
|
264
264
|
tmp = null;
|
|
265
265
|
}
|
|
266
266
|
var m = tmp;
|
|
267
|
-
var tmp0_safe_receiver = this.
|
|
267
|
+
var tmp0_safe_receiver = this.n5x_1;
|
|
268
268
|
var tmp_0;
|
|
269
269
|
if (tmp0_safe_receiver == null) {
|
|
270
270
|
tmp_0 = null;
|
|
@@ -285,14 +285,14 @@ function BadParameterValue() {
|
|
|
285
285
|
tmp_2 = null;
|
|
286
286
|
} else {
|
|
287
287
|
// Inline function 'kotlin.let' call
|
|
288
|
-
var tmp0_subject = this.
|
|
288
|
+
var tmp0_subject = this.q5y_1;
|
|
289
289
|
var tmp_3;
|
|
290
290
|
switch (tmp0_subject == null ? -1 : tmp0_subject.s1_1) {
|
|
291
291
|
case 0:
|
|
292
|
-
tmp_3 = formatter.
|
|
292
|
+
tmp_3 = formatter.u5y(tmp1_safe_receiver);
|
|
293
293
|
break;
|
|
294
294
|
case 1:
|
|
295
|
-
tmp_3 = formatter.
|
|
295
|
+
tmp_3 = formatter.v5y(tmp1_safe_receiver);
|
|
296
296
|
break;
|
|
297
297
|
case -1:
|
|
298
298
|
tmp_3 = tmp1_safe_receiver;
|
|
@@ -306,13 +306,13 @@ function BadParameterValue() {
|
|
|
306
306
|
var p = tmp_2;
|
|
307
307
|
var tmp_4;
|
|
308
308
|
if (m == null && p == null) {
|
|
309
|
-
tmp_4 = localization.
|
|
309
|
+
tmp_4 = localization.z5y();
|
|
310
310
|
} else if (m == null && !(p == null)) {
|
|
311
|
-
tmp_4 = localization.
|
|
311
|
+
tmp_4 = localization.y5y(p);
|
|
312
312
|
} else if (!(m == null) && p == null) {
|
|
313
|
-
tmp_4 = localization.
|
|
313
|
+
tmp_4 = localization.x5y(m);
|
|
314
314
|
} else if (!(m == null) && !(p == null)) {
|
|
315
|
-
tmp_4 = localization.
|
|
315
|
+
tmp_4 = localization.w5y(p, m);
|
|
316
316
|
} else {
|
|
317
317
|
// Inline function 'kotlin.error' call
|
|
318
318
|
var message = 'impossible';
|
|
@@ -330,41 +330,41 @@ var NoSuchOptionClass;
|
|
|
330
330
|
function NoSuchOption() {
|
|
331
331
|
if (NoSuchOptionClass === VOID) {
|
|
332
332
|
class $ extends UsageError() {
|
|
333
|
-
static
|
|
333
|
+
static l5z(paramName, possibilities, subcommand) {
|
|
334
334
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
335
335
|
subcommand = subcommand === VOID ? null : subcommand;
|
|
336
|
-
var $this = this.
|
|
337
|
-
captureStack($this, $this.
|
|
338
|
-
$this.
|
|
339
|
-
$this.
|
|
336
|
+
var $this = this.q5x(null, paramName);
|
|
337
|
+
captureStack($this, $this.k5z_1);
|
|
338
|
+
$this.i5z_1 = possibilities;
|
|
339
|
+
$this.j5z_1 = subcommand;
|
|
340
340
|
return $this;
|
|
341
341
|
}
|
|
342
|
-
|
|
343
|
-
var tmp0_safe_receiver = this.
|
|
342
|
+
u5x(localization, formatter) {
|
|
343
|
+
var tmp0_safe_receiver = this.n5x_1;
|
|
344
344
|
var tmp;
|
|
345
345
|
if (tmp0_safe_receiver == null) {
|
|
346
346
|
tmp = null;
|
|
347
347
|
} else {
|
|
348
348
|
// Inline function 'kotlin.let' call
|
|
349
|
-
tmp = formatter.
|
|
349
|
+
tmp = formatter.v5y(tmp0_safe_receiver);
|
|
350
350
|
}
|
|
351
351
|
var tmp1_elvis_lhs = tmp;
|
|
352
352
|
var name = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
353
353
|
var tmp_0;
|
|
354
|
-
if (!(this.
|
|
355
|
-
tmp_0 = localization.
|
|
354
|
+
if (!(this.j5z_1 == null)) {
|
|
355
|
+
tmp_0 = localization.o5z(name, formatter.n5z(formatter.n5z(this.j5z_1)));
|
|
356
356
|
} else {
|
|
357
357
|
// Inline function 'kotlin.collections.map' call
|
|
358
|
-
var this_0 = this.
|
|
358
|
+
var this_0 = this.i5z_1;
|
|
359
359
|
// Inline function 'kotlin.collections.mapTo' call
|
|
360
360
|
var destination = ArrayList().r2(collectionSizeOrDefault(this_0, 10));
|
|
361
361
|
var _iterator__ex2g4s = this_0.l1();
|
|
362
362
|
while (_iterator__ex2g4s.m1()) {
|
|
363
363
|
var item = _iterator__ex2g4s.n1();
|
|
364
|
-
var tmp$ret$4 = formatter.
|
|
364
|
+
var tmp$ret$4 = formatter.v5y(item);
|
|
365
365
|
destination.o2(tmp$ret$4);
|
|
366
366
|
}
|
|
367
|
-
tmp_0 = localization.
|
|
367
|
+
tmp_0 = localization.m5z(name, destination);
|
|
368
368
|
}
|
|
369
369
|
return tmp_0;
|
|
370
370
|
}
|
|
@@ -378,21 +378,21 @@ var NoSuchArgumentClass;
|
|
|
378
378
|
function NoSuchArgument() {
|
|
379
379
|
if (NoSuchArgumentClass === VOID) {
|
|
380
380
|
class $ extends UsageError() {
|
|
381
|
-
static
|
|
382
|
-
var $this = this.
|
|
383
|
-
captureStack($this, $this.
|
|
384
|
-
$this.
|
|
381
|
+
static z5z(excessArguments) {
|
|
382
|
+
var $this = this.q5x(null);
|
|
383
|
+
captureStack($this, $this.y5z_1);
|
|
384
|
+
$this.x5z_1 = excessArguments;
|
|
385
385
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
386
386
|
// Inline function 'kotlin.require' call
|
|
387
|
-
if (!!$this.
|
|
387
|
+
if (!!$this.x5z_1.j1()) {
|
|
388
388
|
var message = 'must provide at least one excess argument';
|
|
389
389
|
throw IllegalArgumentException().m2(toString(message));
|
|
390
390
|
}
|
|
391
391
|
return $this;
|
|
392
392
|
}
|
|
393
|
-
|
|
394
|
-
var actual = joinToString(this.
|
|
395
|
-
return this.
|
|
393
|
+
u5x(localization, formatter) {
|
|
394
|
+
var actual = joinToString(this.x5z_1, ' ', '(', ')', 3);
|
|
395
|
+
return this.x5z_1.q2() === 1 ? localization.b60(actual) : localization.a60(actual, this.x5z_1.q2());
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
398
|
initMetadataForClass($, 'NoSuchArgument');
|
|
@@ -404,26 +404,26 @@ var IncorrectOptionValueCountClass;
|
|
|
404
404
|
function IncorrectOptionValueCount() {
|
|
405
405
|
if (IncorrectOptionValueCountClass === VOID) {
|
|
406
406
|
class $ extends UsageError() {
|
|
407
|
-
static
|
|
408
|
-
var $this = this.
|
|
409
|
-
captureStack($this, $this.
|
|
410
|
-
$this.
|
|
407
|
+
static m60(minValues, paramName) {
|
|
408
|
+
var $this = this.q5x(null, paramName);
|
|
409
|
+
captureStack($this, $this.l60_1);
|
|
410
|
+
$this.k60_1 = minValues;
|
|
411
411
|
return $this;
|
|
412
412
|
}
|
|
413
|
-
static
|
|
414
|
-
return this.
|
|
413
|
+
static n60(option, paramName) {
|
|
414
|
+
return this.m60(option.h5v().f3_1, paramName);
|
|
415
415
|
}
|
|
416
|
-
|
|
417
|
-
var tmp0_safe_receiver = this.
|
|
416
|
+
u5x(localization, formatter) {
|
|
417
|
+
var tmp0_safe_receiver = this.n5x_1;
|
|
418
418
|
var tmp;
|
|
419
419
|
if (tmp0_safe_receiver == null) {
|
|
420
420
|
tmp = null;
|
|
421
421
|
} else {
|
|
422
422
|
// Inline function 'kotlin.let' call
|
|
423
|
-
tmp = formatter.
|
|
423
|
+
tmp = formatter.v5y(tmp0_safe_receiver);
|
|
424
424
|
}
|
|
425
425
|
var tmp1_elvis_lhs = tmp;
|
|
426
|
-
return localization.
|
|
426
|
+
return localization.o60(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs, this.k60_1);
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
429
|
initMetadataForClass($, 'IncorrectOptionValueCount');
|
|
@@ -435,11 +435,11 @@ var PrintMessageClass;
|
|
|
435
435
|
function PrintMessage() {
|
|
436
436
|
if (PrintMessageClass === VOID) {
|
|
437
437
|
class $ extends CliktError() {
|
|
438
|
-
static
|
|
438
|
+
static v60(message, statusCode, printError) {
|
|
439
439
|
statusCode = statusCode === VOID ? 0 : statusCode;
|
|
440
440
|
printError = printError === VOID ? false : printError;
|
|
441
|
-
var $this = this.
|
|
442
|
-
captureStack($this, $this.
|
|
441
|
+
var $this = this.r5x(message, VOID, statusCode, printError);
|
|
442
|
+
captureStack($this, $this.u60_1);
|
|
443
443
|
return $this;
|
|
444
444
|
}
|
|
445
445
|
}
|
|
@@ -452,22 +452,22 @@ var MissingOptionClass;
|
|
|
452
452
|
function MissingOption() {
|
|
453
453
|
if (MissingOptionClass === VOID) {
|
|
454
454
|
class $ extends UsageError() {
|
|
455
|
-
static
|
|
456
|
-
var $this = this.
|
|
457
|
-
captureStack($this, $this.
|
|
455
|
+
static f61(option) {
|
|
456
|
+
var $this = this.t5x(option);
|
|
457
|
+
captureStack($this, $this.e61_1);
|
|
458
458
|
return $this;
|
|
459
459
|
}
|
|
460
|
-
|
|
461
|
-
var tmp0_safe_receiver = this.
|
|
460
|
+
u5x(localization, formatter) {
|
|
461
|
+
var tmp0_safe_receiver = this.n5x_1;
|
|
462
462
|
var tmp;
|
|
463
463
|
if (tmp0_safe_receiver == null) {
|
|
464
464
|
tmp = null;
|
|
465
465
|
} else {
|
|
466
466
|
// Inline function 'kotlin.let' call
|
|
467
|
-
tmp = formatter.
|
|
467
|
+
tmp = formatter.v5y(tmp0_safe_receiver);
|
|
468
468
|
}
|
|
469
469
|
var tmp1_elvis_lhs = tmp;
|
|
470
|
-
return localization.
|
|
470
|
+
return localization.g61(tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
473
|
initMetadataForClass($, 'MissingOption');
|
|
@@ -479,9 +479,9 @@ var ProgramResultClass;
|
|
|
479
479
|
function ProgramResult() {
|
|
480
480
|
if (ProgramResultClass === VOID) {
|
|
481
481
|
class $ extends CliktError() {
|
|
482
|
-
static
|
|
483
|
-
var $this = this.
|
|
484
|
-
captureStack($this, $this.
|
|
482
|
+
static n61(statusCode) {
|
|
483
|
+
var $this = this.r5x(VOID, VOID, statusCode);
|
|
484
|
+
captureStack($this, $this.m61_1);
|
|
485
485
|
return $this;
|
|
486
486
|
}
|
|
487
487
|
}
|
|
@@ -494,9 +494,9 @@ var PrintCompletionMessageClass;
|
|
|
494
494
|
function PrintCompletionMessage() {
|
|
495
495
|
if (PrintCompletionMessageClass === VOID) {
|
|
496
496
|
class $ extends PrintMessage() {
|
|
497
|
-
static
|
|
498
|
-
var $this = this.
|
|
499
|
-
captureStack($this, $this.
|
|
497
|
+
static v61(message) {
|
|
498
|
+
var $this = this.v60(message, 0);
|
|
499
|
+
captureStack($this, $this.u61_1);
|
|
500
500
|
return $this;
|
|
501
501
|
}
|
|
502
502
|
}
|
|
@@ -509,16 +509,16 @@ var InvalidFileFormatClass;
|
|
|
509
509
|
function InvalidFileFormat() {
|
|
510
510
|
if (InvalidFileFormatClass === VOID) {
|
|
511
511
|
class $ extends UsageError() {
|
|
512
|
-
static
|
|
512
|
+
static h62(filename, message, lineno) {
|
|
513
513
|
lineno = lineno === VOID ? null : lineno;
|
|
514
|
-
var $this = this.
|
|
515
|
-
captureStack($this, $this.
|
|
516
|
-
$this.
|
|
517
|
-
$this.
|
|
514
|
+
var $this = this.q5x(message);
|
|
515
|
+
captureStack($this, $this.g62_1);
|
|
516
|
+
$this.e62_1 = filename;
|
|
517
|
+
$this.f62_1 = lineno;
|
|
518
518
|
return $this;
|
|
519
519
|
}
|
|
520
|
-
|
|
521
|
-
return this.
|
|
520
|
+
u5x(localization, formatter) {
|
|
521
|
+
return this.f62_1 == null ? localization.j62(this.e62_1, ensureNotNull(this.message)) : localization.i62(this.e62_1, this.f62_1, ensureNotNull(this.message));
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
524
|
initMetadataForClass($, 'InvalidFileFormat');
|
|
@@ -530,35 +530,35 @@ var NoSuchSubcommandClass;
|
|
|
530
530
|
function NoSuchSubcommand() {
|
|
531
531
|
if (NoSuchSubcommandClass === VOID) {
|
|
532
532
|
class $ extends UsageError() {
|
|
533
|
-
static
|
|
533
|
+
static u62(paramName, possibilities) {
|
|
534
534
|
possibilities = possibilities === VOID ? emptyList() : possibilities;
|
|
535
|
-
var $this = this.
|
|
536
|
-
captureStack($this, $this.
|
|
537
|
-
$this.
|
|
535
|
+
var $this = this.q5x(null, paramName);
|
|
536
|
+
captureStack($this, $this.t62_1);
|
|
537
|
+
$this.s62_1 = possibilities;
|
|
538
538
|
return $this;
|
|
539
539
|
}
|
|
540
|
-
|
|
541
|
-
var tmp0_safe_receiver = this.
|
|
540
|
+
u5x(localization, formatter) {
|
|
541
|
+
var tmp0_safe_receiver = this.n5x_1;
|
|
542
542
|
var tmp;
|
|
543
543
|
if (tmp0_safe_receiver == null) {
|
|
544
544
|
tmp = null;
|
|
545
545
|
} else {
|
|
546
546
|
// Inline function 'kotlin.let' call
|
|
547
|
-
tmp = formatter.
|
|
547
|
+
tmp = formatter.n5z(tmp0_safe_receiver);
|
|
548
548
|
}
|
|
549
549
|
var tmp1_elvis_lhs = tmp;
|
|
550
550
|
var tmp_0 = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
551
551
|
// Inline function 'kotlin.collections.map' call
|
|
552
|
-
var this_0 = this.
|
|
552
|
+
var this_0 = this.s62_1;
|
|
553
553
|
// Inline function 'kotlin.collections.mapTo' call
|
|
554
554
|
var destination = ArrayList().r2(collectionSizeOrDefault(this_0, 10));
|
|
555
555
|
var _iterator__ex2g4s = this_0.l1();
|
|
556
556
|
while (_iterator__ex2g4s.m1()) {
|
|
557
557
|
var item = _iterator__ex2g4s.n1();
|
|
558
|
-
var tmp$ret$4 = formatter.
|
|
558
|
+
var tmp$ret$4 = formatter.n5z(item);
|
|
559
559
|
destination.o2(tmp$ret$4);
|
|
560
560
|
}
|
|
561
|
-
return localization.
|
|
561
|
+
return localization.v62(tmp_0, destination);
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
initMetadataForClass($, 'NoSuchSubcommand');
|
|
@@ -570,13 +570,13 @@ var AbortClass;
|
|
|
570
570
|
function Abort() {
|
|
571
571
|
if (AbortClass === VOID) {
|
|
572
572
|
class $ extends ProgramResult() {
|
|
573
|
-
static
|
|
574
|
-
var $this = this.
|
|
575
|
-
captureStack($this, $this.
|
|
573
|
+
static d63() {
|
|
574
|
+
var $this = this.n61(1);
|
|
575
|
+
captureStack($this, $this.c63_1);
|
|
576
576
|
return $this;
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
initMetadataForClass($, 'Abort', $.
|
|
579
|
+
initMetadataForClass($, 'Abort', $.d63);
|
|
580
580
|
AbortClass = $;
|
|
581
581
|
}
|
|
582
582
|
return AbortClass;
|
|
@@ -585,14 +585,14 @@ var FileNotFoundClass;
|
|
|
585
585
|
function FileNotFound() {
|
|
586
586
|
if (FileNotFoundClass === VOID) {
|
|
587
587
|
class $ extends UsageError() {
|
|
588
|
-
static
|
|
589
|
-
var $this = this.
|
|
590
|
-
captureStack($this, $this.
|
|
591
|
-
$this.
|
|
588
|
+
static o63(filename) {
|
|
589
|
+
var $this = this.q5x(null);
|
|
590
|
+
captureStack($this, $this.n63_1);
|
|
591
|
+
$this.m63_1 = filename;
|
|
592
592
|
return $this;
|
|
593
593
|
}
|
|
594
|
-
|
|
595
|
-
return localization.
|
|
594
|
+
u5x(localization, formatter) {
|
|
595
|
+
return localization.p63(this.m63_1);
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
initMetadataForClass($, 'FileNotFound');
|