mrs-toolbox-cli 0.0.83 → 0.0.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clikt-clikt-js-ir.js +985 -985
- package/clikt-clikt-js-ir.js.hash +1 -1
- package/com.mrs.platform.configuration.dto.js +2509 -2300
- package/com.mrs.platform.configuration.dto.js.hash +1 -1
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/com.mrs.platform.configuration.dto.js.map.hash +1 -1
- package/kotlin-logging-js-ir.js +39 -39
- package/kotlin-logging-js-ir.js.hash +1 -1
- package/mrs-toolbox-cli.d.ts +26 -9
- package/mrs-toolbox-cli.d.ts.hash +1 -1
- package/mrs-toolbox-cli.js +68 -68
- package/mrs-toolbox-cli.js.hash +1 -1
- package/package.json +1 -1
- package/toolbox.js +1914 -1914
- package/toolbox.js.hash +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
b0bb83659cf3bf92e9f980711f86a473
|
package/kotlin-logging-js-ir.js
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
function KotlinLogging() {
|
|
33
33
|
KotlinLogging_instance = this;
|
|
34
34
|
}
|
|
35
|
-
protoOf(KotlinLogging).
|
|
35
|
+
protoOf(KotlinLogging).o58 = function (func) {
|
|
36
36
|
var tmp$ret$0;
|
|
37
37
|
$l$block: {
|
|
38
38
|
// Inline function 'io.github.oshai.kotlinlogging.internal.KLoggerNameResolver.name' call
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
}
|
|
53
53
|
tmp$ret$0 = '';
|
|
54
54
|
}
|
|
55
|
-
return this.
|
|
55
|
+
return this.p58(tmp$ret$0);
|
|
56
56
|
};
|
|
57
|
-
protoOf(KotlinLogging).
|
|
57
|
+
protoOf(KotlinLogging).p58 = function (name) {
|
|
58
58
|
var tmp$ret$0;
|
|
59
59
|
// Inline function 'io.github.oshai.kotlinlogging.internal.KLoggerFactory.logger' call
|
|
60
60
|
var tmp0_logger = KLoggerFactory_getInstance();
|
|
@@ -93,20 +93,20 @@
|
|
|
93
93
|
}
|
|
94
94
|
function Level(name, ordinal, levelInt, levelStr) {
|
|
95
95
|
Enum.call(this, name, ordinal);
|
|
96
|
-
this.
|
|
97
|
-
this.
|
|
96
|
+
this.s58_1 = levelInt;
|
|
97
|
+
this.t58_1 = levelStr;
|
|
98
98
|
}
|
|
99
99
|
protoOf(Level).toString = function () {
|
|
100
|
-
return this.
|
|
100
|
+
return this.t58_1;
|
|
101
101
|
};
|
|
102
102
|
function Levels() {
|
|
103
103
|
Levels_instance = this;
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
106
|
-
this.
|
|
107
|
-
this.
|
|
108
|
-
this.
|
|
109
|
-
this.
|
|
104
|
+
this.u58_1 = 0;
|
|
105
|
+
this.v58_1 = 10;
|
|
106
|
+
this.w58_1 = 20;
|
|
107
|
+
this.x58_1 = 30;
|
|
108
|
+
this.y58_1 = 40;
|
|
109
|
+
this.z58_1 = 50;
|
|
110
110
|
}
|
|
111
111
|
var Levels_instance;
|
|
112
112
|
function Levels_getInstance() {
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
function DefaultErrorMessageProducer() {
|
|
142
142
|
DefaultErrorMessageProducer_instance = this;
|
|
143
143
|
}
|
|
144
|
-
protoOf(DefaultErrorMessageProducer).
|
|
144
|
+
protoOf(DefaultErrorMessageProducer).a59 = function (e) {
|
|
145
145
|
return 'Log message invocation failed: ' + e;
|
|
146
146
|
};
|
|
147
147
|
var DefaultErrorMessageProducer_instance;
|
|
@@ -153,13 +153,13 @@
|
|
|
153
153
|
function ConsoleOutputAppender() {
|
|
154
154
|
ConsoleOutputAppender_instance = this;
|
|
155
155
|
}
|
|
156
|
-
protoOf(ConsoleOutputAppender).
|
|
156
|
+
protoOf(ConsoleOutputAppender).b59 = function (message) {
|
|
157
157
|
return console.info(message);
|
|
158
158
|
};
|
|
159
|
-
protoOf(ConsoleOutputAppender).
|
|
159
|
+
protoOf(ConsoleOutputAppender).c59 = function (message) {
|
|
160
160
|
return console.warn(message);
|
|
161
161
|
};
|
|
162
|
-
protoOf(ConsoleOutputAppender).
|
|
162
|
+
protoOf(ConsoleOutputAppender).d59 = function (message) {
|
|
163
163
|
return console.error(message);
|
|
164
164
|
};
|
|
165
165
|
var ConsoleOutputAppender_instance;
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
function DefaultMessageFormatter() {
|
|
172
172
|
DefaultMessageFormatter_instance = this;
|
|
173
173
|
}
|
|
174
|
-
protoOf(DefaultMessageFormatter).
|
|
174
|
+
protoOf(DefaultMessageFormatter).e59 = function (level, loggerName, msg) {
|
|
175
175
|
var tmp$ret$0;
|
|
176
176
|
// Inline function 'io.github.oshai.kotlinlogging.internal.toStringSafe' call
|
|
177
177
|
var tmp;
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
var tmp_0;
|
|
182
182
|
if ($p instanceof Exception) {
|
|
183
183
|
var e = $p;
|
|
184
|
-
tmp_0 = DefaultErrorMessageProducer_getInstance().
|
|
184
|
+
tmp_0 = DefaultErrorMessageProducer_getInstance().a59(e);
|
|
185
185
|
} else {
|
|
186
186
|
throw $p;
|
|
187
187
|
}
|
|
@@ -198,9 +198,9 @@
|
|
|
198
198
|
}
|
|
199
199
|
function KotlinLoggingConfiguration() {
|
|
200
200
|
KotlinLoggingConfiguration_instance = this;
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
203
|
-
this.
|
|
201
|
+
this.f59_1 = Level_INFO_getInstance();
|
|
202
|
+
this.g59_1 = ConsoleOutputAppender_getInstance();
|
|
203
|
+
this.h59_1 = DefaultMessageFormatter_getInstance();
|
|
204
204
|
}
|
|
205
205
|
var KotlinLoggingConfiguration_instance;
|
|
206
206
|
function KotlinLoggingConfiguration_getInstance() {
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
return KotlinLoggingConfiguration_instance;
|
|
210
210
|
}
|
|
211
211
|
function isLoggingEnabled(_this__u8e3s4) {
|
|
212
|
-
return _this__u8e3s4.x6_1 >= KotlinLoggingConfiguration_getInstance().
|
|
212
|
+
return _this__u8e3s4.x6_1 >= KotlinLoggingConfiguration_getInstance().f59_1.x6_1;
|
|
213
213
|
}
|
|
214
214
|
function KLoggerFactory() {
|
|
215
215
|
KLoggerFactory_instance = this;
|
|
@@ -222,12 +222,12 @@
|
|
|
222
222
|
}
|
|
223
223
|
function logIfEnabled(_this__u8e3s4, $this, loggerName, msg, logFunction) {
|
|
224
224
|
if (isLoggingEnabled(_this__u8e3s4)) {
|
|
225
|
-
logFunction(KotlinLoggingConfiguration_getInstance().
|
|
225
|
+
logFunction(KotlinLoggingConfiguration_getInstance().h59_1.e59(_this__u8e3s4, loggerName, msg));
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
function Appender$info$ref($boundThis) {
|
|
229
229
|
var l = function (p0) {
|
|
230
|
-
$boundThis.
|
|
230
|
+
$boundThis.b59(p0);
|
|
231
231
|
return Unit_getInstance();
|
|
232
232
|
};
|
|
233
233
|
l.callableName = 'info';
|
|
@@ -235,7 +235,7 @@
|
|
|
235
235
|
}
|
|
236
236
|
function Appender$warn$ref($boundThis) {
|
|
237
237
|
var l = function (p0) {
|
|
238
|
-
$boundThis.
|
|
238
|
+
$boundThis.c59(p0);
|
|
239
239
|
return Unit_getInstance();
|
|
240
240
|
};
|
|
241
241
|
l.callableName = 'warn';
|
|
@@ -243,32 +243,32 @@
|
|
|
243
243
|
}
|
|
244
244
|
function Appender$error$ref($boundThis) {
|
|
245
245
|
var l = function (p0) {
|
|
246
|
-
$boundThis.
|
|
246
|
+
$boundThis.d59(p0);
|
|
247
247
|
return Unit_getInstance();
|
|
248
248
|
};
|
|
249
249
|
l.callableName = 'error';
|
|
250
250
|
return l;
|
|
251
251
|
}
|
|
252
252
|
function KLoggerJS(name) {
|
|
253
|
-
this.
|
|
254
|
-
this.
|
|
255
|
-
this.
|
|
256
|
-
this.
|
|
257
|
-
this.
|
|
258
|
-
this.
|
|
259
|
-
this.
|
|
253
|
+
this.i59_1 = name;
|
|
254
|
+
this.j59_1 = isLoggingEnabled(Level_TRACE_getInstance());
|
|
255
|
+
this.k59_1 = isLoggingEnabled(Level_DEBUG_getInstance());
|
|
256
|
+
this.l59_1 = isLoggingEnabled(Level_INFO_getInstance());
|
|
257
|
+
this.m59_1 = isLoggingEnabled(Level_WARN_getInstance());
|
|
258
|
+
this.n59_1 = isLoggingEnabled(Level_ERROR_getInstance());
|
|
259
|
+
this.o59_1 = isLoggingEnabled(Level_OFF_getInstance());
|
|
260
260
|
}
|
|
261
|
-
protoOf(KLoggerJS).
|
|
261
|
+
protoOf(KLoggerJS).p59 = function (msg) {
|
|
262
262
|
var tmp = Level_INFO_getInstance();
|
|
263
|
-
return logIfEnabled(tmp, this, this.
|
|
263
|
+
return logIfEnabled(tmp, this, this.i59_1, msg, Appender$info$ref(KotlinLoggingConfiguration_getInstance().g59_1));
|
|
264
264
|
};
|
|
265
|
-
protoOf(KLoggerJS).
|
|
265
|
+
protoOf(KLoggerJS).q59 = function (msg) {
|
|
266
266
|
var tmp = Level_WARN_getInstance();
|
|
267
|
-
return logIfEnabled(tmp, this, this.
|
|
267
|
+
return logIfEnabled(tmp, this, this.i59_1, msg, Appender$warn$ref(KotlinLoggingConfiguration_getInstance().g59_1));
|
|
268
268
|
};
|
|
269
|
-
protoOf(KLoggerJS).
|
|
269
|
+
protoOf(KLoggerJS).r59 = function (msg) {
|
|
270
270
|
var tmp = Level_ERROR_getInstance();
|
|
271
|
-
return logIfEnabled(tmp, this, this.
|
|
271
|
+
return logIfEnabled(tmp, this, this.i59_1, msg, Appender$error$ref(KotlinLoggingConfiguration_getInstance().g59_1));
|
|
272
272
|
};
|
|
273
273
|
function KLoggerNameResolver() {
|
|
274
274
|
KLoggerNameResolver_instance = this;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1201e137e7fdd00758f3841f0630dfae
|
package/mrs-toolbox-cli.d.ts
CHANGED
|
@@ -334,11 +334,11 @@ export declare namespace dto.form.property {
|
|
|
334
334
|
export declare namespace dto.form.property {
|
|
335
335
|
class ChecklistProperty extends dto.form.property.Property {
|
|
336
336
|
constructor();
|
|
337
|
-
get
|
|
338
|
-
set
|
|
337
|
+
get sections(): Array<dto.form.property.misc.Section>;
|
|
338
|
+
set sections(value: Array<dto.form.property.misc.Section>);
|
|
339
339
|
get variants(): Array<dto.form.property.misc.Variant>;
|
|
340
340
|
set variants(value: Array<dto.form.property.misc.Variant>);
|
|
341
|
-
static ChecklistProperty_init_$Create$(seen1: number, name: Nullable<string>, title: Nullable<string>, readOnly: Nullable<boolean>, disabled: Nullable<boolean>, hidden: Nullable<boolean>, helperText: Nullable<string>, description: Nullable<string>, lazyLoading: boolean,
|
|
341
|
+
static ChecklistProperty_init_$Create$(seen1: number, name: Nullable<string>, title: Nullable<string>, readOnly: Nullable<boolean>, disabled: Nullable<boolean>, hidden: Nullable<boolean>, helperText: Nullable<string>, description: Nullable<string>, lazyLoading: boolean, sections: Nullable<Array<dto.form.property.misc.Section>>, variants: Nullable<Array<dto.form.property.misc.Variant>>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.form.property.ChecklistProperty;
|
|
342
342
|
static get Companion(): {
|
|
343
343
|
serializer(): any/* kotlinx.serialization.KSerializer<dto.form.property.ChecklistProperty> */;
|
|
344
344
|
};
|
|
@@ -653,12 +653,12 @@ export declare namespace dto.form.property.misc {
|
|
|
653
653
|
export declare namespace dto.form.property.misc {
|
|
654
654
|
class Group {
|
|
655
655
|
constructor();
|
|
656
|
-
get name():
|
|
657
|
-
set name(value:
|
|
656
|
+
get name(): string;
|
|
657
|
+
set name(value: string);
|
|
658
658
|
get title(): Nullable<string>;
|
|
659
659
|
set title(value: Nullable<string>);
|
|
660
|
-
get items():
|
|
661
|
-
set items(value:
|
|
660
|
+
get items(): Array<dto.form.property.misc.Item>;
|
|
661
|
+
set items(value: Array<dto.form.property.misc.Item>);
|
|
662
662
|
static Group_init_$Create$(seen1: number, name: Nullable<string>, title: Nullable<string>, items: Nullable<Array<dto.form.property.misc.Item>>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.form.property.misc.Group;
|
|
663
663
|
static get Companion(): {
|
|
664
664
|
serializer(): any/* kotlinx.serialization.KSerializer<dto.form.property.misc.Group> */;
|
|
@@ -670,8 +670,8 @@ export declare namespace dto.form.property.misc {
|
|
|
670
670
|
export declare namespace dto.form.property.misc {
|
|
671
671
|
class Item {
|
|
672
672
|
constructor();
|
|
673
|
-
get name():
|
|
674
|
-
set name(value:
|
|
673
|
+
get name(): string;
|
|
674
|
+
set name(value: string);
|
|
675
675
|
get title(): Nullable<string>;
|
|
676
676
|
set title(value: Nullable<string>);
|
|
677
677
|
static Item_init_$Create$(seen1: number, name: Nullable<string>, title: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.form.property.misc.Item;
|
|
@@ -719,6 +719,23 @@ export declare namespace dto.form.property.misc {
|
|
|
719
719
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
720
720
|
}
|
|
721
721
|
}
|
|
722
|
+
export declare namespace dto.form.property.misc {
|
|
723
|
+
class Section {
|
|
724
|
+
constructor();
|
|
725
|
+
get name(): string;
|
|
726
|
+
set name(value: string);
|
|
727
|
+
get groups(): Array<dto.form.property.misc.Group>;
|
|
728
|
+
set groups(value: Array<dto.form.property.misc.Group>);
|
|
729
|
+
get title(): Nullable<string>;
|
|
730
|
+
set title(value: Nullable<string>);
|
|
731
|
+
static Section_init_$Create$(seen1: number, name: Nullable<string>, groups: Nullable<Array<dto.form.property.misc.Group>>, title: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.form.property.misc.Section;
|
|
732
|
+
static get Companion(): {
|
|
733
|
+
serializer(): any/* kotlinx.serialization.KSerializer<dto.form.property.misc.Section> */;
|
|
734
|
+
};
|
|
735
|
+
static get $serializer(): {
|
|
736
|
+
} & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.form.property.misc.Section> */;
|
|
737
|
+
}
|
|
738
|
+
}
|
|
722
739
|
export declare namespace dto.form.property.misc {
|
|
723
740
|
class Variant {
|
|
724
741
|
constructor();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4b848310509a0c3e67c9c9d480894f4b
|
package/mrs-toolbox-cli.js
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
var tmp$ret$1;
|
|
52
52
|
// Inline function 'Auth.email$delegate.<anonymous>.<anonymous>' call
|
|
53
53
|
tmp$ret$1 = "Email can't be empty!";
|
|
54
|
-
$this$validate.
|
|
54
|
+
$this$validate.s57(tmp$ret$1);
|
|
55
55
|
}
|
|
56
56
|
return Unit_getInstance();
|
|
57
57
|
}
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
var tmp$ret$1;
|
|
66
66
|
// Inline function 'Auth.password$delegate.<anonymous>.<anonymous>' call
|
|
67
67
|
tmp$ret$1 = "Password can't be empty!";
|
|
68
|
-
$this$validate.
|
|
68
|
+
$this$validate.s57(tmp$ret$1);
|
|
69
69
|
}
|
|
70
70
|
return Unit_getInstance();
|
|
71
71
|
}
|
|
@@ -73,95 +73,95 @@
|
|
|
73
73
|
CliktCommand.call(this, 'Auth to strapi');
|
|
74
74
|
var tmp = this;
|
|
75
75
|
var tmp_0 = prompt(option(this, ['-e', '--email'], 'Email for log in'));
|
|
76
|
-
tmp.
|
|
76
|
+
tmp.h69_1 = validate(tmp_0, Auth$email$delegate$lambda).p56(this, email$factory());
|
|
77
77
|
var tmp_1 = this;
|
|
78
78
|
var tmp_2 = prompt(option(this, ['-p', '--password'], 'Password for log in'));
|
|
79
|
-
tmp_1.
|
|
80
|
-
this.
|
|
81
|
-
this.
|
|
82
|
-
this.
|
|
79
|
+
tmp_1.i69_1 = validate(tmp_2, Auth$password$delegate$lambda).p56(this, password$factory());
|
|
80
|
+
this.j69_1 = optional(argument(this, VOID, 'Url to strapi server')).f55(this, url$factory());
|
|
81
|
+
this.k69_1 = option(this, ['-c', '--config'], 'Config file name').p56(this, config$factory());
|
|
82
|
+
this.l69_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().p64()).p56(this, cwd$factory());
|
|
83
83
|
}
|
|
84
|
-
protoOf(Auth).
|
|
85
|
-
return this.
|
|
84
|
+
protoOf(Auth).m69 = function () {
|
|
85
|
+
return this.h69_1.e55(this, email$factory_0());
|
|
86
86
|
};
|
|
87
87
|
protoOf(Auth).o20 = function () {
|
|
88
|
-
return this.
|
|
88
|
+
return this.i69_1.e55(this, password$factory_0());
|
|
89
89
|
};
|
|
90
90
|
protoOf(Auth).w29 = function () {
|
|
91
|
-
return this.
|
|
91
|
+
return this.j69_1.e55(this, url$factory_0());
|
|
92
92
|
};
|
|
93
93
|
protoOf(Auth).x27 = function () {
|
|
94
|
-
return this.
|
|
94
|
+
return this.k69_1.e55(this, config$factory_0());
|
|
95
95
|
};
|
|
96
|
-
protoOf(Auth).
|
|
97
|
-
return this.
|
|
96
|
+
protoOf(Auth).x65 = function () {
|
|
97
|
+
return this.l69_1.e55(this, cwd$factory_0());
|
|
98
98
|
};
|
|
99
99
|
protoOf(Auth).wq = function () {
|
|
100
|
-
CommandExecutor_getInstance().auth(this.
|
|
100
|
+
CommandExecutor_getInstance().auth(this.m69(), this.o20(), this.w29(), this.x65(), this.x27());
|
|
101
101
|
};
|
|
102
102
|
function Test() {
|
|
103
103
|
CliktCommand.call(this, 'Test hooks');
|
|
104
|
-
this.
|
|
105
|
-
this.
|
|
104
|
+
this.e6a_1 = option(this, ['-c', '--config'], 'Config file name').p56(this, config$factory_1());
|
|
105
|
+
this.f6a_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().p64()).p56(this, cwd$factory_1());
|
|
106
106
|
}
|
|
107
107
|
protoOf(Test).x27 = function () {
|
|
108
|
-
return this.
|
|
108
|
+
return this.e6a_1.e55(this, config$factory_2());
|
|
109
109
|
};
|
|
110
|
-
protoOf(Test).
|
|
111
|
-
return this.
|
|
110
|
+
protoOf(Test).x65 = function () {
|
|
111
|
+
return this.f6a_1.e55(this, cwd$factory_2());
|
|
112
112
|
};
|
|
113
113
|
protoOf(Test).wq = function () {
|
|
114
|
-
CommandExecutor_getInstance().test(this.
|
|
114
|
+
CommandExecutor_getInstance().test(this.x65(), this.x27());
|
|
115
115
|
};
|
|
116
116
|
function Prepare() {
|
|
117
117
|
CliktCommand.call(this, 'Prepare workspace');
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
118
|
+
this.x6a_1 = option(this, ['-c', '--config'], 'Config file name').p56(this, config$factory_3());
|
|
119
|
+
this.y6a_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().p64()).p56(this, cwd$factory_3());
|
|
120
120
|
}
|
|
121
121
|
protoOf(Prepare).x27 = function () {
|
|
122
|
-
return this.
|
|
122
|
+
return this.x6a_1.e55(this, config$factory_4());
|
|
123
123
|
};
|
|
124
|
-
protoOf(Prepare).
|
|
125
|
-
return this.
|
|
124
|
+
protoOf(Prepare).x65 = function () {
|
|
125
|
+
return this.y6a_1.e55(this, cwd$factory_4());
|
|
126
126
|
};
|
|
127
127
|
protoOf(Prepare).wq = function () {
|
|
128
|
-
CommandExecutor_getInstance().prepare(this.
|
|
128
|
+
CommandExecutor_getInstance().prepare(this.x65(), this.x27());
|
|
129
129
|
};
|
|
130
130
|
function Export() {
|
|
131
131
|
CliktCommand.call(this, 'Create export config for s3');
|
|
132
|
-
this.
|
|
133
|
-
this.
|
|
134
|
-
this.
|
|
135
|
-
this.
|
|
132
|
+
this.q6b_1 = option(this, ['-c', '--config'], 'Config file name').p56(this, config$factory_5());
|
|
133
|
+
this.r6b_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().p64()).p56(this, cwd$factory_5());
|
|
134
|
+
this.s6b_1 = flag(option(this, ['--autoUpdate'], 'Autoupdate config in s3 storage', VOID, true), [], false).p56(this, autoUpdate$factory());
|
|
135
|
+
this.t6b_1 = option(this, ['-v', '--version'], 'Version for build').p56(this, version$factory());
|
|
136
136
|
}
|
|
137
137
|
protoOf(Export).x27 = function () {
|
|
138
|
-
return this.
|
|
138
|
+
return this.q6b_1.e55(this, config$factory_6());
|
|
139
139
|
};
|
|
140
|
-
protoOf(Export).
|
|
141
|
-
return this.
|
|
140
|
+
protoOf(Export).x65 = function () {
|
|
141
|
+
return this.r6b_1.e55(this, cwd$factory_6());
|
|
142
142
|
};
|
|
143
|
-
protoOf(Export).
|
|
144
|
-
return this.
|
|
143
|
+
protoOf(Export).s4h = function () {
|
|
144
|
+
return this.s6b_1.e55(this, autoUpdate$factory_0());
|
|
145
145
|
};
|
|
146
146
|
protoOf(Export).d2b = function () {
|
|
147
|
-
return this.
|
|
147
|
+
return this.t6b_1.e55(this, version$factory_0());
|
|
148
148
|
};
|
|
149
149
|
protoOf(Export).wq = function () {
|
|
150
|
-
CommandExecutor_getInstance().export(this.
|
|
150
|
+
CommandExecutor_getInstance().export(this.s4h(), this.x65(), this.x27(), this.d2b());
|
|
151
151
|
};
|
|
152
152
|
function Upload() {
|
|
153
153
|
CliktCommand.call(this, 'Upload exportConfig to s3');
|
|
154
|
-
this.
|
|
155
|
-
this.
|
|
154
|
+
this.l6c_1 = option(this, ['-c', '--config'], 'Config file name').p56(this, config$factory_7());
|
|
155
|
+
this.m6c_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().p64()).p56(this, cwd$factory_7());
|
|
156
156
|
}
|
|
157
157
|
protoOf(Upload).x27 = function () {
|
|
158
|
-
return this.
|
|
158
|
+
return this.l6c_1.e55(this, config$factory_8());
|
|
159
159
|
};
|
|
160
|
-
protoOf(Upload).
|
|
161
|
-
return this.
|
|
160
|
+
protoOf(Upload).x65 = function () {
|
|
161
|
+
return this.m6c_1.e55(this, cwd$factory_8());
|
|
162
162
|
};
|
|
163
163
|
protoOf(Upload).wq = function () {
|
|
164
|
-
CommandExecutor_getInstance().upload(this.
|
|
164
|
+
CommandExecutor_getInstance().upload(this.x65(), this.x27());
|
|
165
165
|
};
|
|
166
166
|
function Version() {
|
|
167
167
|
CliktCommand.call(this, 'Get toolbox version');
|
|
@@ -171,21 +171,21 @@
|
|
|
171
171
|
};
|
|
172
172
|
function PullReferences() {
|
|
173
173
|
CliktCommand.call(this, 'Pull references from Directus');
|
|
174
|
-
this.
|
|
175
|
-
this.
|
|
174
|
+
this.v6d_1 = option(this, ['-c', '--config'], 'Config file name').p56(this, config$factory_9());
|
|
175
|
+
this.w6d_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().p64()).p56(this, cwd$factory_9());
|
|
176
176
|
}
|
|
177
177
|
protoOf(PullReferences).x27 = function () {
|
|
178
|
-
return this.
|
|
178
|
+
return this.v6d_1.e55(this, config$factory_10());
|
|
179
179
|
};
|
|
180
|
-
protoOf(PullReferences).
|
|
181
|
-
return this.
|
|
180
|
+
protoOf(PullReferences).x65 = function () {
|
|
181
|
+
return this.w6d_1.e55(this, cwd$factory_10());
|
|
182
182
|
};
|
|
183
183
|
protoOf(PullReferences).wq = function () {
|
|
184
|
-
CommandExecutor_getInstance().pullReferences(this.
|
|
184
|
+
CommandExecutor_getInstance().pullReferences(this.x65(), this.x27());
|
|
185
185
|
};
|
|
186
186
|
function email$factory() {
|
|
187
187
|
return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
|
|
188
|
-
return receiver.
|
|
188
|
+
return receiver.m69();
|
|
189
189
|
}, null);
|
|
190
190
|
}
|
|
191
191
|
function password$factory() {
|
|
@@ -205,12 +205,12 @@
|
|
|
205
205
|
}
|
|
206
206
|
function cwd$factory() {
|
|
207
207
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
208
|
-
return receiver.
|
|
208
|
+
return receiver.x65();
|
|
209
209
|
}, null);
|
|
210
210
|
}
|
|
211
211
|
function email$factory_0() {
|
|
212
212
|
return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
|
|
213
|
-
return receiver.
|
|
213
|
+
return receiver.m69();
|
|
214
214
|
}, null);
|
|
215
215
|
}
|
|
216
216
|
function password$factory_0() {
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
}
|
|
231
231
|
function cwd$factory_0() {
|
|
232
232
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
233
|
-
return receiver.
|
|
233
|
+
return receiver.x65();
|
|
234
234
|
}, null);
|
|
235
235
|
}
|
|
236
236
|
function config$factory_1() {
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
}
|
|
241
241
|
function cwd$factory_1() {
|
|
242
242
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
243
|
-
return receiver.
|
|
243
|
+
return receiver.x65();
|
|
244
244
|
}, null);
|
|
245
245
|
}
|
|
246
246
|
function config$factory_2() {
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
}
|
|
251
251
|
function cwd$factory_2() {
|
|
252
252
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
253
|
-
return receiver.
|
|
253
|
+
return receiver.x65();
|
|
254
254
|
}, null);
|
|
255
255
|
}
|
|
256
256
|
function config$factory_3() {
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
}
|
|
261
261
|
function cwd$factory_3() {
|
|
262
262
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
263
|
-
return receiver.
|
|
263
|
+
return receiver.x65();
|
|
264
264
|
}, null);
|
|
265
265
|
}
|
|
266
266
|
function config$factory_4() {
|
|
@@ -270,7 +270,7 @@
|
|
|
270
270
|
}
|
|
271
271
|
function cwd$factory_4() {
|
|
272
272
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
273
|
-
return receiver.
|
|
273
|
+
return receiver.x65();
|
|
274
274
|
}, null);
|
|
275
275
|
}
|
|
276
276
|
function config$factory_5() {
|
|
@@ -280,12 +280,12 @@
|
|
|
280
280
|
}
|
|
281
281
|
function cwd$factory_5() {
|
|
282
282
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
283
|
-
return receiver.
|
|
283
|
+
return receiver.x65();
|
|
284
284
|
}, null);
|
|
285
285
|
}
|
|
286
286
|
function autoUpdate$factory() {
|
|
287
287
|
return getPropertyCallableRef('autoUpdate', 1, KProperty1, function (receiver) {
|
|
288
|
-
return receiver.
|
|
288
|
+
return receiver.s4h();
|
|
289
289
|
}, null);
|
|
290
290
|
}
|
|
291
291
|
function version$factory() {
|
|
@@ -300,12 +300,12 @@
|
|
|
300
300
|
}
|
|
301
301
|
function cwd$factory_6() {
|
|
302
302
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
303
|
-
return receiver.
|
|
303
|
+
return receiver.x65();
|
|
304
304
|
}, null);
|
|
305
305
|
}
|
|
306
306
|
function autoUpdate$factory_0() {
|
|
307
307
|
return getPropertyCallableRef('autoUpdate', 1, KProperty1, function (receiver) {
|
|
308
|
-
return receiver.
|
|
308
|
+
return receiver.s4h();
|
|
309
309
|
}, null);
|
|
310
310
|
}
|
|
311
311
|
function version$factory_0() {
|
|
@@ -320,7 +320,7 @@
|
|
|
320
320
|
}
|
|
321
321
|
function cwd$factory_7() {
|
|
322
322
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
323
|
-
return receiver.
|
|
323
|
+
return receiver.x65();
|
|
324
324
|
}, null);
|
|
325
325
|
}
|
|
326
326
|
function config$factory_8() {
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
}
|
|
331
331
|
function cwd$factory_8() {
|
|
332
332
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
333
|
-
return receiver.
|
|
333
|
+
return receiver.x65();
|
|
334
334
|
}, null);
|
|
335
335
|
}
|
|
336
336
|
function config$factory_9() {
|
|
@@ -340,7 +340,7 @@
|
|
|
340
340
|
}
|
|
341
341
|
function cwd$factory_9() {
|
|
342
342
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
343
|
-
return receiver.
|
|
343
|
+
return receiver.x65();
|
|
344
344
|
}, null);
|
|
345
345
|
}
|
|
346
346
|
function config$factory_10() {
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
}
|
|
351
351
|
function cwd$factory_10() {
|
|
352
352
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
353
|
-
return receiver.
|
|
353
|
+
return receiver.x65();
|
|
354
354
|
}, null);
|
|
355
355
|
}
|
|
356
356
|
function main(args) {
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
var argv = (!(tmp == null) ? isArray(tmp) : false) ? tmp : THROW_CCE();
|
|
359
359
|
println(split(argv[0], [' ']));
|
|
360
360
|
try {
|
|
361
|
-
subcommands(new Mrsc(), [new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullReferences()]).
|
|
361
|
+
subcommands(new Mrsc(), [new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullReferences()]).u4x(split(argv[0], [' ']));
|
|
362
362
|
} catch ($p) {
|
|
363
363
|
if ($p instanceof Error) {
|
|
364
364
|
var e = $p;
|
|
@@ -372,7 +372,7 @@
|
|
|
372
372
|
tmp$ret$0 = ['--help'];
|
|
373
373
|
tmp$ret$1 = tmp$ret$0;
|
|
374
374
|
tmp$ret$2 = tmp$ret$1;
|
|
375
|
-
tmp_0.
|
|
375
|
+
tmp_0.k4y(tmp$ret$2);
|
|
376
376
|
} else {
|
|
377
377
|
throw $p;
|
|
378
378
|
}
|
package/mrs-toolbox-cli.js.hash
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
689a0e7b80c47507c9a8bfce33a1e7b9
|