mrs-toolbox-cli 0.0.82 → 0.0.83

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.
@@ -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.m68_1 = validate(tmp_0, Auth$email$delegate$lambda).k56(this, email$factory());
76
+ tmp.c69_1 = validate(tmp_0, Auth$email$delegate$lambda).k56(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.n68_1 = validate(tmp_2, Auth$password$delegate$lambda).k56(this, password$factory());
80
- this.o68_1 = optional(argument(this, VOID, 'Url to strapi server')).a55(this, url$factory());
81
- this.p68_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory());
82
- this.q68_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().j64()).k56(this, cwd$factory());
79
+ tmp_1.d69_1 = validate(tmp_2, Auth$password$delegate$lambda).k56(this, password$factory());
80
+ this.e69_1 = optional(argument(this, VOID, 'Url to strapi server')).a55(this, url$factory());
81
+ this.f69_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory());
82
+ this.g69_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().k64()).k56(this, cwd$factory());
83
83
  }
84
- protoOf(Auth).r68 = function () {
85
- return this.m68_1.z54(this, email$factory_0());
84
+ protoOf(Auth).h69 = function () {
85
+ return this.c69_1.z54(this, email$factory_0());
86
86
  };
87
87
  protoOf(Auth).o20 = function () {
88
- return this.n68_1.z54(this, password$factory_0());
88
+ return this.d69_1.z54(this, password$factory_0());
89
89
  };
90
90
  protoOf(Auth).w29 = function () {
91
- return this.o68_1.z54(this, url$factory_0());
91
+ return this.e69_1.z54(this, url$factory_0());
92
92
  };
93
93
  protoOf(Auth).x27 = function () {
94
- return this.p68_1.z54(this, config$factory_0());
94
+ return this.f69_1.z54(this, config$factory_0());
95
95
  };
96
- protoOf(Auth).c65 = function () {
97
- return this.q68_1.z54(this, cwd$factory_0());
96
+ protoOf(Auth).s65 = function () {
97
+ return this.g69_1.z54(this, cwd$factory_0());
98
98
  };
99
99
  protoOf(Auth).wq = function () {
100
- CommandExecutor_getInstance().auth(this.r68(), this.o20(), this.w29(), this.c65(), this.x27());
100
+ CommandExecutor_getInstance().auth(this.h69(), this.o20(), this.w29(), this.s65(), this.x27());
101
101
  };
102
102
  function Test() {
103
103
  CliktCommand.call(this, 'Test hooks');
104
- this.j69_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_1());
105
- this.k69_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().j64()).k56(this, cwd$factory_1());
104
+ this.z69_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_1());
105
+ this.a6a_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().k64()).k56(this, cwd$factory_1());
106
106
  }
107
107
  protoOf(Test).x27 = function () {
108
- return this.j69_1.z54(this, config$factory_2());
108
+ return this.z69_1.z54(this, config$factory_2());
109
109
  };
110
- protoOf(Test).c65 = function () {
111
- return this.k69_1.z54(this, cwd$factory_2());
110
+ protoOf(Test).s65 = function () {
111
+ return this.a6a_1.z54(this, cwd$factory_2());
112
112
  };
113
113
  protoOf(Test).wq = function () {
114
- CommandExecutor_getInstance().test(this.c65(), this.x27());
114
+ CommandExecutor_getInstance().test(this.s65(), this.x27());
115
115
  };
116
116
  function Prepare() {
117
117
  CliktCommand.call(this, 'Prepare workspace');
118
- this.c6a_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_3());
119
- this.d6a_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().j64()).k56(this, cwd$factory_3());
118
+ this.s6a_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_3());
119
+ this.t6a_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().k64()).k56(this, cwd$factory_3());
120
120
  }
121
121
  protoOf(Prepare).x27 = function () {
122
- return this.c6a_1.z54(this, config$factory_4());
122
+ return this.s6a_1.z54(this, config$factory_4());
123
123
  };
124
- protoOf(Prepare).c65 = function () {
125
- return this.d6a_1.z54(this, cwd$factory_4());
124
+ protoOf(Prepare).s65 = function () {
125
+ return this.t6a_1.z54(this, cwd$factory_4());
126
126
  };
127
127
  protoOf(Prepare).wq = function () {
128
- CommandExecutor_getInstance().prepare(this.c65(), this.x27());
128
+ CommandExecutor_getInstance().prepare(this.s65(), this.x27());
129
129
  };
130
130
  function Export() {
131
131
  CliktCommand.call(this, 'Create export config for s3');
132
- this.v6a_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_5());
133
- this.w6a_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().j64()).k56(this, cwd$factory_5());
134
- this.x6a_1 = flag(option(this, ['--autoUpdate'], 'Autoupdate config in s3 storage', VOID, true), [], false).k56(this, autoUpdate$factory());
135
- this.y6a_1 = option(this, ['-v', '--version'], 'Version for build').k56(this, version$factory());
132
+ this.l6b_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_5());
133
+ this.m6b_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().k64()).k56(this, cwd$factory_5());
134
+ this.n6b_1 = flag(option(this, ['--autoUpdate'], 'Autoupdate config in s3 storage', VOID, true), [], false).k56(this, autoUpdate$factory());
135
+ this.o6b_1 = option(this, ['-v', '--version'], 'Version for build').k56(this, version$factory());
136
136
  }
137
137
  protoOf(Export).x27 = function () {
138
- return this.v6a_1.z54(this, config$factory_6());
138
+ return this.l6b_1.z54(this, config$factory_6());
139
139
  };
140
- protoOf(Export).c65 = function () {
141
- return this.w6a_1.z54(this, cwd$factory_6());
140
+ protoOf(Export).s65 = function () {
141
+ return this.m6b_1.z54(this, cwd$factory_6());
142
142
  };
143
143
  protoOf(Export).r4h = function () {
144
- return this.x6a_1.z54(this, autoUpdate$factory_0());
144
+ return this.n6b_1.z54(this, autoUpdate$factory_0());
145
145
  };
146
146
  protoOf(Export).d2b = function () {
147
- return this.y6a_1.z54(this, version$factory_0());
147
+ return this.o6b_1.z54(this, version$factory_0());
148
148
  };
149
149
  protoOf(Export).wq = function () {
150
- CommandExecutor_getInstance().export(this.r4h(), this.c65(), this.x27(), this.d2b());
150
+ CommandExecutor_getInstance().export(this.r4h(), this.s65(), this.x27(), this.d2b());
151
151
  };
152
152
  function Upload() {
153
153
  CliktCommand.call(this, 'Upload exportConfig to s3');
154
- this.q6b_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_7());
155
- this.r6b_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().j64()).k56(this, cwd$factory_7());
154
+ this.g6c_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_7());
155
+ this.h6c_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().k64()).k56(this, cwd$factory_7());
156
156
  }
157
157
  protoOf(Upload).x27 = function () {
158
- return this.q6b_1.z54(this, config$factory_8());
158
+ return this.g6c_1.z54(this, config$factory_8());
159
159
  };
160
- protoOf(Upload).c65 = function () {
161
- return this.r6b_1.z54(this, cwd$factory_8());
160
+ protoOf(Upload).s65 = function () {
161
+ return this.h6c_1.z54(this, cwd$factory_8());
162
162
  };
163
163
  protoOf(Upload).wq = function () {
164
- CommandExecutor_getInstance().upload(this.c65(), this.x27());
164
+ CommandExecutor_getInstance().upload(this.s65(), 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.a6d_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_9());
175
- this.b6d_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().j64()).k56(this, cwd$factory_9());
174
+ this.q6d_1 = option(this, ['-c', '--config'], 'Config file name').k56(this, config$factory_9());
175
+ this.r6d_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_getInstance().k64()).k56(this, cwd$factory_9());
176
176
  }
177
177
  protoOf(PullReferences).x27 = function () {
178
- return this.a6d_1.z54(this, config$factory_10());
178
+ return this.q6d_1.z54(this, config$factory_10());
179
179
  };
180
- protoOf(PullReferences).c65 = function () {
181
- return this.b6d_1.z54(this, cwd$factory_10());
180
+ protoOf(PullReferences).s65 = function () {
181
+ return this.r6d_1.z54(this, cwd$factory_10());
182
182
  };
183
183
  protoOf(PullReferences).wq = function () {
184
- CommandExecutor_getInstance().pullReferences(this.c65(), this.x27());
184
+ CommandExecutor_getInstance().pullReferences(this.s65(), this.x27());
185
185
  };
186
186
  function email$factory() {
187
187
  return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
188
- return receiver.r68();
188
+ return receiver.h69();
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.c65();
208
+ return receiver.s65();
209
209
  }, null);
210
210
  }
211
211
  function email$factory_0() {
212
212
  return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
213
- return receiver.r68();
213
+ return receiver.h69();
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.c65();
233
+ return receiver.s65();
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.c65();
243
+ return receiver.s65();
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.c65();
253
+ return receiver.s65();
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.c65();
263
+ return receiver.s65();
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.c65();
273
+ return receiver.s65();
274
274
  }, null);
275
275
  }
276
276
  function config$factory_5() {
@@ -280,7 +280,7 @@
280
280
  }
281
281
  function cwd$factory_5() {
282
282
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
283
- return receiver.c65();
283
+ return receiver.s65();
284
284
  }, null);
285
285
  }
286
286
  function autoUpdate$factory() {
@@ -300,7 +300,7 @@
300
300
  }
301
301
  function cwd$factory_6() {
302
302
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
303
- return receiver.c65();
303
+ return receiver.s65();
304
304
  }, null);
305
305
  }
306
306
  function autoUpdate$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.c65();
323
+ return receiver.s65();
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.c65();
333
+ return receiver.s65();
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.c65();
343
+ return receiver.s65();
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.c65();
353
+ return receiver.s65();
354
354
  }, null);
355
355
  }
356
356
  function main(args) {
@@ -1 +1 @@
1
- 9450a48c02d715330b9f412141fa58c7
1
+ fbd8dfa1e010e2de4fdfac72af16121d
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrs-toolbox-cli",
3
- "version": "0.0.82",
3
+ "version": "0.0.83",
4
4
  "main": "mrs-toolbox-cli.js",
5
5
  "types": "mrs-toolbox-cli.d.ts",
6
6
  "devDependencies": {