git-digger 1.5.19 → 1.5.21

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.
@@ -1,9 +1,9 @@
1
1
  (function (_, kotlin_kotlin, kotlin_com_zegreatrob_tools_digger_core, kotlin_com_zegreatrob_tools_git_adapter, kotlin_clikt_clikt_mordant, kotlin_clikt_clikt, kotlin_com_zegreatrob_tools_digger_json, kotlin_com_zegreatrob_tools_cli_tools) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var split = kotlin_kotlin.$_$.va;
5
- var lastOrNull = kotlin_kotlin.$_$.b5;
6
- var isBlank = kotlin_kotlin.$_$.ga;
4
+ var split = kotlin_kotlin.$_$.wa;
5
+ var lastOrNull = kotlin_kotlin.$_$.c5;
6
+ var isBlank = kotlin_kotlin.$_$.ha;
7
7
  var Regex_init_$Create$ = kotlin_kotlin.$_$.t;
8
8
  var Defaults_getInstance = kotlin_com_zegreatrob_tools_digger_core.$_$.c;
9
9
  var GitAdapter = kotlin_com_zegreatrob_tools_git_adapter.$_$.a;
@@ -16,11 +16,11 @@
16
16
  var default_0 = kotlin_clikt_clikt.$_$.h;
17
17
  var toJsonString = kotlin_com_zegreatrob_tools_digger_json.$_$.b;
18
18
  var writeToFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.b;
19
- var Unit_instance = kotlin_kotlin.$_$.g3;
20
- var protoOf = kotlin_kotlin.$_$.o8;
21
- var initMetadataForClass = kotlin_kotlin.$_$.p7;
22
- var KProperty1 = kotlin_kotlin.$_$.e9;
23
- var getPropertyCallableRef = kotlin_kotlin.$_$.m7;
19
+ var Unit_instance = kotlin_kotlin.$_$.h3;
20
+ var protoOf = kotlin_kotlin.$_$.p8;
21
+ var initMetadataForClass = kotlin_kotlin.$_$.q7;
22
+ var KProperty1 = kotlin_kotlin.$_$.f9;
23
+ var getPropertyCallableRef = kotlin_kotlin.$_$.n7;
24
24
  var toJsonString_0 = kotlin_com_zegreatrob_tools_digger_json.$_$.a;
25
25
  var subcommands = kotlin_clikt_clikt.$_$.e;
26
26
  var platformArgCorrection = kotlin_com_zegreatrob_tools_cli_tools.$_$.a;
@@ -32,34 +32,34 @@
32
32
  initMetadataForClass(Welcome, 'Welcome', Welcome, CliktCommand);
33
33
  //endregion
34
34
  function _get_dir__e67350($this) {
35
- return $this.e2f_1.y1q($this, dir$factory_0());
35
+ return $this.w2f_1.q1r($this, dir$factory_0());
36
36
  }
37
37
  function _get_outputFile__pta58u($this) {
38
- return $this.f2f_1.y1q($this, outputFile$factory_0());
38
+ return $this.x2f_1.q1r($this, outputFile$factory_0());
39
39
  }
40
40
  function _get_label__euqgmb($this) {
41
- return $this.g2f_1.y1q($this, label$factory_0());
41
+ return $this.y2f_1.q1r($this, label$factory_0());
42
42
  }
43
43
  function _get_majorRegex__5j6ypp($this) {
44
- return $this.h2f_1.y1q($this, majorRegex$factory_0());
44
+ return $this.z2f_1.q1r($this, majorRegex$factory_0());
45
45
  }
46
46
  function _get_minorRegex__20z96h($this) {
47
- return $this.i2f_1.y1q($this, minorRegex$factory_0());
47
+ return $this.a2g_1.q1r($this, minorRegex$factory_0());
48
48
  }
49
49
  function _get_patchRegex__mtlu2c($this) {
50
- return $this.j2f_1.y1q($this, patchRegex$factory_0());
50
+ return $this.b2g_1.q1r($this, patchRegex$factory_0());
51
51
  }
52
52
  function _get_noneRegex__1tdbgi($this) {
53
- return $this.k2f_1.y1q($this, noneRegex$factory_0());
53
+ return $this.c2g_1.q1r($this, noneRegex$factory_0());
54
54
  }
55
55
  function _get_storyIdRegex__auqux8($this) {
56
- return $this.l2f_1.y1q($this, storyIdRegex$factory_0());
56
+ return $this.d2g_1.q1r($this, storyIdRegex$factory_0());
57
57
  }
58
58
  function _get_easeRegex__pf594o($this) {
59
- return $this.m2f_1.y1q($this, easeRegex$factory_0());
59
+ return $this.e2g_1.q1r($this, easeRegex$factory_0());
60
60
  }
61
61
  function _get_tagRegex__ibn0wy($this) {
62
- return $this.n2f_1.y1q($this, tagRegex$factory_0());
62
+ return $this.f2g_1.q1r($this, tagRegex$factory_0());
63
63
  }
64
64
  function _get_core__d4zfrg($this) {
65
65
  // Inline function 'kotlin.text.ifBlank' call
@@ -83,7 +83,7 @@
83
83
  tmp_0 = Regex_init_$Create$(tmp0_safe_receiver);
84
84
  }
85
85
  var tmp1_elvis_lhs = tmp_0;
86
- var tmp15_tagRegex = tmp1_elvis_lhs == null ? Defaults_getInstance().c1a_1 : tmp1_elvis_lhs;
86
+ var tmp15_tagRegex = tmp1_elvis_lhs == null ? Defaults_getInstance().s1a_1 : tmp1_elvis_lhs;
87
87
  var tmp16_gitWrapper = new GitAdapter(_get_dir__e67350($this));
88
88
  var tmp2_safe_receiver = _get_majorRegex__5j6ypp($this);
89
89
  var tmp_1;
@@ -95,7 +95,7 @@
95
95
  tmp_1 = Regex_init_$Create$(tmp2_safe_receiver);
96
96
  }
97
97
  var tmp3_elvis_lhs = tmp_1;
98
- var tmp_2 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().f1a_1 : tmp3_elvis_lhs;
98
+ var tmp_2 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().v1a_1 : tmp3_elvis_lhs;
99
99
  var tmp4_safe_receiver = _get_minorRegex__20z96h($this);
100
100
  var tmp_3;
101
101
  if (tmp4_safe_receiver == null) {
@@ -106,7 +106,7 @@
106
106
  tmp_3 = Regex_init_$Create$(tmp4_safe_receiver);
107
107
  }
108
108
  var tmp5_elvis_lhs = tmp_3;
109
- var tmp_4 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().g1a_1 : tmp5_elvis_lhs;
109
+ var tmp_4 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().w1a_1 : tmp5_elvis_lhs;
110
110
  var tmp6_safe_receiver = _get_patchRegex__mtlu2c($this);
111
111
  var tmp_5;
112
112
  if (tmp6_safe_receiver == null) {
@@ -117,7 +117,7 @@
117
117
  tmp_5 = Regex_init_$Create$(tmp6_safe_receiver);
118
118
  }
119
119
  var tmp7_elvis_lhs = tmp_5;
120
- var tmp_6 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().h1a_1 : tmp7_elvis_lhs;
120
+ var tmp_6 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().x1a_1 : tmp7_elvis_lhs;
121
121
  var tmp8_safe_receiver = _get_noneRegex__1tdbgi($this);
122
122
  var tmp_7;
123
123
  if (tmp8_safe_receiver == null) {
@@ -128,7 +128,7 @@
128
128
  tmp_7 = Regex_init_$Create$(tmp8_safe_receiver);
129
129
  }
130
130
  var tmp9_elvis_lhs = tmp_7;
131
- var tmp_8 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().i1a_1 : tmp9_elvis_lhs;
131
+ var tmp_8 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().y1a_1 : tmp9_elvis_lhs;
132
132
  var tmp10_safe_receiver = _get_storyIdRegex__auqux8($this);
133
133
  var tmp_9;
134
134
  if (tmp10_safe_receiver == null) {
@@ -139,7 +139,7 @@
139
139
  tmp_9 = Regex_init_$Create$(tmp10_safe_receiver);
140
140
  }
141
141
  var tmp11_elvis_lhs = tmp_9;
142
- var tmp_10 = tmp11_elvis_lhs == null ? Defaults_getInstance_0().j1a_1 : tmp11_elvis_lhs;
142
+ var tmp_10 = tmp11_elvis_lhs == null ? Defaults_getInstance_0().z1a_1 : tmp11_elvis_lhs;
143
143
  var tmp12_safe_receiver = _get_easeRegex__pf594o($this);
144
144
  var tmp_11;
145
145
  if (tmp12_safe_receiver == null) {
@@ -150,28 +150,28 @@
150
150
  tmp_11 = Regex_init_$Create$(tmp12_safe_receiver);
151
151
  }
152
152
  var tmp13_elvis_lhs = tmp_11;
153
- var tmp17_messageDigger = new MessageDigger(tmp_2, tmp_4, tmp_6, tmp_8, tmp_10, tmp13_elvis_lhs == null ? Defaults_getInstance_0().k1a_1 : tmp13_elvis_lhs);
153
+ var tmp17_messageDigger = new MessageDigger(tmp_2, tmp_4, tmp_6, tmp_8, tmp_10, tmp13_elvis_lhs == null ? Defaults_getInstance_0().a1b_1 : tmp13_elvis_lhs);
154
154
  return new DiggerCore(tmp14_label, tmp16_gitWrapper, tmp17_messageDigger, tmp15_tagRegex);
155
155
  }
156
156
  function AllContributionData() {
157
157
  CliktCommand.call(this);
158
- this.e2f_1 = argument(this, 'git-repo').a1r(this, dir$factory());
159
- this.f2f_1 = default_0(option(this, []), 'allContributionData.json').l1r(this, outputFile$factory());
160
- this.g2f_1 = default_0(option(this, []), '').l1r(this, label$factory());
161
- this.h2f_1 = option(this, []).l1r(this, majorRegex$factory());
162
- this.i2f_1 = option(this, []).l1r(this, minorRegex$factory());
163
- this.j2f_1 = option(this, []).l1r(this, patchRegex$factory());
164
- this.k2f_1 = option(this, []).l1r(this, noneRegex$factory());
165
- this.l2f_1 = option(this, []).l1r(this, storyIdRegex$factory());
166
- this.m2f_1 = option(this, []).l1r(this, easeRegex$factory());
167
- this.n2f_1 = option(this, []).l1r(this, tagRegex$factory());
168
- }
169
- protoOf(AllContributionData).m1i = function () {
158
+ this.w2f_1 = argument(this, 'git-repo').s1r(this, dir$factory());
159
+ this.x2f_1 = default_0(option(this, []), 'allContributionData.json').d1s(this, outputFile$factory());
160
+ this.y2f_1 = default_0(option(this, []), '').d1s(this, label$factory());
161
+ this.z2f_1 = option(this, []).d1s(this, majorRegex$factory());
162
+ this.a2g_1 = option(this, []).d1s(this, minorRegex$factory());
163
+ this.b2g_1 = option(this, []).d1s(this, patchRegex$factory());
164
+ this.c2g_1 = option(this, []).d1s(this, noneRegex$factory());
165
+ this.d2g_1 = option(this, []).d1s(this, storyIdRegex$factory());
166
+ this.e2g_1 = option(this, []).d1s(this, easeRegex$factory());
167
+ this.f2g_1 = option(this, []).d1s(this, tagRegex$factory());
168
+ }
169
+ protoOf(AllContributionData).c1j = function () {
170
170
  // Inline function 'kotlin.also' call
171
- writeToFile(toJsonString(_get_core__d4zfrg(this).e1a()), _get_outputFile__pta58u(this));
171
+ writeToFile(toJsonString(_get_core__d4zfrg(this).u1a()), _get_outputFile__pta58u(this));
172
172
  // Inline function 'kotlin.contracts.contract' call
173
173
  // Inline function 'com.zegreatrob.tools.digger.cli.AllContributionData.run.<anonymous>' call
174
- this.b1h('Data written to ' + _get_outputFile__pta58u(this));
174
+ this.r1h('Data written to ' + _get_outputFile__pta58u(this));
175
175
  return Unit_instance;
176
176
  };
177
177
  function dir$factory() {
@@ -275,34 +275,34 @@
275
275
  }, null);
276
276
  }
277
277
  function _get_dir__e67350_0($this) {
278
- return $this.d2g_1.y1q($this, dir$factory_2());
278
+ return $this.v2g_1.q1r($this, dir$factory_2());
279
279
  }
280
280
  function _get_outputFile__pta58u_0($this) {
281
- return $this.e2g_1.y1q($this, outputFile$factory_2());
281
+ return $this.w2g_1.q1r($this, outputFile$factory_2());
282
282
  }
283
283
  function _get_label__euqgmb_0($this) {
284
- return $this.f2g_1.y1q($this, label$factory_2());
284
+ return $this.x2g_1.q1r($this, label$factory_2());
285
285
  }
286
286
  function _get_majorRegex__5j6ypp_0($this) {
287
- return $this.g2g_1.y1q($this, majorRegex$factory_2());
287
+ return $this.y2g_1.q1r($this, majorRegex$factory_2());
288
288
  }
289
289
  function _get_minorRegex__20z96h_0($this) {
290
- return $this.h2g_1.y1q($this, minorRegex$factory_2());
290
+ return $this.z2g_1.q1r($this, minorRegex$factory_2());
291
291
  }
292
292
  function _get_patchRegex__mtlu2c_0($this) {
293
- return $this.i2g_1.y1q($this, patchRegex$factory_2());
293
+ return $this.a2h_1.q1r($this, patchRegex$factory_2());
294
294
  }
295
295
  function _get_noneRegex__1tdbgi_0($this) {
296
- return $this.j2g_1.y1q($this, noneRegex$factory_2());
296
+ return $this.b2h_1.q1r($this, noneRegex$factory_2());
297
297
  }
298
298
  function _get_storyIdRegex__auqux8_0($this) {
299
- return $this.k2g_1.y1q($this, storyIdRegex$factory_2());
299
+ return $this.c2h_1.q1r($this, storyIdRegex$factory_2());
300
300
  }
301
301
  function _get_easeRegex__pf594o_0($this) {
302
- return $this.l2g_1.y1q($this, easeRegex$factory_2());
302
+ return $this.d2h_1.q1r($this, easeRegex$factory_2());
303
303
  }
304
304
  function _get_tagRegex__ibn0wy_0($this) {
305
- return $this.m2g_1.y1q($this, tagRegex$factory_2());
305
+ return $this.e2h_1.q1r($this, tagRegex$factory_2());
306
306
  }
307
307
  function _get_core__d4zfrg_0($this) {
308
308
  // Inline function 'kotlin.text.ifBlank' call
@@ -327,7 +327,7 @@
327
327
  tmp_2 = Regex_init_$Create$(tmp0_safe_receiver);
328
328
  }
329
329
  var tmp1_elvis_lhs = tmp_2;
330
- var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance_0().f1a_1 : tmp1_elvis_lhs;
330
+ var tmp_3 = tmp1_elvis_lhs == null ? Defaults_getInstance_0().v1a_1 : tmp1_elvis_lhs;
331
331
  var tmp2_safe_receiver = _get_minorRegex__20z96h_0($this);
332
332
  var tmp_4;
333
333
  if (tmp2_safe_receiver == null) {
@@ -338,7 +338,7 @@
338
338
  tmp_4 = Regex_init_$Create$(tmp2_safe_receiver);
339
339
  }
340
340
  var tmp3_elvis_lhs = tmp_4;
341
- var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().g1a_1 : tmp3_elvis_lhs;
341
+ var tmp_5 = tmp3_elvis_lhs == null ? Defaults_getInstance_0().w1a_1 : tmp3_elvis_lhs;
342
342
  var tmp4_safe_receiver = _get_patchRegex__mtlu2c_0($this);
343
343
  var tmp_6;
344
344
  if (tmp4_safe_receiver == null) {
@@ -349,7 +349,7 @@
349
349
  tmp_6 = Regex_init_$Create$(tmp4_safe_receiver);
350
350
  }
351
351
  var tmp5_elvis_lhs = tmp_6;
352
- var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().h1a_1 : tmp5_elvis_lhs;
352
+ var tmp_7 = tmp5_elvis_lhs == null ? Defaults_getInstance_0().x1a_1 : tmp5_elvis_lhs;
353
353
  var tmp6_safe_receiver = _get_noneRegex__1tdbgi_0($this);
354
354
  var tmp_8;
355
355
  if (tmp6_safe_receiver == null) {
@@ -360,7 +360,7 @@
360
360
  tmp_8 = Regex_init_$Create$(tmp6_safe_receiver);
361
361
  }
362
362
  var tmp7_elvis_lhs = tmp_8;
363
- var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().i1a_1 : tmp7_elvis_lhs;
363
+ var tmp_9 = tmp7_elvis_lhs == null ? Defaults_getInstance_0().y1a_1 : tmp7_elvis_lhs;
364
364
  var tmp8_safe_receiver = _get_storyIdRegex__auqux8_0($this);
365
365
  var tmp_10;
366
366
  if (tmp8_safe_receiver == null) {
@@ -371,7 +371,7 @@
371
371
  tmp_10 = Regex_init_$Create$(tmp8_safe_receiver);
372
372
  }
373
373
  var tmp9_elvis_lhs = tmp_10;
374
- var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().j1a_1 : tmp9_elvis_lhs;
374
+ var tmp_11 = tmp9_elvis_lhs == null ? Defaults_getInstance_0().z1a_1 : tmp9_elvis_lhs;
375
375
  var tmp10_safe_receiver = _get_easeRegex__pf594o_0($this);
376
376
  var tmp_12;
377
377
  if (tmp10_safe_receiver == null) {
@@ -382,7 +382,7 @@
382
382
  tmp_12 = Regex_init_$Create$(tmp10_safe_receiver);
383
383
  }
384
384
  var tmp11_elvis_lhs = tmp_12;
385
- var tmp_13 = new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance_0().k1a_1 : tmp11_elvis_lhs);
385
+ var tmp_13 = new MessageDigger(tmp_3, tmp_5, tmp_7, tmp_9, tmp_11, tmp11_elvis_lhs == null ? Defaults_getInstance_0().a1b_1 : tmp11_elvis_lhs);
386
386
  var tmp12_safe_receiver = _get_tagRegex__ibn0wy_0($this);
387
387
  var tmp_14;
388
388
  if (tmp12_safe_receiver == null) {
@@ -393,27 +393,27 @@
393
393
  tmp_14 = Regex_init_$Create$(tmp12_safe_receiver);
394
394
  }
395
395
  var tmp13_elvis_lhs = tmp_14;
396
- return new DiggerCore(tmp_0, tmp_1, tmp_13, tmp13_elvis_lhs == null ? Defaults_getInstance().c1a_1 : tmp13_elvis_lhs);
396
+ return new DiggerCore(tmp_0, tmp_1, tmp_13, tmp13_elvis_lhs == null ? Defaults_getInstance().s1a_1 : tmp13_elvis_lhs);
397
397
  }
398
398
  function CurrentContributionData() {
399
399
  CliktCommand.call(this);
400
- this.d2g_1 = argument(this, 'git-repo').a1r(this, dir$factory_1());
401
- this.e2g_1 = default_0(option(this, []), 'currentContributionData.json').l1r(this, outputFile$factory_1());
402
- this.f2g_1 = default_0(option(this, []), '').l1r(this, label$factory_1());
403
- this.g2g_1 = option(this, []).l1r(this, majorRegex$factory_1());
404
- this.h2g_1 = option(this, []).l1r(this, minorRegex$factory_1());
405
- this.i2g_1 = option(this, []).l1r(this, patchRegex$factory_1());
406
- this.j2g_1 = option(this, []).l1r(this, noneRegex$factory_1());
407
- this.k2g_1 = option(this, []).l1r(this, storyIdRegex$factory_1());
408
- this.l2g_1 = option(this, []).l1r(this, easeRegex$factory_1());
409
- this.m2g_1 = option(this, []).l1r(this, tagRegex$factory_1());
410
- }
411
- protoOf(CurrentContributionData).m1i = function () {
400
+ this.v2g_1 = argument(this, 'git-repo').s1r(this, dir$factory_1());
401
+ this.w2g_1 = default_0(option(this, []), 'currentContributionData.json').d1s(this, outputFile$factory_1());
402
+ this.x2g_1 = default_0(option(this, []), '').d1s(this, label$factory_1());
403
+ this.y2g_1 = option(this, []).d1s(this, majorRegex$factory_1());
404
+ this.z2g_1 = option(this, []).d1s(this, minorRegex$factory_1());
405
+ this.a2h_1 = option(this, []).d1s(this, patchRegex$factory_1());
406
+ this.b2h_1 = option(this, []).d1s(this, noneRegex$factory_1());
407
+ this.c2h_1 = option(this, []).d1s(this, storyIdRegex$factory_1());
408
+ this.d2h_1 = option(this, []).d1s(this, easeRegex$factory_1());
409
+ this.e2h_1 = option(this, []).d1s(this, tagRegex$factory_1());
410
+ }
411
+ protoOf(CurrentContributionData).c1j = function () {
412
412
  // Inline function 'kotlin.also' call
413
- writeToFile(toJsonString_0(_get_core__d4zfrg_0(this).d1a()), _get_outputFile__pta58u_0(this));
413
+ writeToFile(toJsonString_0(_get_core__d4zfrg_0(this).t1a()), _get_outputFile__pta58u_0(this));
414
414
  // Inline function 'kotlin.contracts.contract' call
415
415
  // Inline function 'com.zegreatrob.tools.digger.cli.CurrentContributionData.run.<anonymous>' call
416
- this.b1h('Data written to ' + _get_outputFile__pta58u_0(this));
416
+ this.r1h('Data written to ' + _get_outputFile__pta58u_0(this));
417
417
  return Unit_instance;
418
418
  };
419
419
  function dir$factory_1() {
@@ -525,8 +525,8 @@
525
525
  function Welcome() {
526
526
  CliktCommand.call(this);
527
527
  }
528
- protoOf(Welcome).m1i = function () {
529
- this.b1h('Welcome to Digger CLI.');
528
+ protoOf(Welcome).c1j = function () {
529
+ this.r1h('Welcome to Digger CLI.');
530
530
  };
531
531
  mainWrapper();
532
532
  return _;