mrs-toolbox-cli 0.0.129 → 0.0.130
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/88b0986a7186d029-atomicfu-js-ir.js +19 -19
- package/clikt-clikt-mordant.js +245 -0
- package/clikt-clikt-mordant.js.map +1 -0
- package/clikt-clikt.js +3345 -3129
- package/clikt-clikt.js.map +1 -1
- package/colormath-root-colormath.js +806 -611
- package/colormath-root-colormath.js.map +1 -1
- package/com.mrs.platform.configuration.dto.js +6125 -5640
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3749 -2808
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging-js-ir.js +47 -47
- package/kotlin-node.js +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +2084 -2056
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1640 -1629
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +2119 -2096
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/ktor-ktor-client-content-negotiation.js +223 -223
- package/ktor-ktor-client-content-negotiation.js.map +1 -1
- package/ktor-ktor-client-core.js +2531 -2532
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-events.js +13 -13
- package/ktor-ktor-http.js +702 -703
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +1583 -1583
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +265 -265
- package/ktor-ktor-serialization.js +126 -126
- package/ktor-ktor-utils.js +519 -519
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +60 -60
- package/ktor-ktor-websockets.js.map +1 -1
- package/mordant-mordant-omnibus.js +8 -0
- package/mordant-mordant-omnibus.js.map +1 -0
- package/mordant-mordant.js +4442 -9011
- package/mordant-mordant.js.map +1 -1
- package/mrs-toolbox-cli.d.ts +43 -1
- package/mrs-toolbox-cli.js +1020 -145
- package/mrs-toolbox-cli.js.map +1 -1
- package/package.json +1 -1
- package/static/init/hooks.webpack.config.js +35 -0
- package/static/init/webpackRoot.config.js +35 -0
- package/toolbox.js +6163 -5544
- package/toolbox.js.map +1 -1
- package/markdown.js +0 -6644
- package/markdown.js.map +0 -1
package/mrs-toolbox-cli.js
CHANGED
|
@@ -1,52 +1,178 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
(function (_, kotlin_clikt_clikt, kotlin_kotlin, kotlin_com_mrs_platform_toolbox_library, kotlin_com_mrs_platform_configuration_dto_dto) {
|
|
2
|
+
(function (_, kotlin_clikt_clikt, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_com_mrs_platform_toolbox_library, kotlin_clikt_clikt_mordant, kotlin_com_mrs_platform_configuration_dto_dto) {
|
|
3
3
|
'use strict';
|
|
4
4
|
//region block: imports
|
|
5
|
-
var
|
|
6
|
-
var protoOf = kotlin_kotlin.$_$.kc;
|
|
7
|
-
var initMetadataForClass = kotlin_kotlin.$_$.jb;
|
|
8
|
-
var argument = kotlin_clikt_clikt.$_$.c;
|
|
9
|
-
var CommandExecutor_getInstance = kotlin_com_mrs_platform_toolbox_library.$_$.a;
|
|
10
|
-
var charSequenceLength = kotlin_kotlin.$_$.xa;
|
|
11
|
-
var Unit_instance = kotlin_kotlin.$_$.i5;
|
|
12
|
-
var option = kotlin_clikt_clikt.$_$.e;
|
|
13
|
-
var prompt = kotlin_clikt_clikt.$_$.f;
|
|
5
|
+
var BaseCliktCommand = kotlin_clikt_clikt.$_$.b;
|
|
14
6
|
var VOID = kotlin_kotlin.$_$.g;
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.ac;
|
|
8
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ab;
|
|
9
|
+
var CoroutineImpl = kotlin_kotlin.$_$.aa;
|
|
10
|
+
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
11
|
+
var THROW_CCE = kotlin_kotlin.$_$.ng;
|
|
12
|
+
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
13
|
+
var isInterface = kotlin_kotlin.$_$.pb;
|
|
14
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.fb;
|
|
15
|
+
var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
16
|
+
var CommandExecutor_getInstance = kotlin_com_mrs_platform_toolbox_library.$_$.a;
|
|
17
|
+
var argument = kotlin_clikt_clikt.$_$.h;
|
|
18
|
+
var charSequenceLength = kotlin_kotlin.$_$.oa;
|
|
19
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.k9;
|
|
20
|
+
var option = kotlin_clikt_clikt.$_$.l;
|
|
21
|
+
var prompt = kotlin_clikt_clikt_mordant.$_$.a;
|
|
22
|
+
var optional = kotlin_clikt_clikt.$_$.i;
|
|
23
|
+
var LoggerMessage = kotlin_com_mrs_platform_toolbox_library.$_$.b;
|
|
24
|
+
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
|
|
25
|
+
var CommandLineParser_instance = kotlin_clikt_clikt.$_$.p;
|
|
26
|
+
var asList = kotlin_kotlin.$_$.x5;
|
|
27
|
+
var flatten = kotlin_clikt_clikt.$_$.n;
|
|
28
|
+
var closeFinally = kotlin_kotlin.$_$.ch;
|
|
29
|
+
var ProgramResult = kotlin_clikt_clikt.$_$.d;
|
|
30
|
+
var CliktError = kotlin_clikt_clikt.$_$.c;
|
|
31
|
+
var subcommands = kotlin_clikt_clikt.$_$.g;
|
|
32
|
+
var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
33
|
+
var KProperty1 = kotlin_kotlin.$_$.xc;
|
|
34
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.xa;
|
|
35
|
+
var isArray = kotlin_kotlin.$_$.hb;
|
|
36
|
+
var get_EmptyContinuation = kotlin_kotlin.$_$.o9;
|
|
23
37
|
//endregion
|
|
24
38
|
//region block: pre-declaration
|
|
25
|
-
initMetadataForClass(
|
|
26
|
-
|
|
27
|
-
initMetadataForClass(
|
|
28
|
-
|
|
29
|
-
initMetadataForClass(
|
|
30
|
-
|
|
31
|
-
initMetadataForClass(
|
|
32
|
-
|
|
33
|
-
initMetadataForClass(
|
|
34
|
-
|
|
39
|
+
initMetadataForClass(FlowCliktCommand, 'FlowCliktCommand', VOID, BaseCliktCommand);
|
|
40
|
+
initMetadataForLambda(Mrsc$run$slambda, CoroutineImpl, VOID, [1]);
|
|
41
|
+
initMetadataForClass(Mrsc, 'Mrsc', Mrsc, FlowCliktCommand);
|
|
42
|
+
initMetadataForLambda(WorkingDir$run$slambda, CoroutineImpl, VOID, [1]);
|
|
43
|
+
initMetadataForClass(WorkingDir, 'WorkingDir', WorkingDir, FlowCliktCommand);
|
|
44
|
+
initMetadataForLambda(Auth$run$slambda, CoroutineImpl, VOID, [1]);
|
|
45
|
+
initMetadataForClass(Auth, 'Auth', Auth, FlowCliktCommand);
|
|
46
|
+
initMetadataForLambda(Test$run$slambda, CoroutineImpl, VOID, [1]);
|
|
47
|
+
initMetadataForClass(Test, 'Test', Test, FlowCliktCommand);
|
|
48
|
+
initMetadataForLambda(Prepare$run$slambda, CoroutineImpl, VOID, [1]);
|
|
49
|
+
initMetadataForClass(Prepare, 'Prepare', Prepare, FlowCliktCommand);
|
|
50
|
+
initMetadataForLambda(Export$run$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
51
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
52
|
+
initMetadataForLambda(Export$run$slambda, CoroutineImpl, VOID, [1]);
|
|
53
|
+
initMetadataForClass(Export, 'Export', Export, FlowCliktCommand);
|
|
54
|
+
initMetadataForLambda(Upload$run$slambda$slambda, CoroutineImpl, VOID, [1]);
|
|
55
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
56
|
+
initMetadataForLambda(Upload$run$slambda, CoroutineImpl, VOID, [1]);
|
|
57
|
+
initMetadataForClass(Upload, 'Upload', Upload, FlowCliktCommand);
|
|
58
|
+
initMetadataForLambda(Version$run$slambda, CoroutineImpl, VOID, [1]);
|
|
59
|
+
initMetadataForClass(Version, 'Version', Version, FlowCliktCommand);
|
|
60
|
+
initMetadataForLambda(PullDictionaries$run$slambda, CoroutineImpl, VOID, [1]);
|
|
61
|
+
initMetadataForClass(PullDictionaries, 'PullDictionaries', PullDictionaries, FlowCliktCommand);
|
|
62
|
+
initMetadataForLambda(Migrate$run$slambda, CoroutineImpl, VOID, [1]);
|
|
63
|
+
initMetadataForClass(Migrate, 'Migrate', Migrate, FlowCliktCommand);
|
|
64
|
+
initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_1, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector], [1]);
|
|
65
|
+
initMetadataForLambda(parse$slambda, CoroutineImpl, VOID, [1]);
|
|
66
|
+
initMetadataForLambda(commonMain$slambda, CoroutineImpl, VOID, [1]);
|
|
35
67
|
//endregion
|
|
68
|
+
function FlowCliktCommand(name) {
|
|
69
|
+
name = name === VOID ? null : name;
|
|
70
|
+
BaseCliktCommand.call(this, name);
|
|
71
|
+
}
|
|
72
|
+
function Mrsc$run$slambda(resultContinuation) {
|
|
73
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
74
|
+
}
|
|
75
|
+
protoOf(Mrsc$run$slambda).s7i = function ($this$flow, $completion) {
|
|
76
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
77
|
+
tmp.n9_1 = Unit_instance;
|
|
78
|
+
tmp.o9_1 = null;
|
|
79
|
+
return tmp.t9();
|
|
80
|
+
};
|
|
81
|
+
protoOf(Mrsc$run$slambda).ba = function (p1, $completion) {
|
|
82
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
83
|
+
};
|
|
84
|
+
protoOf(Mrsc$run$slambda).t9 = function () {
|
|
85
|
+
var suspendResult = this.n9_1;
|
|
86
|
+
$sm: do
|
|
87
|
+
try {
|
|
88
|
+
var tmp = this.l9_1;
|
|
89
|
+
if (tmp === 0) {
|
|
90
|
+
this.m9_1 = 1;
|
|
91
|
+
return Unit_instance;
|
|
92
|
+
} else if (tmp === 1) {
|
|
93
|
+
throw this.o9_1;
|
|
94
|
+
}
|
|
95
|
+
} catch ($p) {
|
|
96
|
+
var e = $p;
|
|
97
|
+
throw e;
|
|
98
|
+
}
|
|
99
|
+
while (true);
|
|
100
|
+
};
|
|
101
|
+
protoOf(Mrsc$run$slambda).t7i = function ($this$flow, completion) {
|
|
102
|
+
var i = new Mrsc$run$slambda(completion);
|
|
103
|
+
i.r7i_1 = $this$flow;
|
|
104
|
+
return i;
|
|
105
|
+
};
|
|
106
|
+
function Mrsc$run$slambda_0(resultContinuation) {
|
|
107
|
+
var i = new Mrsc$run$slambda(resultContinuation);
|
|
108
|
+
var l = function ($this$flow, $completion) {
|
|
109
|
+
return i.s7i($this$flow, $completion);
|
|
110
|
+
};
|
|
111
|
+
l.$arity = 1;
|
|
112
|
+
return l;
|
|
113
|
+
}
|
|
36
114
|
function Mrsc() {
|
|
37
|
-
|
|
115
|
+
FlowCliktCommand.call(this);
|
|
116
|
+
}
|
|
117
|
+
protoOf(Mrsc).i7i = function () {
|
|
118
|
+
return flow(Mrsc$run$slambda_0(null));
|
|
119
|
+
};
|
|
120
|
+
function WorkingDir$run$slambda(this$0, resultContinuation) {
|
|
121
|
+
this.r7j_1 = this$0;
|
|
122
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
38
123
|
}
|
|
39
|
-
protoOf(
|
|
124
|
+
protoOf(WorkingDir$run$slambda).s7i = function ($this$flow, $completion) {
|
|
125
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
126
|
+
tmp.n9_1 = Unit_instance;
|
|
127
|
+
tmp.o9_1 = null;
|
|
128
|
+
return tmp.t9();
|
|
129
|
+
};
|
|
130
|
+
protoOf(WorkingDir$run$slambda).ba = function (p1, $completion) {
|
|
131
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
132
|
+
};
|
|
133
|
+
protoOf(WorkingDir$run$slambda).t9 = function () {
|
|
134
|
+
var suspendResult = this.n9_1;
|
|
135
|
+
$sm: do
|
|
136
|
+
try {
|
|
137
|
+
var tmp = this.l9_1;
|
|
138
|
+
if (tmp === 0) {
|
|
139
|
+
this.m9_1 = 1;
|
|
140
|
+
CommandExecutor_getInstance().p57_1 = this.r7j_1.j7k();
|
|
141
|
+
return Unit_instance;
|
|
142
|
+
} else if (tmp === 1) {
|
|
143
|
+
throw this.o9_1;
|
|
144
|
+
}
|
|
145
|
+
} catch ($p) {
|
|
146
|
+
var e = $p;
|
|
147
|
+
throw e;
|
|
148
|
+
}
|
|
149
|
+
while (true);
|
|
150
|
+
};
|
|
151
|
+
protoOf(WorkingDir$run$slambda).t7i = function ($this$flow, completion) {
|
|
152
|
+
var i = new WorkingDir$run$slambda(this.r7j_1, completion);
|
|
153
|
+
i.s7j_1 = $this$flow;
|
|
154
|
+
return i;
|
|
40
155
|
};
|
|
156
|
+
function WorkingDir$run$slambda_0(this$0, resultContinuation) {
|
|
157
|
+
var i = new WorkingDir$run$slambda(this$0, resultContinuation);
|
|
158
|
+
var l = function ($this$flow, $completion) {
|
|
159
|
+
return i.s7i($this$flow, $completion);
|
|
160
|
+
};
|
|
161
|
+
l.$arity = 1;
|
|
162
|
+
return l;
|
|
163
|
+
}
|
|
41
164
|
function WorkingDir() {
|
|
42
|
-
|
|
43
|
-
this.
|
|
165
|
+
FlowCliktCommand.call(this, 'workingdir');
|
|
166
|
+
this.i7k_1 = argument(this).c6z(this, workingDir$factory());
|
|
44
167
|
}
|
|
45
|
-
protoOf(WorkingDir).
|
|
46
|
-
return
|
|
168
|
+
protoOf(WorkingDir).u6p = function (context) {
|
|
169
|
+
return 'Set working directory';
|
|
170
|
+
};
|
|
171
|
+
protoOf(WorkingDir).j7k = function () {
|
|
172
|
+
return this.i7k_1.w6z(this, workingDir$factory_0());
|
|
47
173
|
};
|
|
48
|
-
protoOf(WorkingDir).
|
|
49
|
-
|
|
174
|
+
protoOf(WorkingDir).i7i = function () {
|
|
175
|
+
return flow(WorkingDir$run$slambda_0(this, null));
|
|
50
176
|
};
|
|
51
177
|
function Auth$email$delegate$lambda($this$copy, it) {
|
|
52
178
|
if (!(it == null)) {
|
|
@@ -56,7 +182,7 @@
|
|
|
56
182
|
if (!(charSequenceLength(it) > 0)) {
|
|
57
183
|
// Inline function 'Auth.email$delegate.<anonymous>.<anonymous>' call
|
|
58
184
|
var tmp$ret$1 = "Email can't be empty!";
|
|
59
|
-
$this$copy.
|
|
185
|
+
$this$copy.f6z(tmp$ret$1);
|
|
60
186
|
}
|
|
61
187
|
}
|
|
62
188
|
return Unit_instance;
|
|
@@ -69,229 +195,978 @@
|
|
|
69
195
|
if (!(charSequenceLength(it) > 0)) {
|
|
70
196
|
// Inline function 'Auth.password$delegate.<anonymous>.<anonymous>' call
|
|
71
197
|
var tmp$ret$1 = "Password can't be empty!";
|
|
72
|
-
$this$copy.
|
|
198
|
+
$this$copy.f6z(tmp$ret$1);
|
|
73
199
|
}
|
|
74
200
|
}
|
|
75
201
|
return Unit_instance;
|
|
76
202
|
}
|
|
203
|
+
function Auth$run$slambda(this$0, resultContinuation) {
|
|
204
|
+
this.s7k_1 = this$0;
|
|
205
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
206
|
+
}
|
|
207
|
+
protoOf(Auth$run$slambda).s7i = function ($this$flow, $completion) {
|
|
208
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
209
|
+
tmp.n9_1 = Unit_instance;
|
|
210
|
+
tmp.o9_1 = null;
|
|
211
|
+
return tmp.t9();
|
|
212
|
+
};
|
|
213
|
+
protoOf(Auth$run$slambda).ba = function (p1, $completion) {
|
|
214
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
215
|
+
};
|
|
216
|
+
protoOf(Auth$run$slambda).t9 = function () {
|
|
217
|
+
var suspendResult = this.n9_1;
|
|
218
|
+
$sm: do
|
|
219
|
+
try {
|
|
220
|
+
var tmp = this.l9_1;
|
|
221
|
+
switch (tmp) {
|
|
222
|
+
case 0:
|
|
223
|
+
this.m9_1 = 2;
|
|
224
|
+
this.l9_1 = 1;
|
|
225
|
+
suspendResult = CommandExecutor_getInstance().f5a(this.s7k_1.n3v(), this.s7k_1.v28(), this.s7k_1.f3p(), this.s7k_1.y44()).nr(this);
|
|
226
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
227
|
+
return suspendResult;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
continue $sm;
|
|
231
|
+
case 1:
|
|
232
|
+
return Unit_instance;
|
|
233
|
+
case 2:
|
|
234
|
+
throw this.o9_1;
|
|
235
|
+
}
|
|
236
|
+
} catch ($p) {
|
|
237
|
+
var e = $p;
|
|
238
|
+
if (this.m9_1 === 2) {
|
|
239
|
+
throw e;
|
|
240
|
+
} else {
|
|
241
|
+
this.l9_1 = this.m9_1;
|
|
242
|
+
this.o9_1 = e;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
while (true);
|
|
246
|
+
};
|
|
247
|
+
protoOf(Auth$run$slambda).t7i = function ($this$flow, completion) {
|
|
248
|
+
var i = new Auth$run$slambda(this.s7k_1, completion);
|
|
249
|
+
i.t7k_1 = $this$flow;
|
|
250
|
+
return i;
|
|
251
|
+
};
|
|
252
|
+
function Auth$run$slambda_0(this$0, resultContinuation) {
|
|
253
|
+
var i = new Auth$run$slambda(this$0, resultContinuation);
|
|
254
|
+
var l = function ($this$flow, $completion) {
|
|
255
|
+
return i.s7i($this$flow, $completion);
|
|
256
|
+
};
|
|
257
|
+
l.$arity = 1;
|
|
258
|
+
return l;
|
|
259
|
+
}
|
|
77
260
|
function Auth() {
|
|
78
|
-
|
|
261
|
+
FlowCliktCommand.call(this, 'auth');
|
|
79
262
|
var tmp = this;
|
|
80
263
|
// Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
|
|
81
264
|
var this_0 = prompt(option(this, ['-e', '--email'], 'Email for log in'));
|
|
82
|
-
var tmp_0 = this_0.
|
|
83
|
-
var tmp_1 = this_0.
|
|
84
|
-
var tmp_2 = this_0.
|
|
85
|
-
tmp.
|
|
265
|
+
var tmp_0 = this_0.x6y();
|
|
266
|
+
var tmp_1 = this_0.z6z();
|
|
267
|
+
var tmp_2 = this_0.y6y();
|
|
268
|
+
tmp.j7l_1 = this_0.a70(tmp_0, tmp_1, tmp_2, Auth$email$delegate$lambda).g70(this, email$factory());
|
|
86
269
|
var tmp_3 = this;
|
|
87
270
|
// Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
|
|
88
271
|
var this_1 = prompt(option(this, ['-p', '--password'], 'Password for log in'));
|
|
89
|
-
var tmp_4 = this_1.
|
|
90
|
-
var tmp_5 = this_1.
|
|
91
|
-
var tmp_6 = this_1.
|
|
92
|
-
tmp_3.
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
272
|
+
var tmp_4 = this_1.x6y();
|
|
273
|
+
var tmp_5 = this_1.z6z();
|
|
274
|
+
var tmp_6 = this_1.y6y();
|
|
275
|
+
tmp_3.k7l_1 = this_1.a70(tmp_4, tmp_5, tmp_6, Auth$password$delegate$lambda).g70(this, password$factory());
|
|
276
|
+
this.l7l_1 = optional(argument(this, VOID, 'Url to strapi server')).c6z(this, url$factory());
|
|
277
|
+
this.m7l_1 = option(this, ['-c', '--config'], 'Config file name').g70(this, config$factory());
|
|
95
278
|
}
|
|
96
|
-
protoOf(Auth).
|
|
97
|
-
return
|
|
279
|
+
protoOf(Auth).u6p = function (context) {
|
|
280
|
+
return 'Auth to directus';
|
|
281
|
+
};
|
|
282
|
+
protoOf(Auth).n3v = function () {
|
|
283
|
+
return this.j7l_1.w6z(this, email$factory_0());
|
|
98
284
|
};
|
|
99
|
-
protoOf(Auth).
|
|
100
|
-
return this.
|
|
285
|
+
protoOf(Auth).v28 = function () {
|
|
286
|
+
return this.k7l_1.w6z(this, password$factory_0());
|
|
101
287
|
};
|
|
102
|
-
protoOf(Auth).
|
|
103
|
-
return this.
|
|
288
|
+
protoOf(Auth).f3p = function () {
|
|
289
|
+
return this.l7l_1.w6z(this, url$factory_0());
|
|
104
290
|
};
|
|
105
|
-
protoOf(Auth).
|
|
106
|
-
return this.
|
|
291
|
+
protoOf(Auth).y44 = function () {
|
|
292
|
+
return this.m7l_1.w6z(this, config$factory_0());
|
|
107
293
|
};
|
|
108
|
-
protoOf(Auth).
|
|
109
|
-
|
|
294
|
+
protoOf(Auth).i7i = function () {
|
|
295
|
+
return flow(Auth$run$slambda_0(this, null));
|
|
110
296
|
};
|
|
297
|
+
function Test$run$slambda(this$0, resultContinuation) {
|
|
298
|
+
this.v7l_1 = this$0;
|
|
299
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
300
|
+
}
|
|
301
|
+
protoOf(Test$run$slambda).s7i = function ($this$flow, $completion) {
|
|
302
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
303
|
+
tmp.n9_1 = Unit_instance;
|
|
304
|
+
tmp.o9_1 = null;
|
|
305
|
+
return tmp.t9();
|
|
306
|
+
};
|
|
307
|
+
protoOf(Test$run$slambda).ba = function (p1, $completion) {
|
|
308
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
309
|
+
};
|
|
310
|
+
protoOf(Test$run$slambda).t9 = function () {
|
|
311
|
+
var suspendResult = this.n9_1;
|
|
312
|
+
$sm: do
|
|
313
|
+
try {
|
|
314
|
+
var tmp = this.l9_1;
|
|
315
|
+
switch (tmp) {
|
|
316
|
+
case 0:
|
|
317
|
+
this.m9_1 = 2;
|
|
318
|
+
this.l9_1 = 1;
|
|
319
|
+
suspendResult = CommandExecutor_getInstance().g5a(this.v7l_1.y44()).nr(this);
|
|
320
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
321
|
+
return suspendResult;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
continue $sm;
|
|
325
|
+
case 1:
|
|
326
|
+
return Unit_instance;
|
|
327
|
+
case 2:
|
|
328
|
+
throw this.o9_1;
|
|
329
|
+
}
|
|
330
|
+
} catch ($p) {
|
|
331
|
+
var e = $p;
|
|
332
|
+
if (this.m9_1 === 2) {
|
|
333
|
+
throw e;
|
|
334
|
+
} else {
|
|
335
|
+
this.l9_1 = this.m9_1;
|
|
336
|
+
this.o9_1 = e;
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
while (true);
|
|
340
|
+
};
|
|
341
|
+
protoOf(Test$run$slambda).t7i = function ($this$flow, completion) {
|
|
342
|
+
var i = new Test$run$slambda(this.v7l_1, completion);
|
|
343
|
+
i.w7l_1 = $this$flow;
|
|
344
|
+
return i;
|
|
345
|
+
};
|
|
346
|
+
function Test$run$slambda_0(this$0, resultContinuation) {
|
|
347
|
+
var i = new Test$run$slambda(this$0, resultContinuation);
|
|
348
|
+
var l = function ($this$flow, $completion) {
|
|
349
|
+
return i.s7i($this$flow, $completion);
|
|
350
|
+
};
|
|
351
|
+
l.$arity = 1;
|
|
352
|
+
return l;
|
|
353
|
+
}
|
|
111
354
|
function Test() {
|
|
112
|
-
|
|
113
|
-
this.
|
|
355
|
+
FlowCliktCommand.call(this, 'test');
|
|
356
|
+
this.m7m_1 = option(this, ['-c', '--config'], 'Config file name').g70(this, config$factory_1());
|
|
357
|
+
}
|
|
358
|
+
protoOf(Test).u6p = function (context) {
|
|
359
|
+
return 'Test hooks';
|
|
360
|
+
};
|
|
361
|
+
protoOf(Test).y44 = function () {
|
|
362
|
+
return this.m7m_1.w6z(this, config$factory_2());
|
|
363
|
+
};
|
|
364
|
+
protoOf(Test).i7i = function () {
|
|
365
|
+
return flow(Test$run$slambda_0(this, null));
|
|
366
|
+
};
|
|
367
|
+
function Prepare$run$slambda(this$0, resultContinuation) {
|
|
368
|
+
this.v7m_1 = this$0;
|
|
369
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
114
370
|
}
|
|
115
|
-
protoOf(
|
|
116
|
-
|
|
371
|
+
protoOf(Prepare$run$slambda).s7i = function ($this$flow, $completion) {
|
|
372
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
373
|
+
tmp.n9_1 = Unit_instance;
|
|
374
|
+
tmp.o9_1 = null;
|
|
375
|
+
return tmp.t9();
|
|
376
|
+
};
|
|
377
|
+
protoOf(Prepare$run$slambda).ba = function (p1, $completion) {
|
|
378
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
379
|
+
};
|
|
380
|
+
protoOf(Prepare$run$slambda).t9 = function () {
|
|
381
|
+
var suspendResult = this.n9_1;
|
|
382
|
+
$sm: do
|
|
383
|
+
try {
|
|
384
|
+
var tmp = this.l9_1;
|
|
385
|
+
if (tmp === 0) {
|
|
386
|
+
this.m9_1 = 1;
|
|
387
|
+
CommandExecutor_getInstance().h5a(this.v7m_1.y44());
|
|
388
|
+
return Unit_instance;
|
|
389
|
+
} else if (tmp === 1) {
|
|
390
|
+
throw this.o9_1;
|
|
391
|
+
}
|
|
392
|
+
} catch ($p) {
|
|
393
|
+
var e = $p;
|
|
394
|
+
throw e;
|
|
395
|
+
}
|
|
396
|
+
while (true);
|
|
117
397
|
};
|
|
118
|
-
protoOf(
|
|
119
|
-
|
|
398
|
+
protoOf(Prepare$run$slambda).t7i = function ($this$flow, completion) {
|
|
399
|
+
var i = new Prepare$run$slambda(this.v7m_1, completion);
|
|
400
|
+
i.w7m_1 = $this$flow;
|
|
401
|
+
return i;
|
|
120
402
|
};
|
|
403
|
+
function Prepare$run$slambda_0(this$0, resultContinuation) {
|
|
404
|
+
var i = new Prepare$run$slambda(this$0, resultContinuation);
|
|
405
|
+
var l = function ($this$flow, $completion) {
|
|
406
|
+
return i.s7i($this$flow, $completion);
|
|
407
|
+
};
|
|
408
|
+
l.$arity = 1;
|
|
409
|
+
return l;
|
|
410
|
+
}
|
|
121
411
|
function Prepare() {
|
|
122
|
-
|
|
123
|
-
this.
|
|
412
|
+
FlowCliktCommand.call(this, 'prepare');
|
|
413
|
+
this.m7n_1 = option(this, ['-c', '--config'], 'Config file name').g70(this, config$factory_3());
|
|
414
|
+
}
|
|
415
|
+
protoOf(Prepare).u6p = function (context) {
|
|
416
|
+
return 'Prepare workspace';
|
|
417
|
+
};
|
|
418
|
+
protoOf(Prepare).y44 = function () {
|
|
419
|
+
return this.m7n_1.w6z(this, config$factory_4());
|
|
420
|
+
};
|
|
421
|
+
protoOf(Prepare).i7i = function () {
|
|
422
|
+
return flow(Prepare$run$slambda_0(this, null));
|
|
423
|
+
};
|
|
424
|
+
function Export$run$slambda$slambda(resultContinuation) {
|
|
425
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
426
|
+
}
|
|
427
|
+
protoOf(Export$run$slambda$slambda).u5i = function (it, $completion) {
|
|
428
|
+
var tmp = this.v5i(it, $completion);
|
|
429
|
+
tmp.n9_1 = Unit_instance;
|
|
430
|
+
tmp.o9_1 = null;
|
|
431
|
+
return tmp.t9();
|
|
432
|
+
};
|
|
433
|
+
protoOf(Export$run$slambda$slambda).ba = function (p1, $completion) {
|
|
434
|
+
return this.u5i(p1 instanceof LoggerMessage ? p1 : THROW_CCE(), $completion);
|
|
435
|
+
};
|
|
436
|
+
protoOf(Export$run$slambda$slambda).t9 = function () {
|
|
437
|
+
var suspendResult = this.n9_1;
|
|
438
|
+
$sm: do
|
|
439
|
+
try {
|
|
440
|
+
var tmp = this.l9_1;
|
|
441
|
+
if (tmp === 0) {
|
|
442
|
+
this.m9_1 = 1;
|
|
443
|
+
return Unit_instance;
|
|
444
|
+
} else if (tmp === 1) {
|
|
445
|
+
throw this.o9_1;
|
|
446
|
+
}
|
|
447
|
+
} catch ($p) {
|
|
448
|
+
var e = $p;
|
|
449
|
+
throw e;
|
|
450
|
+
}
|
|
451
|
+
while (true);
|
|
452
|
+
};
|
|
453
|
+
protoOf(Export$run$slambda$slambda).v5i = function (it, completion) {
|
|
454
|
+
var i = new Export$run$slambda$slambda(completion);
|
|
455
|
+
i.v7n_1 = it;
|
|
456
|
+
return i;
|
|
457
|
+
};
|
|
458
|
+
function Export$run$slambda$slambda_0(resultContinuation) {
|
|
459
|
+
var i = new Export$run$slambda$slambda(resultContinuation);
|
|
460
|
+
var l = function (it, $completion) {
|
|
461
|
+
return i.u5i(it, $completion);
|
|
462
|
+
};
|
|
463
|
+
l.$arity = 1;
|
|
464
|
+
return l;
|
|
465
|
+
}
|
|
466
|
+
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
467
|
+
this.w7n_1 = function_0;
|
|
124
468
|
}
|
|
125
|
-
protoOf(
|
|
126
|
-
return this.
|
|
469
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o16 = function (value, $completion) {
|
|
470
|
+
return this.w7n_1(value, $completion);
|
|
127
471
|
};
|
|
128
|
-
|
|
129
|
-
|
|
472
|
+
function Export$run$slambda(this$0, resultContinuation) {
|
|
473
|
+
this.f7o_1 = this$0;
|
|
474
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
475
|
+
}
|
|
476
|
+
protoOf(Export$run$slambda).s7i = function ($this$flow, $completion) {
|
|
477
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
478
|
+
tmp.n9_1 = Unit_instance;
|
|
479
|
+
tmp.o9_1 = null;
|
|
480
|
+
return tmp.t9();
|
|
481
|
+
};
|
|
482
|
+
protoOf(Export$run$slambda).ba = function (p1, $completion) {
|
|
483
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
484
|
+
};
|
|
485
|
+
protoOf(Export$run$slambda).t9 = function () {
|
|
486
|
+
var suspendResult = this.n9_1;
|
|
487
|
+
$sm: do
|
|
488
|
+
try {
|
|
489
|
+
var tmp = this.l9_1;
|
|
490
|
+
switch (tmp) {
|
|
491
|
+
case 0:
|
|
492
|
+
this.m9_1 = 3;
|
|
493
|
+
this.l9_1 = 1;
|
|
494
|
+
var tmp_0 = CommandExecutor_getInstance();
|
|
495
|
+
var tmp0_elvis_lhs = this.f7o_1.r3r();
|
|
496
|
+
suspendResult = tmp_0.m5a(tmp0_elvis_lhs == null ? '0.0.0' : tmp0_elvis_lhs, this);
|
|
497
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
498
|
+
return suspendResult;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
continue $sm;
|
|
502
|
+
case 1:
|
|
503
|
+
this.h7o_1 = suspendResult;
|
|
504
|
+
this.l9_1 = 2;
|
|
505
|
+
var tmp_1 = Export$run$slambda$slambda_0(null);
|
|
506
|
+
suspendResult = this.h7o_1.x15(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
507
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
508
|
+
return suspendResult;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
continue $sm;
|
|
512
|
+
case 2:
|
|
513
|
+
return Unit_instance;
|
|
514
|
+
case 3:
|
|
515
|
+
throw this.o9_1;
|
|
516
|
+
}
|
|
517
|
+
} catch ($p) {
|
|
518
|
+
var e = $p;
|
|
519
|
+
if (this.m9_1 === 3) {
|
|
520
|
+
throw e;
|
|
521
|
+
} else {
|
|
522
|
+
this.l9_1 = this.m9_1;
|
|
523
|
+
this.o9_1 = e;
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
while (true);
|
|
527
|
+
};
|
|
528
|
+
protoOf(Export$run$slambda).t7i = function ($this$flow, completion) {
|
|
529
|
+
var i = new Export$run$slambda(this.f7o_1, completion);
|
|
530
|
+
i.g7o_1 = $this$flow;
|
|
531
|
+
return i;
|
|
130
532
|
};
|
|
533
|
+
function Export$run$slambda_0(this$0, resultContinuation) {
|
|
534
|
+
var i = new Export$run$slambda(this$0, resultContinuation);
|
|
535
|
+
var l = function ($this$flow, $completion) {
|
|
536
|
+
return i.s7i($this$flow, $completion);
|
|
537
|
+
};
|
|
538
|
+
l.$arity = 1;
|
|
539
|
+
return l;
|
|
540
|
+
}
|
|
131
541
|
function Export() {
|
|
132
|
-
|
|
133
|
-
this.
|
|
542
|
+
FlowCliktCommand.call(this, 'export');
|
|
543
|
+
this.x7o_1 = option(this, ['-v', '--version'], 'Configuration version').g70(this, version$factory());
|
|
544
|
+
}
|
|
545
|
+
protoOf(Export).u6p = function (context) {
|
|
546
|
+
return 'Create export config for s3';
|
|
547
|
+
};
|
|
548
|
+
protoOf(Export).r3r = function () {
|
|
549
|
+
return this.x7o_1.w6z(this, version$factory_0());
|
|
550
|
+
};
|
|
551
|
+
protoOf(Export).i7i = function () {
|
|
552
|
+
return flow(Export$run$slambda_0(this, null));
|
|
553
|
+
};
|
|
554
|
+
function Upload$run$slambda$slambda(resultContinuation) {
|
|
555
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
134
556
|
}
|
|
135
|
-
protoOf(
|
|
136
|
-
|
|
557
|
+
protoOf(Upload$run$slambda$slambda).u5i = function (it, $completion) {
|
|
558
|
+
var tmp = this.v5i(it, $completion);
|
|
559
|
+
tmp.n9_1 = Unit_instance;
|
|
560
|
+
tmp.o9_1 = null;
|
|
561
|
+
return tmp.t9();
|
|
562
|
+
};
|
|
563
|
+
protoOf(Upload$run$slambda$slambda).ba = function (p1, $completion) {
|
|
564
|
+
return this.u5i(p1 instanceof LoggerMessage ? p1 : THROW_CCE(), $completion);
|
|
565
|
+
};
|
|
566
|
+
protoOf(Upload$run$slambda$slambda).t9 = function () {
|
|
567
|
+
var suspendResult = this.n9_1;
|
|
568
|
+
$sm: do
|
|
569
|
+
try {
|
|
570
|
+
var tmp = this.l9_1;
|
|
571
|
+
if (tmp === 0) {
|
|
572
|
+
this.m9_1 = 1;
|
|
573
|
+
return Unit_instance;
|
|
574
|
+
} else if (tmp === 1) {
|
|
575
|
+
throw this.o9_1;
|
|
576
|
+
}
|
|
577
|
+
} catch ($p) {
|
|
578
|
+
var e = $p;
|
|
579
|
+
throw e;
|
|
580
|
+
}
|
|
581
|
+
while (true);
|
|
582
|
+
};
|
|
583
|
+
protoOf(Upload$run$slambda$slambda).v5i = function (it, completion) {
|
|
584
|
+
var i = new Upload$run$slambda$slambda(completion);
|
|
585
|
+
i.g7p_1 = it;
|
|
586
|
+
return i;
|
|
137
587
|
};
|
|
138
|
-
|
|
139
|
-
|
|
588
|
+
function Upload$run$slambda$slambda_0(resultContinuation) {
|
|
589
|
+
var i = new Upload$run$slambda$slambda(resultContinuation);
|
|
590
|
+
var l = function (it, $completion) {
|
|
591
|
+
return i.u5i(it, $completion);
|
|
592
|
+
};
|
|
593
|
+
l.$arity = 1;
|
|
594
|
+
return l;
|
|
595
|
+
}
|
|
596
|
+
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
597
|
+
this.h7p_1 = function_0;
|
|
598
|
+
}
|
|
599
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o16 = function (value, $completion) {
|
|
600
|
+
return this.h7p_1(value, $completion);
|
|
140
601
|
};
|
|
602
|
+
function Upload$run$slambda(this$0, resultContinuation) {
|
|
603
|
+
this.q7p_1 = this$0;
|
|
604
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
605
|
+
}
|
|
606
|
+
protoOf(Upload$run$slambda).s7i = function ($this$flow, $completion) {
|
|
607
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
608
|
+
tmp.n9_1 = Unit_instance;
|
|
609
|
+
tmp.o9_1 = null;
|
|
610
|
+
return tmp.t9();
|
|
611
|
+
};
|
|
612
|
+
protoOf(Upload$run$slambda).ba = function (p1, $completion) {
|
|
613
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
614
|
+
};
|
|
615
|
+
protoOf(Upload$run$slambda).t9 = function () {
|
|
616
|
+
var suspendResult = this.n9_1;
|
|
617
|
+
$sm: do
|
|
618
|
+
try {
|
|
619
|
+
var tmp = this.l9_1;
|
|
620
|
+
switch (tmp) {
|
|
621
|
+
case 0:
|
|
622
|
+
this.m9_1 = 2;
|
|
623
|
+
this.s7p_1 = CommandExecutor_getInstance().k5a(this.q7p_1.j7q());
|
|
624
|
+
this.l9_1 = 1;
|
|
625
|
+
var tmp_0 = Upload$run$slambda$slambda_0(null);
|
|
626
|
+
suspendResult = this.s7p_1.x15(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
627
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
628
|
+
return suspendResult;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
continue $sm;
|
|
632
|
+
case 1:
|
|
633
|
+
return Unit_instance;
|
|
634
|
+
case 2:
|
|
635
|
+
throw this.o9_1;
|
|
636
|
+
}
|
|
637
|
+
} catch ($p) {
|
|
638
|
+
var e = $p;
|
|
639
|
+
if (this.m9_1 === 2) {
|
|
640
|
+
throw e;
|
|
641
|
+
} else {
|
|
642
|
+
this.l9_1 = this.m9_1;
|
|
643
|
+
this.o9_1 = e;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
while (true);
|
|
647
|
+
};
|
|
648
|
+
protoOf(Upload$run$slambda).t7i = function ($this$flow, completion) {
|
|
649
|
+
var i = new Upload$run$slambda(this.q7p_1, completion);
|
|
650
|
+
i.r7p_1 = $this$flow;
|
|
651
|
+
return i;
|
|
652
|
+
};
|
|
653
|
+
function Upload$run$slambda_0(this$0, resultContinuation) {
|
|
654
|
+
var i = new Upload$run$slambda(this$0, resultContinuation);
|
|
655
|
+
var l = function ($this$flow, $completion) {
|
|
656
|
+
return i.s7i($this$flow, $completion);
|
|
657
|
+
};
|
|
658
|
+
l.$arity = 1;
|
|
659
|
+
return l;
|
|
660
|
+
}
|
|
141
661
|
function Upload() {
|
|
142
|
-
|
|
143
|
-
this.
|
|
662
|
+
FlowCliktCommand.call(this, 'upload');
|
|
663
|
+
this.i7q_1 = option(this, ['-c', '--config'], 'Configuration file name').g70(this, configFileName$factory());
|
|
664
|
+
}
|
|
665
|
+
protoOf(Upload).u6p = function (context) {
|
|
666
|
+
return 'Upload config to s3';
|
|
667
|
+
};
|
|
668
|
+
protoOf(Upload).j7q = function () {
|
|
669
|
+
return this.i7q_1.w6z(this, configFileName$factory_0());
|
|
670
|
+
};
|
|
671
|
+
protoOf(Upload).i7i = function () {
|
|
672
|
+
return flow(Upload$run$slambda_0(this, null));
|
|
673
|
+
};
|
|
674
|
+
function Version$run$slambda(resultContinuation) {
|
|
675
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
144
676
|
}
|
|
145
|
-
protoOf(
|
|
146
|
-
|
|
677
|
+
protoOf(Version$run$slambda).s7i = function ($this$flow, $completion) {
|
|
678
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
679
|
+
tmp.n9_1 = Unit_instance;
|
|
680
|
+
tmp.o9_1 = null;
|
|
681
|
+
return tmp.t9();
|
|
682
|
+
};
|
|
683
|
+
protoOf(Version$run$slambda).ba = function (p1, $completion) {
|
|
684
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
685
|
+
};
|
|
686
|
+
protoOf(Version$run$slambda).t9 = function () {
|
|
687
|
+
var suspendResult = this.n9_1;
|
|
688
|
+
$sm: do
|
|
689
|
+
try {
|
|
690
|
+
var tmp = this.l9_1;
|
|
691
|
+
switch (tmp) {
|
|
692
|
+
case 0:
|
|
693
|
+
this.m9_1 = 2;
|
|
694
|
+
this.l9_1 = 1;
|
|
695
|
+
suspendResult = this.s7q_1.o16('Version is 0.0.1', this);
|
|
696
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
697
|
+
return suspendResult;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
continue $sm;
|
|
701
|
+
case 1:
|
|
702
|
+
return Unit_instance;
|
|
703
|
+
case 2:
|
|
704
|
+
throw this.o9_1;
|
|
705
|
+
}
|
|
706
|
+
} catch ($p) {
|
|
707
|
+
var e = $p;
|
|
708
|
+
if (this.m9_1 === 2) {
|
|
709
|
+
throw e;
|
|
710
|
+
} else {
|
|
711
|
+
this.l9_1 = this.m9_1;
|
|
712
|
+
this.o9_1 = e;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
while (true);
|
|
147
716
|
};
|
|
148
|
-
protoOf(
|
|
149
|
-
|
|
717
|
+
protoOf(Version$run$slambda).t7i = function ($this$flow, completion) {
|
|
718
|
+
var i = new Version$run$slambda(completion);
|
|
719
|
+
i.s7q_1 = $this$flow;
|
|
720
|
+
return i;
|
|
150
721
|
};
|
|
722
|
+
function Version$run$slambda_0(resultContinuation) {
|
|
723
|
+
var i = new Version$run$slambda(resultContinuation);
|
|
724
|
+
var l = function ($this$flow, $completion) {
|
|
725
|
+
return i.s7i($this$flow, $completion);
|
|
726
|
+
};
|
|
727
|
+
l.$arity = 1;
|
|
728
|
+
return l;
|
|
729
|
+
}
|
|
151
730
|
function Version() {
|
|
152
|
-
|
|
731
|
+
FlowCliktCommand.call(this, 'version');
|
|
732
|
+
}
|
|
733
|
+
protoOf(Version).u6p = function (context) {
|
|
734
|
+
return 'Get toolbox version';
|
|
735
|
+
};
|
|
736
|
+
protoOf(Version).i7i = function () {
|
|
737
|
+
return flow(Version$run$slambda_0(null));
|
|
738
|
+
};
|
|
739
|
+
function PullDictionaries$run$slambda(this$0, resultContinuation) {
|
|
740
|
+
this.q7r_1 = this$0;
|
|
741
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
153
742
|
}
|
|
154
|
-
protoOf(
|
|
155
|
-
|
|
743
|
+
protoOf(PullDictionaries$run$slambda).s7i = function ($this$flow, $completion) {
|
|
744
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
745
|
+
tmp.n9_1 = Unit_instance;
|
|
746
|
+
tmp.o9_1 = null;
|
|
747
|
+
return tmp.t9();
|
|
748
|
+
};
|
|
749
|
+
protoOf(PullDictionaries$run$slambda).ba = function (p1, $completion) {
|
|
750
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
751
|
+
};
|
|
752
|
+
protoOf(PullDictionaries$run$slambda).t9 = function () {
|
|
753
|
+
var suspendResult = this.n9_1;
|
|
754
|
+
$sm: do
|
|
755
|
+
try {
|
|
756
|
+
var tmp = this.l9_1;
|
|
757
|
+
switch (tmp) {
|
|
758
|
+
case 0:
|
|
759
|
+
this.m9_1 = 2;
|
|
760
|
+
this.l9_1 = 1;
|
|
761
|
+
suspendResult = CommandExecutor_getInstance().l5a(this.q7r_1.y44()).nr(this);
|
|
762
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
763
|
+
return suspendResult;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
continue $sm;
|
|
767
|
+
case 1:
|
|
768
|
+
return Unit_instance;
|
|
769
|
+
case 2:
|
|
770
|
+
throw this.o9_1;
|
|
771
|
+
}
|
|
772
|
+
} catch ($p) {
|
|
773
|
+
var e = $p;
|
|
774
|
+
if (this.m9_1 === 2) {
|
|
775
|
+
throw e;
|
|
776
|
+
} else {
|
|
777
|
+
this.l9_1 = this.m9_1;
|
|
778
|
+
this.o9_1 = e;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
while (true);
|
|
782
|
+
};
|
|
783
|
+
protoOf(PullDictionaries$run$slambda).t7i = function ($this$flow, completion) {
|
|
784
|
+
var i = new PullDictionaries$run$slambda(this.q7r_1, completion);
|
|
785
|
+
i.r7r_1 = $this$flow;
|
|
786
|
+
return i;
|
|
156
787
|
};
|
|
788
|
+
function PullDictionaries$run$slambda_0(this$0, resultContinuation) {
|
|
789
|
+
var i = new PullDictionaries$run$slambda(this$0, resultContinuation);
|
|
790
|
+
var l = function ($this$flow, $completion) {
|
|
791
|
+
return i.s7i($this$flow, $completion);
|
|
792
|
+
};
|
|
793
|
+
l.$arity = 1;
|
|
794
|
+
return l;
|
|
795
|
+
}
|
|
157
796
|
function PullDictionaries() {
|
|
158
|
-
|
|
159
|
-
this.
|
|
797
|
+
FlowCliktCommand.call(this, 'pull-dictionaries');
|
|
798
|
+
this.h7s_1 = option(this, ['-c', '--config'], 'Config file name').g70(this, config$factory_5());
|
|
799
|
+
}
|
|
800
|
+
protoOf(PullDictionaries).u6p = function (context) {
|
|
801
|
+
return 'Pull dictionaries from Directus';
|
|
802
|
+
};
|
|
803
|
+
protoOf(PullDictionaries).y44 = function () {
|
|
804
|
+
return this.h7s_1.w6z(this, config$factory_6());
|
|
805
|
+
};
|
|
806
|
+
protoOf(PullDictionaries).i7i = function () {
|
|
807
|
+
return flow(PullDictionaries$run$slambda_0(this, null));
|
|
808
|
+
};
|
|
809
|
+
function Migrate$run$slambda(resultContinuation) {
|
|
810
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
160
811
|
}
|
|
161
|
-
protoOf(
|
|
162
|
-
|
|
812
|
+
protoOf(Migrate$run$slambda).s7i = function ($this$flow, $completion) {
|
|
813
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
814
|
+
tmp.n9_1 = Unit_instance;
|
|
815
|
+
tmp.o9_1 = null;
|
|
816
|
+
return tmp.t9();
|
|
817
|
+
};
|
|
818
|
+
protoOf(Migrate$run$slambda).ba = function (p1, $completion) {
|
|
819
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
820
|
+
};
|
|
821
|
+
protoOf(Migrate$run$slambda).t9 = function () {
|
|
822
|
+
var suspendResult = this.n9_1;
|
|
823
|
+
$sm: do
|
|
824
|
+
try {
|
|
825
|
+
var tmp = this.l9_1;
|
|
826
|
+
switch (tmp) {
|
|
827
|
+
case 0:
|
|
828
|
+
this.m9_1 = 2;
|
|
829
|
+
this.l9_1 = 1;
|
|
830
|
+
suspendResult = CommandExecutor_getInstance().p5a().nr(this);
|
|
831
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
832
|
+
return suspendResult;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
continue $sm;
|
|
836
|
+
case 1:
|
|
837
|
+
return Unit_instance;
|
|
838
|
+
case 2:
|
|
839
|
+
throw this.o9_1;
|
|
840
|
+
}
|
|
841
|
+
} catch ($p) {
|
|
842
|
+
var e = $p;
|
|
843
|
+
if (this.m9_1 === 2) {
|
|
844
|
+
throw e;
|
|
845
|
+
} else {
|
|
846
|
+
this.l9_1 = this.m9_1;
|
|
847
|
+
this.o9_1 = e;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
while (true);
|
|
163
851
|
};
|
|
164
|
-
protoOf(
|
|
165
|
-
|
|
852
|
+
protoOf(Migrate$run$slambda).t7i = function ($this$flow, completion) {
|
|
853
|
+
var i = new Migrate$run$slambda(completion);
|
|
854
|
+
i.q7s_1 = $this$flow;
|
|
855
|
+
return i;
|
|
166
856
|
};
|
|
167
|
-
function
|
|
168
|
-
|
|
857
|
+
function Migrate$run$slambda_0(resultContinuation) {
|
|
858
|
+
var i = new Migrate$run$slambda(resultContinuation);
|
|
859
|
+
var l = function ($this$flow, $completion) {
|
|
860
|
+
return i.s7i($this$flow, $completion);
|
|
861
|
+
};
|
|
862
|
+
l.$arity = 1;
|
|
863
|
+
return l;
|
|
169
864
|
}
|
|
170
|
-
|
|
171
|
-
|
|
865
|
+
function Migrate() {
|
|
866
|
+
FlowCliktCommand.call(this, 'migrate');
|
|
867
|
+
}
|
|
868
|
+
protoOf(Migrate).u6p = function (context) {
|
|
869
|
+
return 'Migrate current configuration';
|
|
870
|
+
};
|
|
871
|
+
protoOf(Migrate).i7i = function () {
|
|
872
|
+
return flow(Migrate$run$slambda_0(null));
|
|
172
873
|
};
|
|
874
|
+
function parse(_this__u8e3s4, argv) {
|
|
875
|
+
// Inline function 'kotlin.collections.mutableListOf' call
|
|
876
|
+
var flows = ArrayList_init_$Create$();
|
|
877
|
+
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.parseAndRun' call
|
|
878
|
+
var argv_0 = asList(argv);
|
|
879
|
+
var result = CommandLineParser_instance.u71(_this__u8e3s4, argv_0);
|
|
880
|
+
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.run' call
|
|
881
|
+
var rootInvocation = result.y71_1;
|
|
882
|
+
$l$block: {
|
|
883
|
+
// Inline function 'kotlin.use' call
|
|
884
|
+
var this_0 = flatten(rootInvocation);
|
|
885
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
886
|
+
var exception = null;
|
|
887
|
+
try {
|
|
888
|
+
var _iterator__ex2g4s = this_0.k();
|
|
889
|
+
while (_iterator__ex2g4s.l()) {
|
|
890
|
+
var invocation = _iterator__ex2g4s.m();
|
|
891
|
+
// Inline function 'parse.<anonymous>' call
|
|
892
|
+
// Inline function 'kotlin.collections.plusAssign' call
|
|
893
|
+
var element = invocation.p71_1.i7i();
|
|
894
|
+
flows.e(element);
|
|
895
|
+
}
|
|
896
|
+
break $l$block;
|
|
897
|
+
} catch ($p) {
|
|
898
|
+
if ($p instanceof Error) {
|
|
899
|
+
var e = $p;
|
|
900
|
+
exception = e;
|
|
901
|
+
throw e;
|
|
902
|
+
} else {
|
|
903
|
+
throw $p;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
finally {
|
|
907
|
+
closeFinally(this_0, exception);
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
return flow(parse$slambda_0(flows, null));
|
|
911
|
+
}
|
|
912
|
+
function main(_this__u8e3s4, argv) {
|
|
913
|
+
var tmp$ret$1;
|
|
914
|
+
$l$block: {
|
|
915
|
+
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.mainReturningValue' call
|
|
916
|
+
try {
|
|
917
|
+
// Inline function 'main.<anonymous>' call
|
|
918
|
+
tmp$ret$1 = parse(_this__u8e3s4, argv);
|
|
919
|
+
break $l$block;
|
|
920
|
+
} catch ($p) {
|
|
921
|
+
if ($p instanceof CliktError) {
|
|
922
|
+
var e = $p;
|
|
923
|
+
_this__u8e3s4.z6q(e);
|
|
924
|
+
_this__u8e3s4.l6o().f6p_1(e.a6r_1);
|
|
925
|
+
throw new ProgramResult(e.a6r_1);
|
|
926
|
+
} else {
|
|
927
|
+
throw $p;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
return tmp$ret$1;
|
|
932
|
+
}
|
|
933
|
+
function commonMain(argv, $completion) {
|
|
934
|
+
var command = subcommands(new Mrsc(), [new WorkingDir(), new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullDictionaries(), new Migrate()]);
|
|
935
|
+
var resultFlow = main(command, argv);
|
|
936
|
+
var tmp = commonMain$slambda_0(command, null);
|
|
937
|
+
return resultFlow.x15(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp), $completion);
|
|
938
|
+
}
|
|
939
|
+
function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
|
|
940
|
+
this.g7t_1 = function_0;
|
|
941
|
+
}
|
|
942
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).o16 = function (value, $completion) {
|
|
943
|
+
return this.g7t_1(value, $completion);
|
|
944
|
+
};
|
|
945
|
+
function parse$slambda($flows, resultContinuation) {
|
|
946
|
+
this.p7t_1 = $flows;
|
|
947
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
948
|
+
}
|
|
949
|
+
protoOf(parse$slambda).s7i = function ($this$flow, $completion) {
|
|
950
|
+
var tmp = this.t7i($this$flow, $completion);
|
|
951
|
+
tmp.n9_1 = Unit_instance;
|
|
952
|
+
tmp.o9_1 = null;
|
|
953
|
+
return tmp.t9();
|
|
954
|
+
};
|
|
955
|
+
protoOf(parse$slambda).ba = function (p1, $completion) {
|
|
956
|
+
return this.s7i((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
957
|
+
};
|
|
958
|
+
protoOf(parse$slambda).t9 = function () {
|
|
959
|
+
var suspendResult = this.n9_1;
|
|
960
|
+
$sm: do
|
|
961
|
+
try {
|
|
962
|
+
var tmp = this.l9_1;
|
|
963
|
+
switch (tmp) {
|
|
964
|
+
case 0:
|
|
965
|
+
this.m9_1 = 4;
|
|
966
|
+
var tmp_0 = this;
|
|
967
|
+
tmp_0.r7t_1 = this.p7t_1;
|
|
968
|
+
this.s7t_1 = this.r7t_1.k();
|
|
969
|
+
this.l9_1 = 1;
|
|
970
|
+
continue $sm;
|
|
971
|
+
case 1:
|
|
972
|
+
if (!this.s7t_1.l()) {
|
|
973
|
+
this.l9_1 = 3;
|
|
974
|
+
continue $sm;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
this.t7t_1 = this.s7t_1.m();
|
|
978
|
+
var tmp_1 = this;
|
|
979
|
+
tmp_1.u7t_1 = this.t7t_1;
|
|
980
|
+
this.l9_1 = 2;
|
|
981
|
+
suspendResult = emitAll(this.q7t_1, this.u7t_1, this);
|
|
982
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
983
|
+
return suspendResult;
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
continue $sm;
|
|
987
|
+
case 2:
|
|
988
|
+
this.l9_1 = 1;
|
|
989
|
+
continue $sm;
|
|
990
|
+
case 3:
|
|
991
|
+
return Unit_instance;
|
|
992
|
+
case 4:
|
|
993
|
+
throw this.o9_1;
|
|
994
|
+
}
|
|
995
|
+
} catch ($p) {
|
|
996
|
+
var e = $p;
|
|
997
|
+
if (this.m9_1 === 4) {
|
|
998
|
+
throw e;
|
|
999
|
+
} else {
|
|
1000
|
+
this.l9_1 = this.m9_1;
|
|
1001
|
+
this.o9_1 = e;
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
while (true);
|
|
1005
|
+
};
|
|
1006
|
+
protoOf(parse$slambda).t7i = function ($this$flow, completion) {
|
|
1007
|
+
var i = new parse$slambda(this.p7t_1, completion);
|
|
1008
|
+
i.q7t_1 = $this$flow;
|
|
1009
|
+
return i;
|
|
1010
|
+
};
|
|
1011
|
+
function parse$slambda_0($flows, resultContinuation) {
|
|
1012
|
+
var i = new parse$slambda($flows, resultContinuation);
|
|
1013
|
+
var l = function ($this$flow, $completion) {
|
|
1014
|
+
return i.s7i($this$flow, $completion);
|
|
1015
|
+
};
|
|
1016
|
+
l.$arity = 1;
|
|
1017
|
+
return l;
|
|
1018
|
+
}
|
|
1019
|
+
function commonMain$slambda($command, resultContinuation) {
|
|
1020
|
+
this.d7u_1 = $command;
|
|
1021
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1022
|
+
}
|
|
1023
|
+
protoOf(commonMain$slambda).f7u = function (it, $completion) {
|
|
1024
|
+
var tmp = this.g7u(it, $completion);
|
|
1025
|
+
tmp.n9_1 = Unit_instance;
|
|
1026
|
+
tmp.o9_1 = null;
|
|
1027
|
+
return tmp.t9();
|
|
1028
|
+
};
|
|
1029
|
+
protoOf(commonMain$slambda).ba = function (p1, $completion) {
|
|
1030
|
+
return this.f7u((!(p1 == null) ? typeof p1 === 'string' : false) ? p1 : THROW_CCE(), $completion);
|
|
1031
|
+
};
|
|
1032
|
+
protoOf(commonMain$slambda).t9 = function () {
|
|
1033
|
+
var suspendResult = this.n9_1;
|
|
1034
|
+
$sm: do
|
|
1035
|
+
try {
|
|
1036
|
+
var tmp = this.l9_1;
|
|
1037
|
+
if (tmp === 0) {
|
|
1038
|
+
this.m9_1 = 1;
|
|
1039
|
+
this.d7u_1.c6r(this.e7u_1);
|
|
1040
|
+
return Unit_instance;
|
|
1041
|
+
} else if (tmp === 1) {
|
|
1042
|
+
throw this.o9_1;
|
|
1043
|
+
}
|
|
1044
|
+
} catch ($p) {
|
|
1045
|
+
var e = $p;
|
|
1046
|
+
throw e;
|
|
1047
|
+
}
|
|
1048
|
+
while (true);
|
|
1049
|
+
};
|
|
1050
|
+
protoOf(commonMain$slambda).g7u = function (it, completion) {
|
|
1051
|
+
var i = new commonMain$slambda(this.d7u_1, completion);
|
|
1052
|
+
i.e7u_1 = it;
|
|
1053
|
+
return i;
|
|
1054
|
+
};
|
|
1055
|
+
function commonMain$slambda_0($command, resultContinuation) {
|
|
1056
|
+
var i = new commonMain$slambda($command, resultContinuation);
|
|
1057
|
+
var l = function (it, $completion) {
|
|
1058
|
+
return i.f7u(it, $completion);
|
|
1059
|
+
};
|
|
1060
|
+
l.$arity = 1;
|
|
1061
|
+
return l;
|
|
1062
|
+
}
|
|
173
1063
|
function workingDir$factory() {
|
|
174
1064
|
return getPropertyCallableRef('workingDir', 1, KProperty1, function (receiver) {
|
|
175
|
-
return receiver.
|
|
1065
|
+
return receiver.j7k();
|
|
176
1066
|
}, null);
|
|
177
1067
|
}
|
|
178
1068
|
function workingDir$factory_0() {
|
|
179
1069
|
return getPropertyCallableRef('workingDir', 1, KProperty1, function (receiver) {
|
|
180
|
-
return receiver.
|
|
1070
|
+
return receiver.j7k();
|
|
181
1071
|
}, null);
|
|
182
1072
|
}
|
|
183
1073
|
function email$factory() {
|
|
184
1074
|
return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
|
|
185
|
-
return receiver.
|
|
1075
|
+
return receiver.n3v();
|
|
186
1076
|
}, null);
|
|
187
1077
|
}
|
|
188
1078
|
function password$factory() {
|
|
189
1079
|
return getPropertyCallableRef('password', 1, KProperty1, function (receiver) {
|
|
190
|
-
return receiver.
|
|
1080
|
+
return receiver.v28();
|
|
191
1081
|
}, null);
|
|
192
1082
|
}
|
|
193
1083
|
function url$factory() {
|
|
194
1084
|
return getPropertyCallableRef('url', 1, KProperty1, function (receiver) {
|
|
195
|
-
return receiver.
|
|
1085
|
+
return receiver.f3p();
|
|
196
1086
|
}, null);
|
|
197
1087
|
}
|
|
198
1088
|
function config$factory() {
|
|
199
1089
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
200
|
-
return receiver.
|
|
1090
|
+
return receiver.y44();
|
|
201
1091
|
}, null);
|
|
202
1092
|
}
|
|
203
1093
|
function email$factory_0() {
|
|
204
1094
|
return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
|
|
205
|
-
return receiver.
|
|
1095
|
+
return receiver.n3v();
|
|
206
1096
|
}, null);
|
|
207
1097
|
}
|
|
208
1098
|
function password$factory_0() {
|
|
209
1099
|
return getPropertyCallableRef('password', 1, KProperty1, function (receiver) {
|
|
210
|
-
return receiver.
|
|
1100
|
+
return receiver.v28();
|
|
211
1101
|
}, null);
|
|
212
1102
|
}
|
|
213
1103
|
function url$factory_0() {
|
|
214
1104
|
return getPropertyCallableRef('url', 1, KProperty1, function (receiver) {
|
|
215
|
-
return receiver.
|
|
1105
|
+
return receiver.f3p();
|
|
216
1106
|
}, null);
|
|
217
1107
|
}
|
|
218
1108
|
function config$factory_0() {
|
|
219
1109
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
220
|
-
return receiver.
|
|
1110
|
+
return receiver.y44();
|
|
221
1111
|
}, null);
|
|
222
1112
|
}
|
|
223
1113
|
function config$factory_1() {
|
|
224
1114
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
225
|
-
return receiver.
|
|
1115
|
+
return receiver.y44();
|
|
226
1116
|
}, null);
|
|
227
1117
|
}
|
|
228
1118
|
function config$factory_2() {
|
|
229
1119
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
230
|
-
return receiver.
|
|
1120
|
+
return receiver.y44();
|
|
231
1121
|
}, null);
|
|
232
1122
|
}
|
|
233
1123
|
function config$factory_3() {
|
|
234
1124
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
235
|
-
return receiver.
|
|
1125
|
+
return receiver.y44();
|
|
236
1126
|
}, null);
|
|
237
1127
|
}
|
|
238
1128
|
function config$factory_4() {
|
|
239
1129
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
240
|
-
return receiver.
|
|
1130
|
+
return receiver.y44();
|
|
241
1131
|
}, null);
|
|
242
1132
|
}
|
|
243
|
-
function
|
|
244
|
-
return getPropertyCallableRef('
|
|
245
|
-
return receiver.
|
|
1133
|
+
function version$factory() {
|
|
1134
|
+
return getPropertyCallableRef('version', 1, KProperty1, function (receiver) {
|
|
1135
|
+
return receiver.r3r();
|
|
246
1136
|
}, null);
|
|
247
1137
|
}
|
|
248
|
-
function
|
|
249
|
-
return getPropertyCallableRef('
|
|
250
|
-
return receiver.
|
|
1138
|
+
function version$factory_0() {
|
|
1139
|
+
return getPropertyCallableRef('version', 1, KProperty1, function (receiver) {
|
|
1140
|
+
return receiver.r3r();
|
|
251
1141
|
}, null);
|
|
252
1142
|
}
|
|
253
|
-
function
|
|
254
|
-
return getPropertyCallableRef('
|
|
255
|
-
return receiver.
|
|
1143
|
+
function configFileName$factory() {
|
|
1144
|
+
return getPropertyCallableRef('configFileName', 1, KProperty1, function (receiver) {
|
|
1145
|
+
return receiver.j7q();
|
|
256
1146
|
}, null);
|
|
257
1147
|
}
|
|
258
|
-
function
|
|
259
|
-
return getPropertyCallableRef('
|
|
260
|
-
return receiver.
|
|
1148
|
+
function configFileName$factory_0() {
|
|
1149
|
+
return getPropertyCallableRef('configFileName', 1, KProperty1, function (receiver) {
|
|
1150
|
+
return receiver.j7q();
|
|
261
1151
|
}, null);
|
|
262
1152
|
}
|
|
263
|
-
function config$
|
|
1153
|
+
function config$factory_5() {
|
|
264
1154
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
265
|
-
return receiver.
|
|
1155
|
+
return receiver.y44();
|
|
266
1156
|
}, null);
|
|
267
1157
|
}
|
|
268
|
-
function config$
|
|
1158
|
+
function config$factory_6() {
|
|
269
1159
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
270
|
-
return receiver.
|
|
1160
|
+
return receiver.y44();
|
|
271
1161
|
}, null);
|
|
272
1162
|
}
|
|
273
|
-
function
|
|
1163
|
+
function main_0(args, $completion) {
|
|
274
1164
|
var tmp = process.argv.slice(2);
|
|
275
1165
|
var argv = (!(tmp == null) ? isArray(tmp) : false) ? tmp : THROW_CCE();
|
|
276
|
-
|
|
277
|
-
try {
|
|
278
|
-
subcommands(new Mrsc(), [new WorkingDir(), new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullDictionaries(), new Migrator()]).g7u(split(argv[0], [' ']));
|
|
279
|
-
} catch ($p) {
|
|
280
|
-
if ($p instanceof Error) {
|
|
281
|
-
var e = $p;
|
|
282
|
-
var tmp_0 = subcommands(new Mrsc(), [new WorkingDir(), new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullDictionaries(), new Migrator()]);
|
|
283
|
-
// Inline function 'kotlin.arrayOf' call
|
|
284
|
-
// Inline function 'kotlin.js.unsafeCast' call
|
|
285
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
286
|
-
var tmp$ret$2 = ['--help'];
|
|
287
|
-
tmp_0.h7u(tmp$ret$2);
|
|
288
|
-
} else {
|
|
289
|
-
throw $p;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
1166
|
+
return commonMain(argv, $completion);
|
|
292
1167
|
}
|
|
293
1168
|
function mainWrapper() {
|
|
294
|
-
|
|
1169
|
+
main_0([], get_EmptyContinuation());
|
|
295
1170
|
}
|
|
296
1171
|
//region block: exports
|
|
297
1172
|
kotlin_kotlin.$jsExportAll$(_);
|
|
@@ -300,6 +1175,6 @@
|
|
|
300
1175
|
//endregion
|
|
301
1176
|
mainWrapper();
|
|
302
1177
|
return _;
|
|
303
|
-
}(module.exports, require('./clikt-clikt.js'), require('./kotlin-kotlin-stdlib.js'), require('./toolbox.js'), require('./com.mrs.platform.configuration.dto.js')));
|
|
1178
|
+
}(module.exports, require('./clikt-clikt.js'), require('./kotlin-kotlin-stdlib.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./toolbox.js'), require('./clikt-clikt-mordant.js'), require('./com.mrs.platform.configuration.dto.js')));
|
|
304
1179
|
|
|
305
1180
|
//# sourceMappingURL=mrs-toolbox-cli.js.map
|