tnp-helpers 19.0.65 → 19.0.67

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.
Files changed (211) hide show
  1. package/browser/README.md +24 -24
  2. package/browser/fesm2022/tnp-helpers.mjs +3459 -320
  3. package/browser/fesm2022/tnp-helpers.mjs.map +1 -1
  4. package/browser/lib/base/classes/base-cli-worker/base-cli-worker-config.d.ts +4 -0
  5. package/browser/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +3 -4
  6. package/browser/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +4 -3
  7. package/browser/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +86 -35
  8. package/browser/lib/base/classes/base-cli-worker/base-cli-worker.models.d.ts +45 -0
  9. package/browser/lib/base/classes/base-cli-worker/base-cli-worker.utils.d.ts +6 -0
  10. package/browser/lib/base/classes/base-cli-worker/index.d.ts +3 -1
  11. package/browser/lib/base/classes/base-docker.d.ts +4 -7
  12. package/browser/lib/base/classes/base-git.d.ts +2 -0
  13. package/browser/lib/base/classes/base-global-command-line.d.ts +265 -0
  14. package/browser/lib/base/classes/base-node-modules.d.ts +1 -0
  15. package/browser/lib/base/classes/base-npm-helpers.d.ts +1 -0
  16. package/browser/lib/base/classes/base-release-process.d.ts +3 -1
  17. package/browser/lib/base/classes/base-vscode.d.ts +1 -1
  18. package/browser/lib/base/classes/index.d.ts +2 -1
  19. package/browser/lib/base/gh-temp-code.d.ts +17 -0
  20. package/browser/lib/build-info._auto-generated_.d.ts +1 -1
  21. package/browser/lib/helpers/helpers.d.ts +0 -5
  22. package/browser/lib/utils.d.ts +24 -35
  23. package/browser/package.json +1 -1
  24. package/lib/base/classes/base-cli-worker/base-cli-worker-config.d.ts +4 -0
  25. package/lib/base/classes/base-cli-worker/base-cli-worker-config.js +4 -0
  26. package/lib/base/classes/base-cli-worker/base-cli-worker-config.js.map +1 -1
  27. package/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +3 -4
  28. package/lib/base/classes/base-cli-worker/base-cli-worker-controller.js +28 -15
  29. package/lib/base/classes/base-cli-worker/base-cli-worker-controller.js.map +1 -1
  30. package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +4 -3
  31. package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js +28 -9
  32. package/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.js.map +1 -1
  33. package/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +84 -33
  34. package/lib/base/classes/base-cli-worker/base-cli-worker.js +375 -209
  35. package/lib/base/classes/base-cli-worker/base-cli-worker.js.map +1 -1
  36. package/lib/base/classes/base-cli-worker/base-cli-worker.models.d.ts +44 -0
  37. package/lib/base/classes/base-cli-worker/base-cli-worker.models.js +35 -0
  38. package/lib/base/classes/base-cli-worker/base-cli-worker.models.js.map +1 -0
  39. package/lib/base/classes/base-cli-worker/base-cli-worker.utils.d.ts +5 -0
  40. package/lib/base/classes/base-cli-worker/base-cli-worker.utils.js +30 -0
  41. package/lib/base/classes/base-cli-worker/base-cli-worker.utils.js.map +1 -0
  42. package/lib/base/classes/base-cli-worker/index.d.ts +2 -0
  43. package/lib/base/classes/base-cli-worker/index.js +2 -0
  44. package/lib/base/classes/base-cli-worker/index.js.map +1 -1
  45. package/lib/base/classes/base-command-line-feature.backend.d.ts +47 -0
  46. package/lib/base/classes/base-command-line-feature.backend.js +147 -0
  47. package/lib/base/classes/base-command-line-feature.backend.js.map +1 -0
  48. package/lib/base/classes/base-docker.d.ts +4 -7
  49. package/lib/base/classes/base-docker.js +12 -18
  50. package/lib/base/classes/base-docker.js.map +1 -1
  51. package/lib/base/classes/base-git.d.ts +2 -0
  52. package/lib/base/classes/base-git.js +29 -9
  53. package/lib/base/classes/base-git.js.map +1 -1
  54. package/lib/base/classes/base-global-command-line.backend.d.ts +14 -1
  55. package/lib/base/classes/base-global-command-line.backend.js +463 -65
  56. package/lib/base/classes/base-global-command-line.backend.js.map +1 -1
  57. package/lib/base/classes/base-global-command-line.d.ts +271 -0
  58. package/lib/base/classes/base-global-command-line.js +2484 -0
  59. package/lib/base/classes/base-global-command-line.js.map +1 -0
  60. package/lib/base/classes/base-ignore-hide.js +4 -0
  61. package/lib/base/classes/base-ignore-hide.js.map +1 -1
  62. package/lib/base/classes/base-node-modules.d.ts +1 -0
  63. package/lib/base/classes/base-node-modules.js +22 -1
  64. package/lib/base/classes/base-node-modules.js.map +1 -1
  65. package/lib/base/classes/base-npm-helpers.d.ts +1 -0
  66. package/lib/base/classes/base-npm-helpers.js +2 -2
  67. package/lib/base/classes/base-npm-helpers.js.map +1 -1
  68. package/lib/base/classes/base-powershell.d.ts +1 -0
  69. package/lib/base/classes/base-powershell.js +13 -0
  70. package/lib/base/classes/base-powershell.js.map +1 -1
  71. package/lib/base/classes/base-process/base-process-api.service.d.ts +7 -0
  72. package/lib/base/classes/base-process/base-process.context.d.ts +19 -0
  73. package/lib/base/classes/base-process/base-process.context.js +22 -0
  74. package/lib/base/classes/base-process/base-process.context.js.map +1 -0
  75. package/lib/base/classes/base-process/base-process.controller.d.ts +17 -0
  76. package/lib/base/classes/base-process/base-process.controller.js +91 -0
  77. package/lib/base/classes/base-process/base-process.controller.js.map +1 -0
  78. package/lib/base/classes/base-process/base-process.d.ts +8 -0
  79. package/lib/base/classes/base-process/base-process.defaults-values.d.ts +2 -0
  80. package/lib/base/classes/base-process/base-process.defaults-values.js +9 -0
  81. package/lib/base/classes/base-process/base-process.defaults-values.js.map +1 -0
  82. package/lib/base/classes/base-process/base-process.js +62 -0
  83. package/lib/base/classes/base-process/base-process.js.map +1 -0
  84. package/lib/base/classes/base-process/base-process.models.d.ts +6 -0
  85. package/lib/base/classes/base-process/base-process.models.js +3 -0
  86. package/lib/base/classes/base-process/base-process.models.js.map +1 -0
  87. package/lib/base/classes/base-process/base-process.provider.d.ts +16 -0
  88. package/lib/base/classes/base-process/base-process.provider.js +69 -0
  89. package/lib/base/classes/base-process/base-process.provider.js.map +1 -0
  90. package/lib/base/classes/base-process/base-process.repository copy.d.ts +8 -0
  91. package/lib/base/classes/base-process/base-process.repository copy.js +32 -0
  92. package/lib/base/classes/base-process/base-process.repository copy.js.map +1 -0
  93. package/lib/base/classes/base-process/base-process.repository.d.ts +8 -0
  94. package/lib/base/classes/base-process/base-process.repository.js +32 -0
  95. package/lib/base/classes/base-process/base-process.repository.js.map +1 -0
  96. package/lib/base/classes/base-process/base-process.terminal-ui.d.ts +11 -0
  97. package/lib/base/classes/base-process/base-process.terminal-ui.js +54 -0
  98. package/lib/base/classes/base-process/base-process.terminal-ui.js.map +1 -0
  99. package/lib/base/classes/base-process/base-process.worker.d.ts +16 -0
  100. package/lib/base/classes/base-process/base-process.worker.js +29 -0
  101. package/lib/base/classes/base-process/base-process.worker.js.map +1 -0
  102. package/lib/base/classes/base-process/index.d.ts +1 -0
  103. package/lib/base/classes/base-process/index.js +22 -0
  104. package/lib/base/classes/base-process/index.js.map +1 -0
  105. package/lib/base/classes/base-process/processes.repository.d.ts +0 -0
  106. package/lib/base/classes/base-process/processes.repository.js +5 -0
  107. package/lib/base/classes/base-process/processes.repository.js.map +1 -0
  108. package/lib/base/classes/base-project-resolver.js +2 -1
  109. package/lib/base/classes/base-project-resolver.js.map +1 -1
  110. package/lib/base/classes/base-project.d.ts +1 -1
  111. package/lib/base/classes/base-project.js +8 -6
  112. package/lib/base/classes/base-project.js.map +1 -1
  113. package/lib/base/classes/base-release-process.d.ts +3 -1
  114. package/lib/base/classes/base-release-process.js +4 -3
  115. package/lib/base/classes/base-release-process.js.map +1 -1
  116. package/lib/base/classes/base-vscode.d.ts +1 -1
  117. package/lib/base/classes/base-vscode.js +9 -1
  118. package/lib/base/classes/base-vscode.js.map +1 -1
  119. package/lib/base/classes/index.d.ts +1 -1
  120. package/lib/base/classes/index.js +2 -4
  121. package/lib/base/classes/index.js.map +1 -1
  122. package/lib/base/tcp-udp-ports/not-assignable-port.entity.js +2 -2
  123. package/lib/base/tcp-udp-ports/ports.entity.d.ts +1 -1
  124. package/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.js +27 -14
  125. package/lib/base/tcp-udp-ports/tcp-upd-ports-terminal-ui.js.map +1 -1
  126. package/lib/build-info._auto-generated_.d.ts +1 -1
  127. package/lib/build-info._auto-generated_.js +1 -1
  128. package/lib/env/env.angular-node-app.d.ts +1 -2
  129. package/lib/env/env.angular-node-app.js +3 -4
  130. package/lib/env/env.angular-node-app.js.map +1 -1
  131. package/lib/env/env.docs-webapp.d.ts +1 -2
  132. package/lib/env/env.docs-webapp.js +3 -4
  133. package/lib/env/env.docs-webapp.js.map +1 -1
  134. package/lib/env/env.electron-app.d.ts +1 -2
  135. package/lib/env/env.electron-app.js +3 -4
  136. package/lib/env/env.electron-app.js.map +1 -1
  137. package/lib/env/env.mobile-app.d.ts +1 -2
  138. package/lib/env/env.mobile-app.js +3 -4
  139. package/lib/env/env.mobile-app.js.map +1 -1
  140. package/lib/env/env.npm-lib-and-cli-tool.d.ts +1 -2
  141. package/lib/env/env.npm-lib-and-cli-tool.js +3 -4
  142. package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -1
  143. package/lib/env/env.vscode-plugin.d.ts +1 -2
  144. package/lib/env/env.vscode-plugin.js +3 -4
  145. package/lib/env/env.vscode-plugin.js.map +1 -1
  146. package/lib/env-backend._auto-generated_.d.ts +34 -0
  147. package/lib/env-backend._auto-generated_.js +38 -0
  148. package/lib/env-backend._auto-generated_.js.map +1 -0
  149. package/lib/env-browser._auto-generated_.d.ts +34 -0
  150. package/lib/env-browser._auto-generated_.js +38 -0
  151. package/lib/env-browser._auto-generated_.js.map +1 -0
  152. package/lib/env.backend.d.ts +34 -0
  153. package/lib/env.backend.js +40 -0
  154. package/lib/env.backend.js.map +1 -0
  155. package/lib/env.browser.d.ts +34 -0
  156. package/lib/helpers/for-backend/helpers-dependencies.backend.d.ts +2 -0
  157. package/lib/helpers/for-backend/helpers-dependencies.backend.js +7 -0
  158. package/lib/helpers/for-backend/helpers-dependencies.backend.js.map +1 -0
  159. package/lib/helpers/for-backend/helpers-file-folders.js +11 -3
  160. package/lib/helpers/for-backend/helpers-file-folders.js.map +1 -1
  161. package/lib/helpers/for-backend/helpers-git.backend.d.ts +1 -0
  162. package/lib/helpers/for-backend/helpers-git.backend.js +46 -17
  163. package/lib/helpers/for-backend/helpers-git.backend.js.map +1 -1
  164. package/lib/helpers/for-browser/angular.helper.js +2 -2
  165. package/lib/helpers/helpers-numbers.js.map +1 -1
  166. package/lib/helpers/helpers.d.ts +0 -8
  167. package/lib/helpers/helpers.js +1 -55
  168. package/lib/helpers/helpers.js.map +1 -1
  169. package/lib/old/base-component.js +2 -2
  170. package/lib/old/base-formly-component.js +2 -2
  171. package/lib/old/dual-component-ctrl.js +2 -2
  172. package/lib/utils.d.ts +24 -35
  173. package/lib/utils.js +165 -105
  174. package/lib/utils.js.map +1 -1
  175. package/lib/validators/validators-firedev.d.ts +3 -0
  176. package/lib/validators/validators-firedev.js +34 -0
  177. package/lib/validators/validators-firedev.js.map +1 -0
  178. package/lib/validators/validators-git.d.ts +3 -0
  179. package/lib/validators/validators-git.js +13 -0
  180. package/lib/validators/validators-git.js.map +1 -0
  181. package/lib/validators/validators-network.d.ts +3 -0
  182. package/lib/validators/validators-network.js +19 -0
  183. package/lib/validators/validators-network.js.map +1 -0
  184. package/lib/validators/validators.d.ts +6 -0
  185. package/lib/validators/validators.js +11 -0
  186. package/lib/validators/validators.js.map +1 -0
  187. package/package.json +1 -1
  188. package/tmp-environment.json +33 -0
  189. package/websql/README.md +24 -24
  190. package/websql/fesm2022/tnp-helpers.mjs +3460 -321
  191. package/websql/fesm2022/tnp-helpers.mjs.map +1 -1
  192. package/websql/lib/base/classes/base-cli-worker/base-cli-worker-config.d.ts +4 -0
  193. package/websql/lib/base/classes/base-cli-worker/base-cli-worker-controller.d.ts +3 -4
  194. package/websql/lib/base/classes/base-cli-worker/base-cli-worker-terminal-ui.d.ts +4 -3
  195. package/websql/lib/base/classes/base-cli-worker/base-cli-worker.d.ts +86 -35
  196. package/websql/lib/base/classes/base-cli-worker/base-cli-worker.models.d.ts +45 -0
  197. package/websql/lib/base/classes/base-cli-worker/base-cli-worker.utils.d.ts +6 -0
  198. package/websql/lib/base/classes/base-cli-worker/index.d.ts +3 -1
  199. package/websql/lib/base/classes/base-docker.d.ts +4 -7
  200. package/websql/lib/base/classes/base-git.d.ts +2 -0
  201. package/websql/lib/base/classes/base-global-command-line.d.ts +265 -0
  202. package/websql/lib/base/classes/base-node-modules.d.ts +1 -0
  203. package/websql/lib/base/classes/base-npm-helpers.d.ts +1 -0
  204. package/websql/lib/base/classes/base-release-process.d.ts +3 -1
  205. package/websql/lib/base/classes/base-vscode.d.ts +1 -1
  206. package/websql/lib/base/classes/index.d.ts +2 -1
  207. package/websql/lib/base/gh-temp-code.d.ts +17 -0
  208. package/websql/lib/build-info._auto-generated_.d.ts +1 -1
  209. package/websql/lib/helpers/helpers.d.ts +0 -5
  210. package/websql/lib/utils.d.ts +24 -35
  211. package/websql/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { Subject } from 'rxjs';
2
- import { CoreModels, Utils, crossPlatformPath, path, _, CoreHelpers, UtilsTerminal, Helpers as Helpers$1, fse, chalk } from 'tnp-core/browser';
3
- import { CLASS } from 'typescript-class-helpers/browser';
1
+ import { Subject, BehaviorSubject } from 'rxjs';
2
+ import { CoreModels, Utils, crossPlatformPath, _, CoreHelpers, UtilsTerminal, chalk, path, Helpers as Helpers$1, fse, UtilsNetwork } from 'tnp-core/browser';
4
3
  import * as fuzzy from 'fuzzy';
5
4
  import { Level } from 'ng2-logger/browser';
5
+ import { CLASS } from 'typescript-class-helpers/browser';
6
6
  import { __decorate, __param, __metadata } from 'tslib';
7
- import { Taon, BaseContext } from 'taon/browser';
7
+ import { Taon, BaseClass, BaseContext } from 'taon/browser';
8
8
  import { config, folderName, fileName } from 'tnp-config/browser';
9
9
  import { IncCompiler, ChangeOfFile } from 'incremental-compiler/browser';
10
10
 
@@ -96,8 +96,6 @@ var HelpersAngular;
96
96
  })(HelpersAngular || (HelpersAngular = {}));
97
97
  //#endregion
98
98
 
99
- //#region imports
100
- /* */
101
99
  //#endregion
102
100
  //#region utils npm
103
101
  var UtilsNpm;
@@ -1524,8 +1522,6 @@ var UtilsQuickFixes;
1524
1522
  /* */
1525
1523
  /* */
1526
1524
  /* */
1527
- /* */
1528
- /* */
1529
1525
  return (void 0);
1530
1526
  };
1531
1527
  //#endregion
@@ -2350,119 +2346,236 @@ var UtilsPasswords;
2350
2346
  // })();
2351
2347
  })(UtilsPasswords || (UtilsPasswords = {}));
2352
2348
  //#endregion
2353
- //#region utils filepath metadata
2354
- var FilePathMetaData;
2355
- (function (FilePathMetaData) {
2356
- const TERMINATOR = 'xxxxx'; // terminates metadata block
2357
- const KV_SEPARATOR = '...'; // key/value separator
2358
- const PAIR_SEPARATOR = 'IxIxI'; // between pairs
2359
- //#region embed data into filename
2349
+ //#region utils docker
2350
+ var UtilsDocker;
2351
+ (function (UtilsDocker) {
2352
+ //#region utils docker / constants
2353
+ const DOCKER_TAON_PROJECT_LABEL_KEY = 'com.docker.compose.taon.project'; // change to your app name
2354
+ const DOCKER_TAON_PROJECT_LABEL_VALUE = 'true'; // change to your app name
2355
+ UtilsDocker.DOCKER_LABEL_KEY = 'com.docker.compose.project'; // change to your app name
2356
+ UtilsDocker.DOCKER_TAON_PROJECT_LABEL = `${DOCKER_TAON_PROJECT_LABEL_KEY}=${DOCKER_TAON_PROJECT_LABEL_VALUE}`;
2357
+ //#endregion
2358
+ //#region utils docker / clean images by docker label
2359
+ UtilsDocker.cleanImagesAndContainersByDockerLabel = async (labelKey, labelValue) => {
2360
+ /* */
2361
+ /* */
2362
+ /* */
2363
+ /* */
2364
+ /* */
2365
+ /* */
2366
+ /* */
2367
+ /* */
2368
+ /* */
2369
+ /* */
2370
+ /* */
2371
+ /* */
2372
+ /* */
2373
+ /* */
2374
+ /* */
2375
+ /* */
2376
+ /* */
2377
+ /* */
2378
+ /* */
2379
+ /* */
2380
+ /* */
2381
+ /* */
2382
+ /* */
2383
+ /* */
2384
+ /* */
2385
+ /* */
2386
+ /* */
2387
+ /* */
2388
+ /* */
2389
+ /* */
2390
+ /* */
2391
+ /* */
2392
+ /* */
2393
+ /* */
2394
+ /* */
2395
+ /* */
2396
+ /* */
2397
+ /* */
2398
+ /* */
2399
+ /* */
2400
+ /* */
2401
+ /* */
2402
+ return (void 0);
2403
+ };
2404
+ //#endregion
2405
+ //#region utils docker / get docker compose up/down command
2360
2406
  /**
2361
- * Embed metadata into filename while preserving the extension.
2407
+ * @returns cmd + args array
2408
+ * you can use with child_process.spawn
2409
+ * const [cmd, ...args] = getDockerComposeActionCommand('up');
2410
+ * child.spawn(cmd, args, { ... });
2362
2411
  *
2363
- * Example:
2364
- * embedData({ version: "1.2.3", envName: "__" }, "project.zip")
2365
- * -> "version|-|1.2.3||--||envName|-|__|||project.zip"
2412
+ * @param action 'up' | 'down'
2366
2413
  */
2367
- function embedData(data, orgFilename, options) {
2414
+ UtilsDocker.getDockerComposeActionCommand = (action, options) => {
2368
2415
  options = options || {};
2369
- const ext = path.extname(orgFilename);
2370
- const base = path.basename(orgFilename, ext);
2371
- const meta = Object.entries(data)
2372
- .map(([key, value]) => `${key}${KV_SEPARATOR}${value ?? ''}`)
2373
- .join(PAIR_SEPARATOR);
2374
- return `${meta}${TERMINATOR}${options.skipAddingBasenameAtEnd ? '' : base}${ext}`;
2375
- }
2376
- FilePathMetaData.embedData = embedData;
2416
+ options.skipBuild = !!options?.skipBuild;
2417
+ const composeFileName = options?.composeFileName || 'docker-compose.yml';
2418
+ return ['docker', 'compose', '-f', composeFileName].concat(action === 'up'
2419
+ ? options.skipBuild
2420
+ ? ['up']
2421
+ : ['up', '--build']
2422
+ : ['down']);
2423
+ };
2377
2424
  //#endregion
2378
- //#region extract data from filename
2379
- /**
2380
- * Extract metadata from filename (reverse of embedData).
2381
- *
2382
- * Example:
2383
- * extractData<{ version: string; env: string }>("myfile__version-1.2.3__env-prod.zip")
2384
- * -> { version: "1.2.3", env: "prod" }
2385
- */
2386
- function extractData(filename) {
2387
- const ext = path.extname(filename);
2388
- const thereIsNoExt = ext.includes('|') || ext.includes('-');
2389
- const base = thereIsNoExt ? filename : path.basename(filename, ext);
2390
- // Everything BEFORE the FIRST TERMINATOR
2391
- const idx = base.lastIndexOf(TERMINATOR);
2392
- const metaPart = idx >= 0 ? base.substring(0, idx) : base;
2393
- const data = {};
2394
- let cursor = 0;
2395
- while (cursor <= metaPart.length) {
2396
- const sepIdx = metaPart.indexOf(PAIR_SEPARATOR, cursor);
2397
- const segment = sepIdx === -1
2398
- ? metaPart.substring(cursor)
2399
- : metaPart.substring(cursor, sepIdx);
2400
- if (segment) {
2401
- const kvIdx = segment.indexOf(KV_SEPARATOR);
2402
- if (kvIdx > -1) {
2403
- const key = segment.substring(0, kvIdx);
2404
- const value = segment.substring(kvIdx + KV_SEPARATOR.length);
2405
- data[key] = value;
2406
- }
2407
- }
2408
- if (sepIdx === -1)
2409
- break;
2410
- cursor = sepIdx + PAIR_SEPARATOR.length;
2411
- }
2412
- return data;
2413
- }
2414
- FilePathMetaData.extractData = extractData;
2415
- //#endregion
2416
- //#region get only metadata string
2417
- FilePathMetaData.getOnlyMetadataString = (filename) => {
2418
- const ext = path.extname(filename);
2419
- const base = path.basename(filename, ext);
2420
- const idx = base.lastIndexOf(TERMINATOR);
2421
- if (idx === -1)
2422
- return ''; // no terminator
2423
- const metaPart = base.substring(0, idx);
2424
- if (!metaPart.trim())
2425
- return ''; // empty metadata
2426
- return metaPart;
2425
+ //#region utils docker / get docker compose up/down child process
2426
+ UtilsDocker.getDockerComposeActionChildProcess = (action, options) => {
2427
+ /* */
2428
+ /* */
2429
+ /* */
2430
+ /* */
2431
+ /* */
2432
+ /* */
2433
+ /* */
2434
+ /* */
2435
+ /* */
2436
+ /* */
2437
+ /* */
2438
+ /* */
2439
+ /* */
2440
+ /* */
2441
+ /* */
2442
+ /* */
2443
+ /* */
2444
+ /* */
2445
+ /* */
2446
+ /* */
2447
+ /* */
2448
+ /* */
2449
+ /* */
2450
+ /* */
2451
+ /* */
2452
+ /* */
2453
+ /* */
2454
+ return (void 0);
2427
2455
  };
2428
2456
  //#endregion
2429
- })(FilePathMetaData || (FilePathMetaData = {}));
2430
- //#endregion
2431
- //#region utils cli
2432
- /**
2433
- * Easy way to connect CLI commands to cli class methods.
2434
- *
2435
- * Example:
2436
- * in clic class
2437
- * $FirstCli {
2438
- *
2439
- * @UtilsCliMethod.decorator('doSomething')
2440
- * doSomething() {
2441
- * console.log('doing something');
2442
- * }
2443
- * }
2444
- *
2445
- * UtilsCliMethod.getFrom($FirstCli.prototype.doSomething) // "firstcli:dosomething"
2446
- *
2447
- */
2448
- var UtilsCliMethod;
2449
- (function (UtilsCliMethod) {
2450
- const CLI_METHOD_KEY = Symbol('cliMethod');
2451
- UtilsCliMethod.decorator = (methodName) => {
2452
- return (target, propertyKey, descriptor) => {
2453
- // If name not given, fallback to property key
2454
- Reflect.defineMetadata(CLI_METHOD_KEY, `${_.camelCase(CLASS.getName(target?.constructor)).toLowerCase()}` +
2455
- `:${_.camelCase(methodName ?? propertyKey).toLowerCase()}`, descriptor.value);
2456
- };
2457
+ //#region utils docker / remove all taon containers and images from docker
2458
+ UtilsDocker.removeAllTaonContainersAndImagesFromDocker = async () => {
2459
+ /* */
2460
+ /* */
2461
+ /* */
2462
+ /* */
2463
+ /* */
2464
+ return (void 0);
2457
2465
  };
2458
- UtilsCliMethod.getFrom = (ClassPrototypeMethodFnHere, globalMethod = false) => {
2459
- const fullCliMethodName = Reflect.getMetadata(CLI_METHOD_KEY, ClassPrototypeMethodFnHere);
2460
- if (globalMethod) {
2461
- return fullCliMethodName.split(':')[1];
2462
- }
2463
- return fullCliMethodName;
2466
+ //#endregion
2467
+ //#region utils docker / link podman as docker if necessary
2468
+ /**
2469
+ * @TODO @REFACTOR use async stuff
2470
+ */
2471
+ UtilsDocker.linkPodmanAsDockerIfNecessary = async () => {
2472
+ /* */
2473
+ /* */
2474
+ /* */
2475
+ /* */
2476
+ /* */
2477
+ /* */
2478
+ /* */
2479
+ /* */
2480
+ /* */
2481
+ /* */
2482
+ /* */
2483
+ /* */
2484
+ /* */
2485
+ /* */
2486
+ /* */
2487
+ /* */
2488
+ /* */
2489
+ /* */
2490
+ /* */
2491
+ /* */
2492
+ /* */
2493
+ /* */
2494
+ /* */
2495
+ /* */
2496
+ /* */
2497
+ /* */
2498
+ /* */
2499
+ /* */
2500
+ /* */
2501
+ /* */
2502
+ /* */
2503
+ /* */
2504
+ /* */
2505
+ /* */
2506
+ /* */
2507
+ /* */
2508
+ /* */
2509
+ /* */
2510
+ /* */
2511
+ /* */
2512
+ /* */
2513
+ /* */
2514
+ /* */
2515
+ /* */
2516
+ /* */
2517
+ /* */
2518
+ /* */
2519
+ /* */
2520
+ /* */
2521
+ /* */
2522
+ /* */
2523
+ /* */
2524
+ /* */
2525
+ /* */
2526
+ /* */
2527
+ /* */
2528
+ /* */
2529
+ /* */
2530
+ /* */
2531
+ /* */
2532
+ /* */
2533
+ /* */
2534
+ /* */
2535
+ /* */
2536
+ /* */
2537
+ /* */
2538
+ /* */
2539
+ /* */
2540
+ /* */
2541
+ /* */
2542
+ /* */
2543
+ /* */
2544
+ /* */
2545
+ /* */
2546
+ /* */
2547
+ /* */
2548
+ /* */
2549
+ /* */
2550
+ /* */
2551
+ /* */
2552
+ /* */
2553
+ /* */
2554
+ /* */
2555
+ /* */
2556
+ /* */
2557
+ /* */
2558
+ /* */
2559
+ /* */
2560
+ /* */
2561
+ /* */
2562
+ /* */
2563
+ /* */
2564
+ /* */
2565
+ /* */
2566
+ /* */
2567
+ /* */
2568
+ /* */
2569
+ /* */
2570
+ /* */
2571
+ /* */
2572
+ /* */
2573
+ /* */
2574
+ /* */
2575
+ return (void 0);
2464
2576
  };
2465
- })(UtilsCliMethod || (UtilsCliMethod = {}));
2577
+ //#endregion
2578
+ })(UtilsDocker || (UtilsDocker = {}));
2466
2579
  //#endregion
2467
2580
 
2468
2581
  class HelpersArrayObj {
@@ -4381,6 +4494,15 @@ class HelpersFileFolders {
4381
4494
  /* */
4382
4495
  /* */
4383
4496
  /* */
4497
+ /* */
4498
+ /* */
4499
+ /* */
4500
+ /* */
4501
+ /* */
4502
+ /* */
4503
+ /* */
4504
+ /* */
4505
+ /* */
4384
4506
  return (void 0);
4385
4507
  }
4386
4508
  filterDontCopy(basePathFoldersTosSkip, projectOrBasepath) {
@@ -4660,7 +4782,6 @@ class HelpersTaon extends CoreHelpers {
4660
4782
  /* */
4661
4783
  /* */
4662
4784
  /* */
4663
- /* */
4664
4785
  arrays = new HelpersArrayObj(), strings = new HelpersStrings(), numbers = new HelpersNumber(),
4665
4786
  //#region @browser
4666
4787
  browser = HelpersBrowser.instance, ng = HelpersAngular) {
@@ -4861,90 +4982,34 @@ class HelpersTaon extends CoreHelpers {
4861
4982
  /* */
4862
4983
  }
4863
4984
  //#endregion
4864
- //#region methods & getters / get local ip addresses
4865
- /**
4866
- * TODO fix this methods
4867
- */
4868
- async localIpAddress() {
4869
- /* */
4870
- /* */
4871
- /* */
4872
- /* */
4873
- /* */
4874
- /* */
4985
+ //#region methods & getters / mesure execution in ms
4986
+ async mesureExectionInMs(description, functionToExecute, ...functionArguments) {
4987
+ var start = new Date();
4988
+ await Helpers.runSyncOrAsync({
4989
+ functionFn: functionToExecute,
4990
+ arrayOfParams: functionArguments,
4991
+ });
4992
+ //@ts-ignore
4993
+ var end = new Date() - start;
4994
+ if (Helpers.isBrowser) {
4995
+ Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
4996
+ }
4875
4997
  /* */
4876
4998
  /* */
4877
4999
  /* */
4878
5000
  /* */
4879
- /* */
4880
- /* */
4881
- /* */
4882
- /* */
4883
- /* */
4884
- /* */
4885
- /* */
4886
- /* */
4887
- /* */
4888
- /* */
4889
- /* */
4890
- /* */
4891
- /* */
4892
- /* */
4893
- /* */
4894
- return (void 0);
4895
- }
4896
- //#endregion
4897
- //#region methods & getters / get all local ip addresses
4898
- allLocalIpAddresses() {
4899
- /* */
4900
- /* */
4901
- /* */
4902
- /* */
4903
- /* */
4904
- /* */
4905
- /* */
4906
- /* */
4907
- /* */
4908
- /* */
4909
- /* */
4910
- /* */
4911
- /* */
4912
- /* */
4913
- /* */
4914
- /* */
4915
- /* */
4916
- /* */
4917
- return (void 0);
4918
- }
4919
- //#endregion
4920
- //#region methods & getters / mesure execution in ms
4921
- async mesureExectionInMs(description, functionToExecute, ...functionArguments) {
4922
- var start = new Date();
4923
- await Helpers.runSyncOrAsync({
4924
- functionFn: functionToExecute,
4925
- arrayOfParams: functionArguments,
4926
- });
4927
- //@ts-ignore
4928
- var end = new Date() - start;
4929
- if (Helpers.isBrowser) {
4930
- Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
4931
- }
4932
- /* */
4933
- /* */
4934
- /* */
4935
- /* */
4936
- return end;
4937
- }
4938
- //#endregion
4939
- //#region methods & getters / mesure execution in ms (sync)
4940
- mesureExectionInMsSync(description, functionToExecute) {
4941
- var start = new Date();
4942
- functionToExecute();
4943
- //@ts-ignore
4944
- var end = new Date() - start;
4945
- if (Helpers.isBrowser) {
4946
- Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
4947
- }
5001
+ return end;
5002
+ }
5003
+ //#endregion
5004
+ //#region methods & getters / mesure execution in ms (sync)
5005
+ mesureExectionInMsSync(description, functionToExecute) {
5006
+ var start = new Date();
5007
+ functionToExecute();
5008
+ //@ts-ignore
5009
+ var end = new Date() - start;
5010
+ if (Helpers.isBrowser) {
5011
+ Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
5012
+ }
4948
5013
  /* */
4949
5014
  /* */
4950
5015
  /* */
@@ -5220,6 +5285,9 @@ Port = Port_1 = __decorate([
5220
5285
  class BaseCliWorkerTerminalUI {
5221
5286
  constructor(worker) {
5222
5287
  this.worker = worker;
5288
+ //#endregion
5289
+ //#region protected methods / info screen
5290
+ this.headerDisplayed = false;
5223
5291
  }
5224
5292
  //#region protected methods / text for header
5225
5293
  async headerText() {
@@ -5246,12 +5314,14 @@ class BaseCliWorkerTerminalUI {
5246
5314
  /* */
5247
5315
  /* */
5248
5316
  /* */
5317
+ /* */
5318
+ /* */
5319
+ /* */
5249
5320
  return (void 0);
5250
5321
  }
5251
5322
  //#endregion
5252
5323
  //#region protected methods / info message below header
5253
- async infoMessageBelowHeader() {
5254
- /* */
5324
+ async infoMessageBelowHeader(options) {
5255
5325
  /* */
5256
5326
  /* */
5257
5327
  /* */
@@ -5322,21 +5392,31 @@ class BaseCliWorkerTerminalUI {
5322
5392
  /* */
5323
5393
  /* */
5324
5394
  /* */
5325
- /* */
5326
- /* */
5327
5395
  return (void 0);
5328
5396
  }
5329
- //#endregion
5330
- //#region protected methods / info screen
5331
5397
  async infoScreen(options) {
5332
5398
  options = options || {};
5333
5399
  while (true) {
5334
5400
  if (!UtilsTerminal.isVerboseModeTaon()) {
5335
5401
  UtilsTerminal.clearConsole();
5336
5402
  }
5337
- await this.header();
5338
- await this.infoMessageBelowHeader();
5339
5403
  const choices = this.getWorkerTerminalActions(options);
5404
+ if (this.headerDisplayed) {
5405
+ await this.infoMessageBelowHeader();
5406
+ }
5407
+ else {
5408
+ this.headerDisplayed = true;
5409
+ await this.header();
5410
+ await UtilsTerminal.pressAnyKeyToContinueAsync({
5411
+ message: `\nWelcome to ${chalk.bold(this.worker.serviceID) +
5412
+ chalk.bold('@') +
5413
+ chalk.bold(this.worker.serviceVersion)} Terminal UI.` +
5414
+ `\n
5415
+ Press any key to continue...`,
5416
+ });
5417
+ UtilsTerminal.clearConsole();
5418
+ await this.infoMessageBelowHeader();
5419
+ }
5340
5420
  const choice = await UtilsTerminal.select({
5341
5421
  choices,
5342
5422
  question: 'Choose action',
@@ -5355,28 +5435,72 @@ class BaseCliWorkerTerminalUI {
5355
5435
  }
5356
5436
  }
5357
5437
 
5438
+ class BaseCliWorkerConfigGetContextOptions {
5439
+ }
5440
+ /**
5441
+ * Default mode: DETACHED_CHILD_PROCESS
5442
+ */
5443
+ var BaseCLiWorkerStartMode;
5444
+ (function (BaseCLiWorkerStartMode) {
5445
+ BaseCLiWorkerStartMode["CHILD_PROCESS"] = "child";
5446
+ BaseCLiWorkerStartMode["IN_CURRENT_PROCESS"] = "process";
5447
+ BaseCLiWorkerStartMode["DETACHED_WINDOW"] = "window";
5448
+ })(BaseCLiWorkerStartMode || (BaseCLiWorkerStartMode = {}));
5449
+ class BaseCLiWorkerStartParams {
5450
+ }
5451
+ class BaseCliMethodOptions extends BaseClass {
5452
+ static from(opt) {
5453
+ opt = opt ?? {};
5454
+ opt.cliParams = opt.cliParams ?? {};
5455
+ opt.connectionOptions = opt.connectionOptions ?? {};
5456
+ const res = new BaseCliMethodOptions().clone(opt);
5457
+ res.cliParams = _.merge(new BaseCLiWorkerStartParams(), opt.cliParams);
5458
+ res.cliParams.mode =
5459
+ res.cliParams.mode || BaseCLiWorkerStartMode.CHILD_PROCESS;
5460
+ res.connectionOptions = _.merge(new BaseCliWorkerConfigGetContextOptions(), opt.connectionOptions);
5461
+ return res;
5462
+ }
5463
+ }
5464
+
5465
+ //#region imports
5358
5466
  //#endregion
5359
5467
  //#region constants
5360
5468
  const WORKER_INIT_START_TIME_LIMIT = 25; // 15 seconds max to start worker
5361
5469
  const START_PORT_FOR_SERVICES = 3600;
5362
- //#endregion
5363
5470
  class BaseCliWorker {
5364
- // private workerRemoteContextFor: {
5365
- // [ipAddressOfTaonInstance: string]: ReturnType<typeof Taon.createContext>;
5366
- // } = {};
5367
- async getRemoteControllerFor(ipAddressOfTaonInstance, port) {
5368
- // this.workerRemoteContextFor[ipAddressOfTaonInstance] = remoteCtx;
5369
- const useHttps = ipAddressOfTaonInstance !== CoreModels.localhostIp127;
5370
- const protocol = useHttps ? 'https' : 'http';
5371
- const remoteCtx = this.workerContextTemplate().cloneAsRemote({
5372
- overrideRemoteHost: `${protocol}://${ipAddressOfTaonInstance}${port ? `:${port}` : ''}`,
5373
- });
5374
- const contextForRemoteConnection = await remoteCtx.initialize();
5375
- const taonProjectsController = contextForRemoteConnection.getInstanceBy(this.controllerClass);
5376
- return taonProjectsController;
5471
+ /**
5472
+ * Indicates if worker is part of cloud
5473
+ * and should use cloud ip address
5474
+ */
5475
+ static { this.isCloudEnable = new BehaviorSubject(false); }
5476
+ /**
5477
+ * Cloud ip address of the worker (if part of cloud)
5478
+ */
5479
+ static { this.cloudIp = new BehaviorSubject(null); }
5480
+ static { this.workers = new Map(); }
5481
+ /**
5482
+ * Name of the worker context
5483
+ */
5484
+ get contextName() {
5485
+ return this.workerContextTemplate().contextName;
5377
5486
  }
5378
- //#region fields & getters / path to process local info
5379
- get pathToProcessLocalInfoJson() {
5487
+ /**
5488
+ * Port where worker is running
5489
+ * (getter only accessible from host machine)
5490
+ */
5491
+ get port() {
5492
+ return this.processLocalInfoObj.port;
5493
+ }
5494
+ getWorkerInfoGuiUrl(options) {
5495
+ /* */
5496
+ /* */
5497
+ /* */
5498
+ /* */
5499
+ /* */
5500
+ /* */
5501
+ /* */
5502
+ /* */
5503
+ /* */
5380
5504
  /* */
5381
5505
  /* */
5382
5506
  /* */
@@ -5385,11 +5509,6 @@ class BaseCliWorker {
5385
5509
  /* */
5386
5510
  /* */
5387
5511
  /* */
5388
- return (void 0);
5389
- }
5390
- //#endregion
5391
- //#region fields & getters / process local info json object
5392
- get processLocalInfoObj() {
5393
5512
  /* */
5394
5513
  /* */
5395
5514
  /* */
@@ -5399,7 +5518,6 @@ class BaseCliWorker {
5399
5518
  return (void 0);
5400
5519
  }
5401
5520
  //#endregion
5402
- //#endregion
5403
5521
  //#region constructor
5404
5522
  constructor(
5405
5523
  /**
@@ -5419,18 +5537,49 @@ class BaseCliWorker {
5419
5537
  this.serviceVersion = serviceVersion;
5420
5538
  //#region fields & getters
5421
5539
  this.SPECIAL_WORKER_READY_MESSAGE = CoreModels.SPECIAL_WORKER_READY_MESSAGE;
5540
+ /**
5541
+ * dependency workers that should be started before this worker
5542
+ */
5543
+ this.dependencyWorkers = new Map();
5422
5544
  // @ts-ignore TODO weird inheritance problem
5423
5545
  this.terminalUI = new BaseCliWorkerTerminalUI(this);
5546
+ BaseCliWorker.workers.set(this.serviceID, this);
5547
+ }
5548
+ //#endregion
5549
+ //#region public
5550
+ static getAllWorkersStartedInSystemFromCurrentCli() {
5551
+ /* */
5552
+ /* */
5553
+ return (void 0);
5554
+ }
5555
+ //#region public fields & getters / process local info json object
5556
+ get processLocalInfoObj() {
5557
+ /* */
5558
+ /* */
5559
+ /* */
5560
+ /* */
5561
+ /* */
5562
+ /* */
5563
+ return (void 0);
5424
5564
  }
5425
5565
  //#endregion
5426
- //#region methods / start normally in current process
5566
+ //#region public methods / get remote controller
5567
+ async getRemoteControllerFor(options) {
5568
+ options = options || {};
5569
+ options.methodOptions = BaseCliMethodOptions.from(options.methodOptions);
5570
+ const remoteEndpointContext = await this.getRemoteContextFor(options);
5571
+ const taonProjectsController = remoteEndpointContext.getInstanceBy(options.controllerClass
5572
+ ? options.controllerClass
5573
+ : this.controllerClass);
5574
+ return taonProjectsController;
5575
+ }
5576
+ //#endregion
5577
+ //#region public methods / kill
5427
5578
  /**
5428
- * <strong>IMPORTANT USE ONLY IN DEVELOPMENT !!!</strong>
5429
- * for production use startDetachedIfNeedsToBeStarted()
5430
- * start normally process
5431
- * this will crash if process already started
5579
+ * stop if started
5432
5580
  */
5433
- async startNormallyInCurrentProcess(options) {
5581
+ async kill(options) {
5582
+ /* */
5434
5583
  /* */
5435
5584
  /* */
5436
5585
  /* */
@@ -5455,11 +5604,6 @@ class BaseCliWorker {
5455
5604
  /* */
5456
5605
  /* */
5457
5606
  /* */
5458
- return (void 0);
5459
- }
5460
- //#endregion
5461
- //#region methods / get controller for remote connection
5462
- async getControllerForRemoteConnection(options) {
5463
5607
  /* */
5464
5608
  /* */
5465
5609
  /* */
@@ -5470,6 +5614,43 @@ class BaseCliWorker {
5470
5614
  /* */
5471
5615
  /* */
5472
5616
  /* */
5617
+ /* */
5618
+ return (void 0);
5619
+ }
5620
+ //#endregion
5621
+ //#region public methods / restart
5622
+ /**
5623
+ * kill detached process and start again
5624
+ * @param options.detached - default true
5625
+ */
5626
+ async restart(options) {
5627
+ options = options || {};
5628
+ options.methodOptions = BaseCliMethodOptions.from(options.methodOptions);
5629
+ await this.kill({
5630
+ methodOptions: options.methodOptions,
5631
+ });
5632
+ //longer because os is disposing process previous process
5633
+ Helpers.info(`Restarting service "${this.serviceID}" ` +
5634
+ `in ${options.methodOptions.cliParams.mode} mode...`);
5635
+ if (options.methodOptions.cliParams.mode ===
5636
+ BaseCLiWorkerStartMode.IN_CURRENT_PROCESS) {
5637
+ await this.startNormallyInCurrentProcess({
5638
+ methodOptions: options.methodOptions,
5639
+ });
5640
+ }
5641
+ else {
5642
+ await this.startDetached({
5643
+ methodOptions: options.methodOptions,
5644
+ });
5645
+ }
5646
+ }
5647
+ //#endregion
5648
+ //#region public methods / cli start
5649
+ /**
5650
+ * only for cli start
5651
+ * @param cliParams on from cli
5652
+ */
5653
+ async cliStartProcedure(options) {
5473
5654
  /* */
5474
5655
  /* */
5475
5656
  /* */
@@ -5492,11 +5673,6 @@ class BaseCliWorker {
5492
5673
  /* */
5493
5674
  /* */
5494
5675
  /* */
5495
- return (void 0);
5496
- }
5497
- //#endregion
5498
- //#region public methods / start if needs to be started
5499
- async startDetachedIfNeedsToBeStarted(options) {
5500
5676
  /* */
5501
5677
  /* */
5502
5678
  /* */
@@ -5516,11 +5692,75 @@ class BaseCliWorker {
5516
5692
  return (void 0);
5517
5693
  }
5518
5694
  //#endregion
5519
- //#region public methods / kill
5520
- /**
5521
- * stop if started
5522
- */
5523
- async kill(options) {
5695
+ //#endregion
5696
+ //#region protected
5697
+ //#region protected methods / get remote context
5698
+ async getRemoteContextFor(options) {
5699
+ options = options || {};
5700
+ options.methodOptions = BaseCliMethodOptions.from(options.methodOptions);
5701
+ const ipAddressOfTaonInstance = options.methodOptions.connectionOptions.ipAddressOfTaonInstance ||
5702
+ CoreModels.localhostDomain;
5703
+ // on localhost read data from processLocalInfoObj json
5704
+ let port = options.methodOptions.connectionOptions.port ||
5705
+ this.processLocalInfoObj.port;
5706
+ if (ipAddressOfTaonInstance === CoreModels.localhostDomain && !port) {
5707
+ if (this.workerIsStarting) {
5708
+ try {
5709
+ await this.waitForProcessPortSavedToDisk({
5710
+ methodOptions: options.methodOptions.clone(opt => {
5711
+ opt.calledFrom = `${opt.calledFrom}.getRemoteContextFor.localhost`;
5712
+ return opt;
5713
+ }),
5714
+ });
5715
+ }
5716
+ catch (error) {
5717
+ console.error(`[getRemoteContextFor] Error while waiting for process port saved to disk`);
5718
+ }
5719
+ }
5720
+ if (this.processLocalInfoPortNotInited) {
5721
+ throw new Error(`Can't connect to remote context on localhost - port is not defined.
5722
+ This can happen when the worker process is not started yet.
5723
+ `);
5724
+ }
5725
+ else {
5726
+ port = this.processLocalInfoObj.port;
5727
+ }
5728
+ }
5729
+ // this.workerRemoteContextFor[ipAddressOfTaonInstance] = remoteCtx;
5730
+ const useHttps = ipAddressOfTaonInstance !== CoreModels.localhostDomain &&
5731
+ ipAddressOfTaonInstance !== CoreModels.localhostIp127;
5732
+ const protocol = useHttps ? 'https' : 'http';
5733
+ const overrideRemoteHost = `${protocol}://${ipAddressOfTaonInstance}${port ? `:${port}` : ''}`;
5734
+ const remoteCtx = this.workerContextTemplate().cloneAsRemote({
5735
+ overrideRemoteHost,
5736
+ });
5737
+ // @LAST chache remote context per ipAddressOfTaonInstance
5738
+ const remoteEndpoitnContext = await remoteCtx.initialize();
5739
+ return remoteEndpoitnContext;
5740
+ }
5741
+ //#endregion
5742
+ //#region protected fields & getters / path to process local info
5743
+ get pathToProcessLocalInfoJson() {
5744
+ /* */
5745
+ /* */
5746
+ /* */
5747
+ return (void 0);
5748
+ }
5749
+ //#endregion
5750
+ //#region protected fields & getters / should wait for process port saved to disk
5751
+ get processLocalInfoPortNotInited() {
5752
+ return (!this.processLocalInfoObj.port ||
5753
+ isNaN(Number(this.processLocalInfoObj.port)));
5754
+ }
5755
+ //#endregion
5756
+ //#region protected fields & getters / worker is starting
5757
+ get workerIsStarting() {
5758
+ return !!this.processLocalInfoObj.startTimestamp;
5759
+ }
5760
+ //#endregion
5761
+ //#region protected methods / start if needs to be started
5762
+ async startDetachedIfNeedsToBeStarted(options) {
5763
+ /* */
5524
5764
  /* */
5525
5765
  /* */
5526
5766
  /* */
@@ -5546,35 +5786,14 @@ class BaseCliWorker {
5546
5786
  return (void 0);
5547
5787
  }
5548
5788
  //#endregion
5549
- //#region public methods / restart
5550
- /**
5551
- * kill detached process and start again
5552
- * @param options.detached - default true
5553
- */
5554
- async restart(options) {
5555
- options = options || {};
5556
- options.detached = _.isUndefined(options.detached) ? true : false;
5557
- await this.kill();
5558
- //longer because os is disposing process previous process
5559
- if (options.detached) {
5560
- Helpers.info(`Restarting service "${this.serviceID}" in detached mode...`);
5561
- await this.startDetached(options);
5562
- }
5563
- else {
5564
- Helpers.info(`Restarting service "${this.serviceID}" in current process...`);
5565
- await this.startNormallyInCurrentProcess();
5566
- }
5567
- }
5568
- //#endregion
5569
- //#region public methods / cli start
5789
+ //#region protected methods / start normally in current process
5570
5790
  /**
5571
- * only for cli start
5572
- * @param cliParams on from cli
5791
+ * <strong>IMPORTANT USE ONLY IN DEVELOPMENT !!!</strong>
5792
+ * for production use startDetachedIfNeedsToBeStarted()
5793
+ * start normally process
5794
+ * this will crash if process already started
5573
5795
  */
5574
- async cliStartProcedure(cliParams) {
5575
- const detached = !!cliParams['detached'] || !!cliParams['detach'];
5576
- /* */
5577
- /* */
5796
+ async startNormallyInCurrentProcess(options) {
5578
5797
  /* */
5579
5798
  /* */
5580
5799
  /* */
@@ -5593,11 +5812,6 @@ class BaseCliWorker {
5593
5812
  /* */
5594
5813
  /* */
5595
5814
  /* */
5596
- return (void 0);
5597
- }
5598
- //#endregion
5599
- //#region prevent external config change
5600
- preventExternalConfigChange() {
5601
5815
  /* */
5602
5816
  /* */
5603
5817
  /* */
@@ -5612,11 +5826,6 @@ class BaseCliWorker {
5612
5826
  /* */
5613
5827
  /* */
5614
5828
  /* */
5615
- return (void 0);
5616
- }
5617
- //#endregion
5618
- //#region prevent prevent start if already started
5619
- async preventStartIfAlreadyStarted() {
5620
5829
  /* */
5621
5830
  /* */
5622
5831
  /* */
@@ -5633,9 +5842,8 @@ class BaseCliWorker {
5633
5842
  return (void 0);
5634
5843
  }
5635
5844
  //#endregion
5636
- //#region prevent kill worker with lower version
5637
- async killWorkerWithLowerVersion() {
5638
- /* */
5845
+ //#region protected methods / prevent external config change
5846
+ preventExternalConfigChange() {
5639
5847
  /* */
5640
5848
  /* */
5641
5849
  /* */
@@ -5650,6 +5858,11 @@ class BaseCliWorker {
5650
5858
  /* */
5651
5859
  /* */
5652
5860
  /* */
5861
+ return (void 0);
5862
+ }
5863
+ //#endregion
5864
+ //#region protected methods / prevent prevent start if already started
5865
+ async preventStartIfAlreadyStarted(options) {
5653
5866
  /* */
5654
5867
  /* */
5655
5868
  /* */
@@ -5672,13 +5885,74 @@ class BaseCliWorker {
5672
5885
  return (void 0);
5673
5886
  }
5674
5887
  //#endregion
5675
- //#region is service healthy
5676
- /**
5677
- * This has 2 purposes:
5678
- * - infinite check when when detached process finished starting
5679
- * - quick check if service is healthy / already started
5680
- */
5681
- async isServiceHealthy(options) {
5888
+ //#region protected methods / prevent kill worker with lower version
5889
+ async killWorkerWithLowerVersion(options) {
5890
+ /* */
5891
+ /* */
5892
+ /* */
5893
+ /* */
5894
+ /* */
5895
+ /* */
5896
+ /* */
5897
+ /* */
5898
+ /* */
5899
+ /* */
5900
+ /* */
5901
+ /* */
5902
+ /* */
5903
+ /* */
5904
+ /* */
5905
+ /* */
5906
+ /* */
5907
+ /* */
5908
+ /* */
5909
+ /* */
5910
+ /* */
5911
+ /* */
5912
+ /* */
5913
+ /* */
5914
+ /* */
5915
+ /* */
5916
+ /* */
5917
+ /* */
5918
+ /* */
5919
+ /* */
5920
+ /* */
5921
+ /* */
5922
+ /* */
5923
+ /* */
5924
+ /* */
5925
+ /* */
5926
+ /* */
5927
+ /* */
5928
+ /* */
5929
+ /* */
5930
+ /* */
5931
+ /* */
5932
+ /* */
5933
+ /* */
5934
+ /* */
5935
+ /* */
5936
+ return (void 0);
5937
+ }
5938
+ //#endregion
5939
+ //#region protected methods / is service healthy
5940
+ /**
5941
+ * This has 2 purposes:
5942
+ * - infinite check when when detached process finished starting
5943
+ * - quick check if service is healthy / already started
5944
+ */
5945
+ async isServiceHealthy(options) {
5946
+ /* */
5947
+ /* */
5948
+ /* */
5949
+ /* */
5950
+ /* */
5951
+ /* */
5952
+ /* */
5953
+ /* */
5954
+ /* */
5955
+ /* */
5682
5956
  /* */
5683
5957
  /* */
5684
5958
  /* */
@@ -5780,7 +6054,7 @@ class BaseCliWorker {
5780
6054
  return (void 0);
5781
6055
  }
5782
6056
  //#endregion
5783
- //#region start detached
6057
+ //#region protected methods / start detached
5784
6058
  /**
5785
6059
  * start if not started detached process
5786
6060
  */
@@ -5817,10 +6091,19 @@ class BaseCliWorker {
5817
6091
  /* */
5818
6092
  /* */
5819
6093
  /* */
6094
+ /* */
6095
+ /* */
6096
+ /* */
6097
+ /* */
6098
+ /* */
6099
+ /* */
6100
+ /* */
6101
+ /* */
6102
+ /* */
5820
6103
  return (void 0);
5821
6104
  }
5822
6105
  //#endregion
5823
- //#region save process info
6106
+ //#region protected methods / save process info
5824
6107
  saveProcessInfo(processConfig) {
5825
6108
  /* */
5826
6109
  /* */
@@ -5837,11 +6120,16 @@ class BaseCliWorker {
5837
6120
  /* */
5838
6121
  /* */
5839
6122
  /* */
6123
+ /* */
5840
6124
  return (void 0);
5841
6125
  }
5842
6126
  //#endregion
5843
- //#region initialize worker
5844
- async initializeWorkerMetadata() {
6127
+ //#region protected methods / initialize worker
6128
+ async initializeWorkerMetadata(options) {
6129
+ /* */
6130
+ /* */
6131
+ /* */
6132
+ /* */
5845
6133
  /* */
5846
6134
  /* */
5847
6135
  /* */
@@ -5878,7 +6166,7 @@ class BaseCliWorker {
5878
6166
  return (void 0);
5879
6167
  }
5880
6168
  //#endregion
5881
- //#region wait for process port saved to disk
6169
+ //#region protected methods / wait for process port saved to disk
5882
6170
  async waitForProcessPortSavedToDisk(options) {
5883
6171
  /* */
5884
6172
  /* */
@@ -5913,18 +6201,12 @@ class BaseCliWorker {
5913
6201
  /* */
5914
6202
  /* */
5915
6203
  /* */
6204
+ /* */
5916
6205
  return (void 0);
5917
6206
  }
5918
6207
  //#endregion
5919
- //#region get free port
6208
+ //#region protected methods / get free port
5920
6209
  async getServicePort() {
5921
- /* */
5922
- /* */
5923
- /* */
5924
- /* */
5925
- /* */
5926
- /* */
5927
- /* */
5928
6210
  /* */
5929
6211
  /* */
5930
6212
  /* */
@@ -5999,8 +6281,7 @@ class BaseCliWorkerConfig {
5999
6281
  }
6000
6282
  //#endregion
6001
6283
 
6002
- let BaseCliWorkerController = class BaseCliWorkerController extends Taon.Base
6003
- .Controller {
6284
+ let BaseCliWorkerController = class BaseCliWorkerController extends Taon.Base.Controller {
6004
6285
  constructor() {
6005
6286
  super(...arguments);
6006
6287
  /**
@@ -6021,7 +6302,20 @@ let BaseCliWorkerController = class BaseCliWorkerController extends Taon.Base
6021
6302
  }
6022
6303
  //#endregion
6023
6304
  //#region api methods / kill
6024
- baseCLiWorkerCommand_kill() {
6305
+ baseCLiWorkerCommand_kill(dontRemoveConfigFile) {
6306
+ /* */
6307
+ /* */
6308
+ /* */
6309
+ /* */
6310
+ /* */
6311
+ /* */
6312
+ /* */
6313
+ /* */
6314
+ /* */
6315
+ /* */
6316
+ /* */
6317
+ /* */
6318
+ /* */
6025
6319
  /* */
6026
6320
  /* */
6027
6321
  /* */
@@ -6045,6 +6339,10 @@ let BaseCliWorkerController = class BaseCliWorkerController extends Taon.Base
6045
6339
  /* */
6046
6340
  /* */
6047
6341
  /* */
6342
+ /* */
6343
+ /* */
6344
+ /* */
6345
+ /* */
6048
6346
  return (void 0);
6049
6347
  }
6050
6348
  //#endregion
@@ -6096,15 +6394,15 @@ __decorate([
6096
6394
  ], BaseCliWorkerController.prototype, "baseCLiWorkerCommand_initializeMetadata", null);
6097
6395
  __decorate([
6098
6396
  Taon.Http.GET(),
6397
+ __param(0, Taon.Http.Param.Query('dontRemoveConfigFile')),
6099
6398
  __metadata("design:type", Function),
6100
- __metadata("design:paramtypes", []),
6399
+ __metadata("design:paramtypes", [Boolean]),
6101
6400
  __metadata("design:returntype", Object)
6102
6401
  ], BaseCliWorkerController.prototype, "baseCLiWorkerCommand_kill", null);
6103
6402
  __decorate([
6104
- Taon.Http.GET({
6403
+ Taon.Http.HTML({
6105
6404
  pathIsGlobal: true,
6106
- // overrideContentType: 'text/html',
6107
- // overridResponseType: 'text',
6405
+ path: '/info',
6108
6406
  }),
6109
6407
  __metadata("design:type", Function),
6110
6408
  __metadata("design:paramtypes", []),
@@ -6130,6 +6428,32 @@ BaseCliWorkerController = __decorate([
6130
6428
  })
6131
6429
  ], BaseCliWorkerController);
6132
6430
 
6431
+ //#endregion
6432
+ var BaseCliWorkerUtils;
6433
+ (function (BaseCliWorkerUtils) {
6434
+ BaseCliWorkerUtils.getPathToProcessLocalInfoJson = (serviceID) => {
6435
+ /* */
6436
+ /* */
6437
+ /* */
6438
+ /* */
6439
+ /* */
6440
+ /* */
6441
+ /* */
6442
+ /* */
6443
+ return (void 0);
6444
+ };
6445
+ BaseCliWorkerUtils.getAllServicesFromOS = () => {
6446
+ /* */
6447
+ /* */
6448
+ /* */
6449
+ /* */
6450
+ /* */
6451
+ /* */
6452
+ /* */
6453
+ return (void 0);
6454
+ };
6455
+ })(BaseCliWorkerUtils || (BaseCliWorkerUtils = {}));
6456
+
6133
6457
  //#endregion
6134
6458
  let PortsController = class PortsController extends BaseCliWorkerController {
6135
6459
  constructor() {
@@ -6658,6 +6982,9 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6658
6982
  /* */
6659
6983
  /* */
6660
6984
  /* */
6985
+ /* */
6986
+ /* */
6987
+ /* */
6661
6988
  return (void 0);
6662
6989
  }
6663
6990
  //#endregion
@@ -6711,6 +7038,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6711
7038
  /* */
6712
7039
  /* */
6713
7040
  /* */
7041
+ /* */
7042
+ /* */
6714
7043
  return (void 0);
6715
7044
  }
6716
7045
  //#endregion
@@ -6756,6 +7085,10 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6756
7085
  /* */
6757
7086
  /* */
6758
7087
  /* */
7088
+ /* */
7089
+ /* */
7090
+ /* */
7091
+ /* */
6759
7092
  return (void 0);
6760
7093
  }
6761
7094
  //#endregion
@@ -6828,6 +7161,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6828
7161
  /* */
6829
7162
  /* */
6830
7163
  /* */
7164
+ /* */
7165
+ /* */
6831
7166
  return (void 0);
6832
7167
  }
6833
7168
  //#endregion
@@ -6870,6 +7205,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6870
7205
  /* */
6871
7206
  /* */
6872
7207
  /* */
7208
+ /* */
7209
+ /* */
6873
7210
  return (void 0);
6874
7211
  }
6875
7212
  }
@@ -6904,7 +7241,7 @@ const PROJECT_NPM_NAME = 'tnp-helpers';
6904
7241
  /**
6905
7242
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
6906
7243
  */
6907
- const CURRENT_PACKAGE_VERSION = '19.0.65';
7244
+ const CURRENT_PACKAGE_VERSION = '19.0.67';
6908
7245
  // THIS FILE IS GENERATED - DO NOT MODIFY
6909
7246
 
6910
7247
  //#endregion
@@ -6930,7 +7267,8 @@ class BaseProjectResolver {
6930
7267
  // if (!this.cliToolName) {
6931
7268
  // Helpers.throw(`cliToolName is not provided`);
6932
7269
  // }
6933
- this.portsWorker = new PortsWorker('ports-worker', `${this.cliToolName} startCliServicePortsWorker --skipCoreCheck`, CURRENT_PACKAGE_VERSION);
7270
+ this.portsWorker = new PortsWorker('ports-worker', // BaseGlobalCommandLine.prototype.startCliServicePortsWorker
7271
+ `${this.cliToolName} startCliServicePortsWorker --skipCoreCheck`, CURRENT_PACKAGE_VERSION);
6934
7272
  }
6935
7273
  //#endregion
6936
7274
  //#region fields & getters / allowed types
@@ -7936,7 +8274,9 @@ class BaseProject {
7936
8274
  }
7937
8275
  //#endregion
7938
8276
  //#region methods & getters / register and assign port
7939
- async registerAndAssignPort(taskName, options) {
8277
+ async registerAndAssignPort(taskName, options = {}) {
8278
+ /* */
8279
+ /* */
7940
8280
  /* */
7941
8281
  /* */
7942
8282
  /* */
@@ -9628,6 +9968,24 @@ class BaseNodeModules {
9628
9968
  return (void 0);
9629
9969
  }
9630
9970
  //#endregion
9971
+ //#region link node_modules to other project
9972
+ copyToProject(project) {
9973
+ /* */
9974
+ /* */
9975
+ /* */
9976
+ /* */
9977
+ /* */
9978
+ /* */
9979
+ /* */
9980
+ /* */
9981
+ /* */
9982
+ /* */
9983
+ /* */
9984
+ /* */
9985
+ /* */
9986
+ return (void 0);
9987
+ }
9988
+ //#endregion
9631
9989
  //#region link to project or location
9632
9990
  linkToLocation(location) {
9633
9991
  /* */
@@ -9743,6 +10101,9 @@ class BaseNodeModules {
9743
10101
  /* */
9744
10102
  /* */
9745
10103
  /* */
10104
+ /* */
10105
+ /* */
10106
+ /* */
9746
10107
  return (void 0);
9747
10108
  }
9748
10109
  //#endregion
@@ -11193,6 +11554,22 @@ class BaseGit extends BaseFeatureForProject {
11193
11554
  /* */
11194
11555
  /* */
11195
11556
  /* */
11557
+ /* */
11558
+ /* */
11559
+ /* */
11560
+ /* */
11561
+ /* */
11562
+ /* */
11563
+ /* */
11564
+ /* */
11565
+ /* */
11566
+ /* */
11567
+ /* */
11568
+ /* */
11569
+ /* */
11570
+ /* */
11571
+ /* */
11572
+ /* */
11196
11573
  return (void 0);
11197
11574
  }
11198
11575
  //#region methods & getters / has action commits to melt
@@ -11726,6 +12103,11 @@ class BaseGit extends BaseFeatureForProject {
11726
12103
  await this.project.linkedProjects.cloneNonexistedLinkedProjects(setOrigin);
11727
12104
  }
11728
12105
  }
12106
+ async backupBranch(branchName) {
12107
+ /* */
12108
+ /* */
12109
+ return (void 0);
12110
+ }
11729
12111
  //#region methods & getters / push process
11730
12112
  async pushProcess(options = {}) {
11731
12113
  /* */
@@ -12113,6 +12495,8 @@ class BaseGit extends BaseFeatureForProject {
12113
12495
  /* */
12114
12496
  /* */
12115
12497
  /* */
12498
+ /* */
12499
+ /* */
12116
12500
  return (void 0);
12117
12501
  }
12118
12502
  //#endregion
@@ -12350,8 +12734,11 @@ class BaseIgnoreHideHelpers extends BaseFeatureForProject {
12350
12734
  '.prettierc',
12351
12735
  'angular.json',
12352
12736
  '.prettierrc.json',
12737
+ '.eslintrc.js',
12353
12738
  '.eslintrc.json',
12354
12739
  '.npmrc',
12740
+ '.yarnrc',
12741
+ '.idea',
12355
12742
  ...this.project.linter.getLintFiles(),
12356
12743
  ];
12357
12744
  }
@@ -12360,6 +12747,7 @@ class BaseIgnoreHideHelpers extends BaseFeatureForProject {
12360
12747
  return [
12361
12748
  'tsconfig*',
12362
12749
  'webpack.*',
12750
+ '.eslintrc*',
12363
12751
  'tslint.*',
12364
12752
  linkeProjectPrefix ? `${linkeProjectPrefix}*` : void 0,
12365
12753
  ].filter(f => !!f);
@@ -12895,7 +13283,18 @@ class BaseVscodeHelpers extends BaseFeatureForProject {
12895
13283
  }
12896
13284
  //#endregion
12897
13285
  //#region apply proper global settings
12898
- async applyProperGlobalSettings() {
13286
+ static async applyProperGlobalSettings() {
13287
+ /* */
13288
+ /* */
13289
+ /* */
13290
+ /* */
13291
+ /* */
13292
+ /* */
13293
+ /* */
13294
+ /* */
13295
+ /* */
13296
+ /* */
13297
+ /* */
12899
13298
  /* */
12900
13299
  /* */
12901
13300
  /* */
@@ -13713,7 +14112,8 @@ class BaseReleaseProcess extends BaseFeatureForProject {
13713
14112
  }
13714
14113
  //#endregion
13715
14114
  //#region methods & getters / select release type
13716
- async selectReleaseType(versionToUseResolveFn) {
14115
+ async selectReleaseType(versionToUseResolveFn, options) {
14116
+ /* */
13717
14117
  /* */
13718
14118
  /* */
13719
14119
  /* */
@@ -14995,10 +15395,2749 @@ class BaseFileFoldersOperations extends BaseFeatureForProject {
14995
15395
  }
14996
15396
  }
14997
15397
 
15398
+ //#region imports
14998
15399
  /* */
14999
- /* */
15000
- /* */
15001
- /* */
15400
+ //#endregion
15401
+ class BaseGlobalCommandLine extends BaseCommandLineFeature {
15402
+ _() {
15403
+ Helpers.error('Please select git command');
15404
+ }
15405
+ //#region commands / prevent cwd is not project
15406
+ /**
15407
+ * TODO return argument not need for now
15408
+ */
15409
+ async cwdIsProject(options) {
15410
+ /* */
15411
+ /* */
15412
+ /* */
15413
+ /* */
15414
+ /* */
15415
+ /* */
15416
+ /* */
15417
+ /* */
15418
+ /* */
15419
+ /* */
15420
+ /* */
15421
+ /* */
15422
+ /* */
15423
+ /* */
15424
+ /* */
15425
+ /* */
15426
+ /* */
15427
+ /* */
15428
+ /* */
15429
+ /* */
15430
+ /* */
15431
+ /* */
15432
+ /* */
15433
+ /* */
15434
+ /* */
15435
+ /* */
15436
+ /* */
15437
+ /* */
15438
+ /* */
15439
+ /* */
15440
+ /* */
15441
+ /* */
15442
+ /* */
15443
+ /* */
15444
+ /* */
15445
+ /* */
15446
+ /* */
15447
+ /* */
15448
+ /* */
15449
+ /* */
15450
+ /* */
15451
+ /* */
15452
+ return (void 0);
15453
+ }
15454
+ //#endregion
15455
+ //#region commands / hosts
15456
+ hosts() {
15457
+ /* */
15458
+ /* */
15459
+ /* */
15460
+ /* */
15461
+ /* */
15462
+ return (void 0);
15463
+ }
15464
+ //#endregion
15465
+ //#region commands / count commits
15466
+ countCommits() {
15467
+ /* */
15468
+ /* */
15469
+ /* */
15470
+ return (void 0);
15471
+ }
15472
+ //#endregion
15473
+ //#region commands / remove submodules
15474
+ removeSubmodules() {
15475
+ /* */
15476
+ /* */
15477
+ /* */
15478
+ /* */
15479
+ /* */
15480
+ /* */
15481
+ /* */
15482
+ /* */
15483
+ /* */
15484
+ /* */
15485
+ /* */
15486
+ /* */
15487
+ /* */
15488
+ return (void 0);
15489
+ }
15490
+ removeSubmodule() {
15491
+ /* */
15492
+ /* */
15493
+ /* */
15494
+ /* */
15495
+ /* */
15496
+ /* */
15497
+ /* */
15498
+ /* */
15499
+ /* */
15500
+ /* */
15501
+ /* */
15502
+ return (void 0);
15503
+ }
15504
+ //#endregion
15505
+ //#region commands / set editor
15506
+ async setEditor() {
15507
+ /* */
15508
+ /* */
15509
+ /* */
15510
+ return (void 0);
15511
+ }
15512
+ //#endregion
15513
+ //#region commands / api update
15514
+ async upapi() {
15515
+ /* */
15516
+ /* */
15517
+ return (void 0);
15518
+ }
15519
+ async apiup() {
15520
+ /* */
15521
+ /* */
15522
+ return (void 0);
15523
+ }
15524
+ async apiUpdate() {
15525
+ /* */
15526
+ /* */
15527
+ /* */
15528
+ /* */
15529
+ /* */
15530
+ /* */
15531
+ /* */
15532
+ /* */
15533
+ /* */
15534
+ /* */
15535
+ /* */
15536
+ /* */
15537
+ /* */
15538
+ /* */
15539
+ /* */
15540
+ /* */
15541
+ return (void 0);
15542
+ }
15543
+ //#endregion
15544
+ //#region commands / chore update
15545
+ async cu() {
15546
+ /* */
15547
+ /* */
15548
+ return (void 0);
15549
+ }
15550
+ async choreUpdate() {
15551
+ /* */
15552
+ /* */
15553
+ return (void 0);
15554
+ }
15555
+ //#endregion
15556
+ //#region commands / color vscode
15557
+ colorvscode() {
15558
+ /* */
15559
+ /* */
15560
+ return (void 0);
15561
+ }
15562
+ //#endregion
15563
+ //#region commands / settings vscode
15564
+ /**
15565
+ * Generate or update .vscode/settings.json file color settings
15566
+ */
15567
+ settingsVscode() {
15568
+ /* */
15569
+ /* */
15570
+ return (void 0);
15571
+ }
15572
+ refreshVscodeColors() {
15573
+ /* */
15574
+ /* */
15575
+ /* */
15576
+ return (void 0);
15577
+ }
15578
+ _regenerateVscodeSettingsColors(overideBottomColor) {
15579
+ /* */
15580
+ /* */
15581
+ return (void 0);
15582
+ }
15583
+ //#endregion
15584
+ //#region commands / quick git update
15585
+ /**
15586
+ * quick git update push
15587
+ */
15588
+ async update() {
15589
+ /* */
15590
+ /* */
15591
+ /* */
15592
+ /* */
15593
+ /* */
15594
+ /* */
15595
+ /* */
15596
+ /* */
15597
+ /* */
15598
+ /* */
15599
+ /* */
15600
+ /* */
15601
+ /* */
15602
+ /* */
15603
+ /* */
15604
+ /* */
15605
+ return (void 0);
15606
+ }
15607
+ async updateProject(project, force = false) {
15608
+ /* */
15609
+ /* */
15610
+ /* */
15611
+ /* */
15612
+ /* */
15613
+ /* */
15614
+ /* */
15615
+ /* */
15616
+ /* */
15617
+ /* */
15618
+ /* */
15619
+ /* */
15620
+ /* */
15621
+ /* */
15622
+ /* */
15623
+ /* */
15624
+ /* */
15625
+ /* */
15626
+ /* */
15627
+ /* */
15628
+ /* */
15629
+ /* */
15630
+ return (void 0);
15631
+ }
15632
+ async deepUp(noExit = false) {
15633
+ /* */
15634
+ /* */
15635
+ return (void 0);
15636
+ }
15637
+ async upAll(noExit = false) {
15638
+ /* */
15639
+ /* */
15640
+ return (void 0);
15641
+ }
15642
+ async deepUpForce(noExit = false) {
15643
+ /* */
15644
+ /* */
15645
+ return (void 0);
15646
+ }
15647
+ async deepUpdateForce(noExit = false) {
15648
+ /* */
15649
+ /* */
15650
+ /* */
15651
+ /* */
15652
+ /* */
15653
+ /* */
15654
+ /* */
15655
+ /* */
15656
+ /* */
15657
+ /* */
15658
+ /* */
15659
+ /* */
15660
+ return (void 0);
15661
+ }
15662
+ async deepUpdate(noExit = false) {
15663
+ /* */
15664
+ /* */
15665
+ /* */
15666
+ /* */
15667
+ /* */
15668
+ /* */
15669
+ /* */
15670
+ /* */
15671
+ /* */
15672
+ /* */
15673
+ return (void 0);
15674
+ }
15675
+ /**
15676
+ * Push update
15677
+ */
15678
+ async up() {
15679
+ /* */
15680
+ /* */
15681
+ return (void 0);
15682
+ }
15683
+ /**
15684
+ * Push update
15685
+ */
15686
+ async pu() {
15687
+ /* */
15688
+ /* */
15689
+ return (void 0);
15690
+ }
15691
+ //#endregion
15692
+ //#region commands / develop
15693
+ async develop() {
15694
+ /* */
15695
+ /* */
15696
+ /* */
15697
+ /* */
15698
+ /* */
15699
+ /* */
15700
+ /* */
15701
+ /* */
15702
+ /* */
15703
+ /* */
15704
+ /* */
15705
+ /* */
15706
+ /* */
15707
+ /* */
15708
+ /* */
15709
+ /* */
15710
+ /* */
15711
+ /* */
15712
+ /* */
15713
+ /* */
15714
+ /* */
15715
+ /* */
15716
+ /* */
15717
+ /* */
15718
+ /* */
15719
+ /* */
15720
+ /* */
15721
+ /* */
15722
+ /* */
15723
+ /* */
15724
+ /* */
15725
+ /* */
15726
+ /* */
15727
+ /* */
15728
+ /* */
15729
+ /* */
15730
+ /* */
15731
+ /* */
15732
+ /* */
15733
+ /* */
15734
+ /* */
15735
+ /* */
15736
+ /* */
15737
+ /* */
15738
+ /* */
15739
+ /* */
15740
+ /* */
15741
+ /* */
15742
+ /* */
15743
+ /* */
15744
+ /* */
15745
+ /* */
15746
+ /* */
15747
+ /* */
15748
+ /* */
15749
+ /* */
15750
+ /* */
15751
+ /* */
15752
+ /* */
15753
+ /* */
15754
+ /* */
15755
+ /* */
15756
+ /* */
15757
+ /* */
15758
+ /* */
15759
+ /* */
15760
+ /* */
15761
+ /* */
15762
+ /* */
15763
+ /* */
15764
+ /* */
15765
+ /* */
15766
+ /* */
15767
+ /* */
15768
+ /* */
15769
+ /* */
15770
+ /* */
15771
+ /* */
15772
+ return (void 0);
15773
+ }
15774
+ async dev() {
15775
+ /* */
15776
+ /* */
15777
+ return (void 0);
15778
+ }
15779
+ //#endregion
15780
+ //#region commands / repulll
15781
+ async repul() {
15782
+ /* */
15783
+ /* */
15784
+ return (void 0);
15785
+ }
15786
+ async repull() {
15787
+ /* */
15788
+ /* */
15789
+ /* */
15790
+ /* */
15791
+ /* */
15792
+ /* */
15793
+ return (void 0);
15794
+ }
15795
+ //#endregion
15796
+ //#region commands / pull
15797
+ async pul() {
15798
+ /* */
15799
+ /* */
15800
+ return (void 0);
15801
+ }
15802
+ async pull() {
15803
+ /* */
15804
+ /* */
15805
+ /* */
15806
+ /* */
15807
+ /* */
15808
+ /* */
15809
+ /* */
15810
+ /* */
15811
+ return (void 0);
15812
+ }
15813
+ //#endregion
15814
+ //#region commands / pull all
15815
+ async pullAll() {
15816
+ /* */
15817
+ /* */
15818
+ /* */
15819
+ /* */
15820
+ /* */
15821
+ /* */
15822
+ /* */
15823
+ /* */
15824
+ return (void 0);
15825
+ }
15826
+ //#endregion
15827
+ //#region commands / push and pull
15828
+ async pp() {
15829
+ /* */
15830
+ /* */
15831
+ /* */
15832
+ /* */
15833
+ /* */
15834
+ /* */
15835
+ /* */
15836
+ /* */
15837
+ /* */
15838
+ return (void 0);
15839
+ }
15840
+ //#endregion
15841
+ //#region commands / reset
15842
+ __resetInfo(branchToReset, withChildren) {
15843
+ /* */
15844
+ /* */
15845
+ /* */
15846
+ /* */
15847
+ /* */
15848
+ /* */
15849
+ /* */
15850
+ /* */
15851
+ /* */
15852
+ /* */
15853
+ /* */
15854
+ /* */
15855
+ /* */
15856
+ /* */
15857
+ /* */
15858
+ /* */
15859
+ /* */
15860
+ /* */
15861
+ /* */
15862
+ return (void 0);
15863
+ }
15864
+ async fetch() {
15865
+ /* */
15866
+ /* */
15867
+ /* */
15868
+ /* */
15869
+ /* */
15870
+ return (void 0);
15871
+ }
15872
+ async reset() {
15873
+ /* */
15874
+ /* */
15875
+ /* */
15876
+ /* */
15877
+ /* */
15878
+ /* */
15879
+ /* */
15880
+ /* */
15881
+ /* */
15882
+ /* */
15883
+ /* */
15884
+ /* */
15885
+ /* */
15886
+ /* */
15887
+ /* */
15888
+ /* */
15889
+ /* */
15890
+ /* */
15891
+ /* */
15892
+ /* */
15893
+ /* */
15894
+ /* */
15895
+ /* */
15896
+ /* */
15897
+ /* */
15898
+ /* */
15899
+ /* */
15900
+ /* */
15901
+ /* */
15902
+ /* */
15903
+ /* */
15904
+ /* */
15905
+ /* */
15906
+ /* */
15907
+ /* */
15908
+ /* */
15909
+ /* */
15910
+ /* */
15911
+ /* */
15912
+ /* */
15913
+ /* */
15914
+ /* */
15915
+ /* */
15916
+ /* */
15917
+ /* */
15918
+ /* */
15919
+ /* */
15920
+ /* */
15921
+ /* */
15922
+ /* */
15923
+ /* */
15924
+ /* */
15925
+ /* */
15926
+ /* */
15927
+ /* */
15928
+ /* */
15929
+ /* */
15930
+ /* */
15931
+ /* */
15932
+ /* */
15933
+ /* */
15934
+ /* */
15935
+ /* */
15936
+ /* */
15937
+ /* */
15938
+ /* */
15939
+ /* */
15940
+ /* */
15941
+ /* */
15942
+ /* */
15943
+ /* */
15944
+ /* */
15945
+ /* */
15946
+ /* */
15947
+ /* */
15948
+ /* */
15949
+ /* */
15950
+ /* */
15951
+ /* */
15952
+ /* */
15953
+ /* */
15954
+ /* */
15955
+ /* */
15956
+ /* */
15957
+ /* */
15958
+ /* */
15959
+ /* */
15960
+ /* */
15961
+ /* */
15962
+ /* */
15963
+ return (void 0);
15964
+ }
15965
+ //#endregion
15966
+ //#region commands / soft
15967
+ async soft() {
15968
+ /* */
15969
+ /* */
15970
+ /* */
15971
+ /* */
15972
+ /* */
15973
+ /* */
15974
+ /* */
15975
+ /* */
15976
+ /* */
15977
+ /* */
15978
+ /* */
15979
+ /* */
15980
+ /* */
15981
+ /* */
15982
+ /* */
15983
+ return (void 0);
15984
+ }
15985
+ //#endregion
15986
+ //#region commands / rebase
15987
+ async rebase() {
15988
+ /* */
15989
+ /* */
15990
+ /* */
15991
+ /* */
15992
+ /* */
15993
+ /* */
15994
+ /* */
15995
+ /* */
15996
+ /* */
15997
+ /* */
15998
+ /* */
15999
+ /* */
16000
+ /* */
16001
+ /* */
16002
+ /* */
16003
+ /* */
16004
+ /* */
16005
+ /* */
16006
+ /* */
16007
+ /* */
16008
+ /* */
16009
+ /* */
16010
+ /* */
16011
+ /* */
16012
+ /* */
16013
+ /* */
16014
+ /* */
16015
+ /* */
16016
+ /* */
16017
+ /* */
16018
+ /* */
16019
+ /* */
16020
+ /* */
16021
+ /* */
16022
+ /* */
16023
+ /* */
16024
+ /* */
16025
+ /* */
16026
+ /* */
16027
+ /* */
16028
+ /* */
16029
+ /* */
16030
+ /* */
16031
+ /* */
16032
+ /* */
16033
+ /* */
16034
+ /* */
16035
+ /* */
16036
+ /* */
16037
+ /* */
16038
+ /* */
16039
+ /* */
16040
+ /* */
16041
+ /* */
16042
+ /* */
16043
+ /* */
16044
+ /* */
16045
+ /* */
16046
+ /* */
16047
+ /* */
16048
+ /* */
16049
+ /* */
16050
+ /* */
16051
+ /* */
16052
+ /* */
16053
+ /* */
16054
+ /* */
16055
+ /* */
16056
+ /* */
16057
+ /* */
16058
+ /* */
16059
+ /* */
16060
+ return (void 0);
16061
+ }
16062
+ //#endregion
16063
+ //#region commands / stash
16064
+ /**
16065
+ * stash only staged files
16066
+ */
16067
+ async stash() {
16068
+ /* */
16069
+ /* */
16070
+ /* */
16071
+ /* */
16072
+ /* */
16073
+ /* */
16074
+ /* */
16075
+ return (void 0);
16076
+ }
16077
+ //#endregion
16078
+ //#region commands / stash all
16079
+ /**
16080
+ * stash all files
16081
+ */
16082
+ async stashAll() {
16083
+ /* */
16084
+ /* */
16085
+ /* */
16086
+ /* */
16087
+ /* */
16088
+ /* */
16089
+ /* */
16090
+ return (void 0);
16091
+ }
16092
+ //#endregion
16093
+ //#region commands / push all origins
16094
+ /**
16095
+ * push force to all origins
16096
+ */
16097
+ async pushAllForce() {
16098
+ /* */
16099
+ /* */
16100
+ /* */
16101
+ /* */
16102
+ /* */
16103
+ return (void 0);
16104
+ }
16105
+ async pAllForce() {
16106
+ /* */
16107
+ /* */
16108
+ return (void 0);
16109
+ }
16110
+ async pAllf() {
16111
+ /* */
16112
+ /* */
16113
+ return (void 0);
16114
+ }
16115
+ async pAll() {
16116
+ /* */
16117
+ /* */
16118
+ return (void 0);
16119
+ }
16120
+ /**
16121
+ * push to all origins
16122
+ */
16123
+ async pushAll(force = false) {
16124
+ /* */
16125
+ /* */
16126
+ /* */
16127
+ /* */
16128
+ /* */
16129
+ /* */
16130
+ /* */
16131
+ /* */
16132
+ /* */
16133
+ /* */
16134
+ /* */
16135
+ /* */
16136
+ /* */
16137
+ /* */
16138
+ /* */
16139
+ /* */
16140
+ /* */
16141
+ /* */
16142
+ /* */
16143
+ /* */
16144
+ return (void 0);
16145
+ }
16146
+ //#endregion
16147
+ //#region commands / push force
16148
+ async forcePush() {
16149
+ /* */
16150
+ /* */
16151
+ return (void 0);
16152
+ }
16153
+ async pushForce() {
16154
+ /* */
16155
+ /* */
16156
+ return (void 0);
16157
+ }
16158
+ //#endregion
16159
+ //#region commands / commit
16160
+ /**
16161
+ * Commit and push this for single repo
16162
+ */
16163
+ async commit(options = {}) {
16164
+ /* */
16165
+ /* */
16166
+ /* */
16167
+ /* */
16168
+ /* */
16169
+ /* */
16170
+ /* */
16171
+ /* */
16172
+ /* */
16173
+ /* */
16174
+ /* */
16175
+ /* */
16176
+ /* */
16177
+ /* */
16178
+ /* */
16179
+ /* */
16180
+ /* */
16181
+ /* */
16182
+ /* */
16183
+ /* */
16184
+ /* */
16185
+ return (void 0);
16186
+ }
16187
+ //#endregion
16188
+ //#region commands / push
16189
+ async _preventPushPullFromNotCorrectBranch() {
16190
+ /* */
16191
+ /* */
16192
+ /* */
16193
+ /* */
16194
+ /* */
16195
+ /* */
16196
+ /* */
16197
+ /* */
16198
+ /* */
16199
+ /* */
16200
+ /* */
16201
+ /* */
16202
+ /* */
16203
+ /* */
16204
+ /* */
16205
+ /* */
16206
+ /* */
16207
+ /* */
16208
+ /* */
16209
+ /* */
16210
+ /* */
16211
+ /* */
16212
+ /* */
16213
+ /* */
16214
+ /* */
16215
+ /* */
16216
+ /* */
16217
+ /* */
16218
+ /* */
16219
+ /* */
16220
+ /* */
16221
+ /* */
16222
+ /* */
16223
+ /* */
16224
+ /* */
16225
+ /* */
16226
+ /* */
16227
+ /* */
16228
+ /* */
16229
+ /* */
16230
+ /* */
16231
+ /* */
16232
+ /* */
16233
+ /* */
16234
+ /* */
16235
+ return (void 0);
16236
+ }
16237
+ async qPush() {
16238
+ /* */
16239
+ /* */
16240
+ return (void 0);
16241
+ }
16242
+ async quickPush() {
16243
+ /* */
16244
+ /* */
16245
+ return (void 0);
16246
+ }
16247
+ async repushauto() {
16248
+ /* */
16249
+ /* */
16250
+ return (void 0);
16251
+ }
16252
+ async rePush(skipQuesion = false) {
16253
+ /* */
16254
+ /* */
16255
+ /* */
16256
+ /* */
16257
+ /* */
16258
+ /* */
16259
+ /* */
16260
+ /* */
16261
+ /* */
16262
+ /* */
16263
+ /* */
16264
+ /* */
16265
+ /* */
16266
+ /* */
16267
+ /* */
16268
+ /* */
16269
+ /* */
16270
+ /* */
16271
+ /* */
16272
+ /* */
16273
+ /* */
16274
+ /* */
16275
+ return (void 0);
16276
+ }
16277
+ async push(options = {}) {
16278
+ /* */
16279
+ /* */
16280
+ /* */
16281
+ /* */
16282
+ /* */
16283
+ /* */
16284
+ /* */
16285
+ /* */
16286
+ /* */
16287
+ /* */
16288
+ /* */
16289
+ /* */
16290
+ /* */
16291
+ /* */
16292
+ /* */
16293
+ /* */
16294
+ /* */
16295
+ /* */
16296
+ /* */
16297
+ /* */
16298
+ /* */
16299
+ /* */
16300
+ /* */
16301
+ /* */
16302
+ /* */
16303
+ /* */
16304
+ /* */
16305
+ /* */
16306
+ /* */
16307
+ /* */
16308
+ /* */
16309
+ /* */
16310
+ /* */
16311
+ /* */
16312
+ /* */
16313
+ /* */
16314
+ /* */
16315
+ /* */
16316
+ /* */
16317
+ /* */
16318
+ /* */
16319
+ /* */
16320
+ /* */
16321
+ /* */
16322
+ /* */
16323
+ return (void 0);
16324
+ }
16325
+ //#endregion
16326
+ //#region commands / melt
16327
+ async melt() {
16328
+ /* */
16329
+ /* */
16330
+ /* */
16331
+ /* */
16332
+ /* */
16333
+ /* */
16334
+ return (void 0);
16335
+ }
16336
+ //#endregion
16337
+ //#region commands / melt
16338
+ async meltUp() {
16339
+ /* */
16340
+ /* */
16341
+ /* */
16342
+ /* */
16343
+ /* */
16344
+ /* */
16345
+ /* */
16346
+ /* */
16347
+ /* */
16348
+ /* */
16349
+ /* */
16350
+ /* */
16351
+ /* */
16352
+ /* */
16353
+ /* */
16354
+ /* */
16355
+ /* */
16356
+ /* */
16357
+ /* */
16358
+ /* */
16359
+ /* */
16360
+ /* */
16361
+ /* */
16362
+ /* */
16363
+ /* */
16364
+ /* */
16365
+ /* */
16366
+ return (void 0);
16367
+ }
16368
+ //#endregion
16369
+ //#region commands / melt
16370
+ async meltAll() {
16371
+ /* */
16372
+ /* */
16373
+ /* */
16374
+ /* */
16375
+ /* */
16376
+ /* */
16377
+ /* */
16378
+ /* */
16379
+ /* */
16380
+ return (void 0);
16381
+ }
16382
+ //#endregion
16383
+ //#region commands / melt updat ecommits
16384
+ async __meltCommitsFunc(project, options) {
16385
+ /* */
16386
+ /* */
16387
+ /* */
16388
+ /* */
16389
+ /* */
16390
+ /* */
16391
+ /* */
16392
+ /* */
16393
+ /* */
16394
+ /* */
16395
+ return (void 0);
16396
+ }
16397
+ async meltUpdateCommits(options) {
16398
+ /* */
16399
+ /* */
16400
+ return (void 0);
16401
+ }
16402
+ //#endregion
16403
+ //#region commands / push feature
16404
+ async pf() {
16405
+ /* */
16406
+ /* */
16407
+ return (void 0);
16408
+ }
16409
+ async pRel() {
16410
+ /* */
16411
+ /* */
16412
+ return (void 0);
16413
+ }
16414
+ async pRelease() {
16415
+ /* */
16416
+ /* */
16417
+ return (void 0);
16418
+ }
16419
+ async pushRelease() {
16420
+ /* */
16421
+ /* */
16422
+ /* */
16423
+ /* */
16424
+ /* */
16425
+ /* */
16426
+ /* */
16427
+ /* */
16428
+ /* */
16429
+ return (void 0);
16430
+ }
16431
+ async mPush() {
16432
+ /* */
16433
+ /* */
16434
+ return (void 0);
16435
+ }
16436
+ async fmPush() {
16437
+ /* */
16438
+ /* */
16439
+ return (void 0);
16440
+ }
16441
+ async mfPush() {
16442
+ /* */
16443
+ /* */
16444
+ return (void 0);
16445
+ }
16446
+ async mforcePush() {
16447
+ /* */
16448
+ /* */
16449
+ return (void 0);
16450
+ }
16451
+ async meltforcePush() {
16452
+ /* */
16453
+ /* */
16454
+ return (void 0);
16455
+ }
16456
+ async forceMeltPush() {
16457
+ /* */
16458
+ /* */
16459
+ return (void 0);
16460
+ }
16461
+ async meltPush(force = false) {
16462
+ /* */
16463
+ /* */
16464
+ /* */
16465
+ /* */
16466
+ /* */
16467
+ /* */
16468
+ return (void 0);
16469
+ }
16470
+ async pushFeature() {
16471
+ /* */
16472
+ /* */
16473
+ /* */
16474
+ return (void 0);
16475
+ }
16476
+ //#endregion
16477
+ //#region commands / push fix
16478
+ async pushFix() {
16479
+ /* */
16480
+ /* */
16481
+ /* */
16482
+ return (void 0);
16483
+ }
16484
+ pfix() {
16485
+ /* */
16486
+ /* */
16487
+ return (void 0);
16488
+ }
16489
+ //#endregion
16490
+ //#region commands / push chore
16491
+ async pushChore() {
16492
+ /* */
16493
+ /* */
16494
+ /* */
16495
+ return (void 0);
16496
+ }
16497
+ async pc() {
16498
+ /* */
16499
+ /* */
16500
+ return (void 0);
16501
+ }
16502
+ //#endregion
16503
+ //#region commands / push refactor
16504
+ async pushRefactor() {
16505
+ /* */
16506
+ /* */
16507
+ /* */
16508
+ return (void 0);
16509
+ }
16510
+ async pushref() {
16511
+ /* */
16512
+ /* */
16513
+ return (void 0);
16514
+ }
16515
+ async pref() {
16516
+ /* */
16517
+ /* */
16518
+ return (void 0);
16519
+ }
16520
+ //#endregion
16521
+ //#region commands / push style
16522
+ async pushStyle() {
16523
+ /* */
16524
+ /* */
16525
+ /* */
16526
+ return (void 0);
16527
+ }
16528
+ async pstyl() {
16529
+ /* */
16530
+ /* */
16531
+ return (void 0);
16532
+ }
16533
+ async pstyle() {
16534
+ /* */
16535
+ /* */
16536
+ return (void 0);
16537
+ }
16538
+ //#endregion
16539
+ //#region commands / push docs
16540
+ async pushDocs() {
16541
+ /* */
16542
+ /* */
16543
+ /* */
16544
+ return (void 0);
16545
+ }
16546
+ async pd() {
16547
+ /* */
16548
+ /* */
16549
+ return (void 0);
16550
+ }
16551
+ async pdocs() {
16552
+ /* */
16553
+ /* */
16554
+ return (void 0);
16555
+ }
16556
+ //#endregion
16557
+ //#region commands / push test
16558
+ async pushTest() {
16559
+ /* */
16560
+ /* */
16561
+ /* */
16562
+ return (void 0);
16563
+ }
16564
+ async pTest() {
16565
+ /* */
16566
+ /* */
16567
+ return (void 0);
16568
+ }
16569
+ async pTests() {
16570
+ /* */
16571
+ /* */
16572
+ return (void 0);
16573
+ }
16574
+ //#endregion
16575
+ //#region commands / push perf
16576
+ async pushPerf() {
16577
+ /* */
16578
+ /* */
16579
+ /* */
16580
+ /* */
16581
+ /* */
16582
+ /* */
16583
+ return (void 0);
16584
+ }
16585
+ //#endregion
16586
+ //#region commands / push ci
16587
+ async pushCi() {
16588
+ /* */
16589
+ /* */
16590
+ /* */
16591
+ return (void 0);
16592
+ }
16593
+ //#endregion
16594
+ //#region commands / select branch
16595
+ async branch() {
16596
+ /* */
16597
+ /* */
16598
+ /* */
16599
+ /* */
16600
+ /* */
16601
+ /* */
16602
+ /* */
16603
+ /* */
16604
+ /* */
16605
+ /* */
16606
+ /* */
16607
+ /* */
16608
+ /* */
16609
+ /* */
16610
+ /* */
16611
+ /* */
16612
+ /* */
16613
+ /* */
16614
+ /* */
16615
+ /* */
16616
+ /* */
16617
+ /* */
16618
+ return (void 0);
16619
+ }
16620
+ //#endregion
16621
+ //#region commands / push build
16622
+ async pushBuild() {
16623
+ /* */
16624
+ /* */
16625
+ /* */
16626
+ return (void 0);
16627
+ }
16628
+ //#endregion
16629
+ //#region commands / set origin
16630
+ async SET_ORIGIN() {
16631
+ /* */
16632
+ /* */
16633
+ /* */
16634
+ /* */
16635
+ /* */
16636
+ /* */
16637
+ /* */
16638
+ /* */
16639
+ /* */
16640
+ /* */
16641
+ /* */
16642
+ /* */
16643
+ /* */
16644
+ /* */
16645
+ /* */
16646
+ /* */
16647
+ /* */
16648
+ /* */
16649
+ /* */
16650
+ /* */
16651
+ /* */
16652
+ /* */
16653
+ /* */
16654
+ /* */
16655
+ return (void 0);
16656
+ }
16657
+ //#endregion
16658
+ //#region commands / rename origin
16659
+ async RENAME_ORIGIN() {
16660
+ /* */
16661
+ /* */
16662
+ /* */
16663
+ /* */
16664
+ /* */
16665
+ /* */
16666
+ /* */
16667
+ /* */
16668
+ /* */
16669
+ /* */
16670
+ /* */
16671
+ /* */
16672
+ return (void 0);
16673
+ }
16674
+ //#endregion
16675
+ //#region commands / last hash tag
16676
+ async LAST_TAG_HASH() {
16677
+ /* */
16678
+ /* */
16679
+ /* */
16680
+ /* */
16681
+ /* */
16682
+ /* */
16683
+ return (void 0);
16684
+ }
16685
+ //#endregion
16686
+ //#region commands / last tag
16687
+ async LAST_TAG() {
16688
+ /* */
16689
+ /* */
16690
+ /* */
16691
+ /* */
16692
+ /* */
16693
+ /* */
16694
+ /* */
16695
+ /* */
16696
+ /* */
16697
+ /* */
16698
+ /* */
16699
+ /* */
16700
+ return (void 0);
16701
+ }
16702
+ //#endregion
16703
+ //#region commands / check tag exists
16704
+ CHECK_TAG_EXISTS() {
16705
+ /* */
16706
+ /* */
16707
+ /* */
16708
+ /* */
16709
+ /* */
16710
+ return (void 0);
16711
+ }
16712
+ //#endregion
16713
+ //#region commands / lint
16714
+ /**
16715
+ * TODO move somewhere
16716
+ */
16717
+ async lint() {
16718
+ /* */
16719
+ /* */
16720
+ /* */
16721
+ /* */
16722
+ /* */
16723
+ return (void 0);
16724
+ }
16725
+ //#endregion
16726
+ //#region commands / version
16727
+ /**
16728
+ * TODO move somewhere
16729
+ */
16730
+ async version() {
16731
+ /* */
16732
+ /* */
16733
+ /* */
16734
+ /* */
16735
+ /* */
16736
+ /* */
16737
+ return (void 0);
16738
+ }
16739
+ //#endregion
16740
+ //#region commands / init
16741
+ /**
16742
+ * TODO move somewhere
16743
+ */
16744
+ async init() {
16745
+ /* */
16746
+ /* */
16747
+ /* */
16748
+ /* */
16749
+ /* */
16750
+ /* */
16751
+ return (void 0);
16752
+ }
16753
+ /**
16754
+ * init parent and first level children
16755
+ */
16756
+ async initAll() {
16757
+ /* */
16758
+ /* */
16759
+ /* */
16760
+ /* */
16761
+ /* */
16762
+ /* */
16763
+ /* */
16764
+ /* */
16765
+ /* */
16766
+ return (void 0);
16767
+ }
16768
+ //#endregion
16769
+ //#region commands / struct
16770
+ /**
16771
+ * TODO move somewhere
16772
+ */
16773
+ async struct() {
16774
+ /* */
16775
+ /* */
16776
+ /* */
16777
+ /* */
16778
+ /* */
16779
+ /* */
16780
+ return (void 0);
16781
+ }
16782
+ //#endregion
16783
+ //#region commands / info
16784
+ /**
16785
+ * TODO move somewhere
16786
+ */
16787
+ async info() {
16788
+ /* */
16789
+ /* */
16790
+ /* */
16791
+ /* */
16792
+ /* */
16793
+ /* */
16794
+ /* */
16795
+ /* */
16796
+ /* */
16797
+ /* */
16798
+ /* */
16799
+ /* */
16800
+ return (void 0);
16801
+ }
16802
+ //#endregion
16803
+ //#region commands / info
16804
+ async modified() {
16805
+ /* */
16806
+ /* */
16807
+ /* */
16808
+ /* */
16809
+ /* */
16810
+ /* */
16811
+ /* */
16812
+ /* */
16813
+ /* */
16814
+ /* */
16815
+ /* */
16816
+ /* */
16817
+ /* */
16818
+ /* */
16819
+ /* */
16820
+ /* */
16821
+ /* */
16822
+ /* */
16823
+ /* */
16824
+ /* */
16825
+ /* */
16826
+ /* */
16827
+ /* */
16828
+ return (void 0);
16829
+ }
16830
+ //#endregion
16831
+ //#region commands / update
16832
+ async refresh() {
16833
+ /* */
16834
+ /* */
16835
+ /* */
16836
+ /* */
16837
+ /* */
16838
+ return (void 0);
16839
+ }
16840
+ //#endregion
16841
+ //#region commands / changes
16842
+ async changes() {
16843
+ /* */
16844
+ /* */
16845
+ /* */
16846
+ /* */
16847
+ /* */
16848
+ /* */
16849
+ /* */
16850
+ return (void 0);
16851
+ }
16852
+ //#endregion
16853
+ //#region commands / all tags
16854
+ async allTags() {
16855
+ /* */
16856
+ /* */
16857
+ /* */
16858
+ /* */
16859
+ /* */
16860
+ /* */
16861
+ /* */
16862
+ return (void 0);
16863
+ }
16864
+ //#endregion
16865
+ //#region commands / remove tag
16866
+ async removeTag() {
16867
+ /* */
16868
+ /* */
16869
+ /* */
16870
+ /* */
16871
+ /* */
16872
+ /* */
16873
+ /* */
16874
+ /* */
16875
+ /* */
16876
+ /* */
16877
+ /* */
16878
+ /* */
16879
+ /* */
16880
+ /* */
16881
+ /* */
16882
+ return (void 0);
16883
+ }
16884
+ //#endregion
16885
+ //#region commands / branch name
16886
+ BRANCH_NAME() {
16887
+ /* */
16888
+ /* */
16889
+ /* */
16890
+ /* */
16891
+ /* */
16892
+ return (void 0);
16893
+ }
16894
+ //#endregion
16895
+ //#region commands / remotes
16896
+ REMOTES() {
16897
+ /* */
16898
+ /* */
16899
+ /* */
16900
+ return (void 0);
16901
+ }
16902
+ async SET_REMOTE_SSH() {
16903
+ /* */
16904
+ /* */
16905
+ /* */
16906
+ return (void 0);
16907
+ }
16908
+ async SET_REMOTE_http() {
16909
+ /* */
16910
+ /* */
16911
+ /* */
16912
+ return (void 0);
16913
+ }
16914
+ async SET_REMOTE_https() {
16915
+ /* */
16916
+ /* */
16917
+ return (void 0);
16918
+ }
16919
+ _resolveChildFromArg() {
16920
+ /* */
16921
+ /* */
16922
+ /* */
16923
+ /* */
16924
+ /* */
16925
+ /* */
16926
+ /* */
16927
+ /* */
16928
+ /* */
16929
+ /* */
16930
+ return (void 0);
16931
+ }
16932
+ origin() {
16933
+ /* */
16934
+ /* */
16935
+ /* */
16936
+ /* */
16937
+ return (void 0);
16938
+ }
16939
+ remote() {
16940
+ /* */
16941
+ /* */
16942
+ /* */
16943
+ return (void 0);
16944
+ }
16945
+ originHttp() {
16946
+ /* */
16947
+ /* */
16948
+ /* */
16949
+ /* */
16950
+ /* */
16951
+ return (void 0);
16952
+ }
16953
+ originHttps() {
16954
+ /* */
16955
+ /* */
16956
+ /* */
16957
+ /* */
16958
+ /* */
16959
+ return (void 0);
16960
+ }
16961
+ originssh() {
16962
+ /* */
16963
+ /* */
16964
+ /* */
16965
+ /* */
16966
+ /* */
16967
+ return (void 0);
16968
+ }
16969
+ origins() {
16970
+ /* */
16971
+ /* */
16972
+ return (void 0);
16973
+ }
16974
+ //#endregion
16975
+ //#region commands / git config
16976
+ gitConfig() {
16977
+ /* */
16978
+ /* */
16979
+ /* */
16980
+ /* */
16981
+ return (void 0);
16982
+ }
16983
+ //#endregion
16984
+ //#region commands / lastCommitHash
16985
+ LAST_COMMIT_HASH() {
16986
+ /* */
16987
+ /* */
16988
+ /* */
16989
+ return (void 0);
16990
+ }
16991
+ //#endregion
16992
+ //#region commands / commit message by hash
16993
+ async COMMIT_MESSAGE_BY_HASH() {
16994
+ /* */
16995
+ /* */
16996
+ /* */
16997
+ /* */
16998
+ return (void 0);
16999
+ }
17000
+ //#endregion
17001
+ //#region commands / last 5 commit hashes
17002
+ async LAST_5_COMMITS() {
17003
+ /* */
17004
+ /* */
17005
+ /* */
17006
+ /* */
17007
+ /* */
17008
+ /* */
17009
+ return (void 0);
17010
+ }
17011
+ //#endregion
17012
+ //#region commands / update deps from
17013
+ async updateDepsFrom() {
17014
+ /* */
17015
+ /* */
17016
+ /* */
17017
+ /* */
17018
+ /* */
17019
+ /* */
17020
+ /* */
17021
+ /* */
17022
+ /* */
17023
+ /* */
17024
+ /* */
17025
+ /* */
17026
+ /* */
17027
+ /* */
17028
+ /* */
17029
+ return (void 0);
17030
+ }
17031
+ //#endregion
17032
+ //#region is terminal supported
17033
+ isSupportedTaonTerminal() {
17034
+ /* */
17035
+ /* */
17036
+ /* */
17037
+ return (void 0);
17038
+ }
17039
+ //#endregion
17040
+ //#region is terminal running inside cmd
17041
+ isRunningInWindowsCmd() {
17042
+ /* */
17043
+ /* */
17044
+ /* */
17045
+ /* */
17046
+ /* */
17047
+ return (void 0);
17048
+ }
17049
+ //#endregion
17050
+ //#region is running inside powershell
17051
+ isRunningInWindowsPowerShell() {
17052
+ /* */
17053
+ /* */
17054
+ /* */
17055
+ /* */
17056
+ /* */
17057
+ return (void 0);
17058
+ }
17059
+ //#endregion
17060
+ //#region prox ext
17061
+ async INSTALL_PROJECT_EXTENSIONS() {
17062
+ /* */
17063
+ /* */
17064
+ return (void 0);
17065
+ }
17066
+ async INSTALL_PROJECT_EXT() {
17067
+ /* */
17068
+ /* */
17069
+ return (void 0);
17070
+ }
17071
+ async INS_PROJ_EXT() {
17072
+ /* */
17073
+ /* */
17074
+ return (void 0);
17075
+ }
17076
+ async INSTALL_PROJ_EXT() {
17077
+ /* */
17078
+ /* */
17079
+ /* */
17080
+ /* */
17081
+ /* */
17082
+ /* */
17083
+ /* */
17084
+ /* */
17085
+ /* */
17086
+ /* */
17087
+ /* */
17088
+ /* */
17089
+ /* */
17090
+ /* */
17091
+ /* */
17092
+ /* */
17093
+ /* */
17094
+ return (void 0);
17095
+ }
17096
+ //#endregion
17097
+ //#region proj db
17098
+ async projdb() {
17099
+ /* */
17100
+ /* */
17101
+ /* */
17102
+ /* */
17103
+ /* */
17104
+ /* */
17105
+ /* */
17106
+ /* */
17107
+ /* */
17108
+ /* */
17109
+ /* */
17110
+ /* */
17111
+ /* */
17112
+ /* */
17113
+ return (void 0);
17114
+ }
17115
+ //#endregion
17116
+ //#region filter all project branches by pattern
17117
+ __filterBranchesByPattern(branchPatternOrBranchName) {
17118
+ /* */
17119
+ /* */
17120
+ /* */
17121
+ /* */
17122
+ /* */
17123
+ /* */
17124
+ /* */
17125
+ return (void 0);
17126
+ }
17127
+ //#endregion
17128
+ //#region select branch from list of branches
17129
+ async __selectBrach(branches, task) {
17130
+ /* */
17131
+ /* */
17132
+ /* */
17133
+ /* */
17134
+ /* */
17135
+ /* */
17136
+ /* */
17137
+ /* */
17138
+ /* */
17139
+ /* */
17140
+ /* */
17141
+ /* */
17142
+ /* */
17143
+ /* */
17144
+ /* */
17145
+ return (void 0);
17146
+ }
17147
+ //#endregion
17148
+ //#region commands / clone
17149
+ async clone() {
17150
+ /* */
17151
+ /* */
17152
+ /* */
17153
+ /* */
17154
+ /* */
17155
+ /* */
17156
+ /* */
17157
+ /* */
17158
+ /* */
17159
+ /* */
17160
+ /* */
17161
+ /* */
17162
+ /* */
17163
+ /* */
17164
+ /* */
17165
+ /* */
17166
+ /* */
17167
+ return (void 0);
17168
+ }
17169
+ //#endregion
17170
+ //#region commands / gh temp
17171
+ async ghSave() {
17172
+ /* */
17173
+ /* */
17174
+ /* */
17175
+ return (void 0);
17176
+ }
17177
+ async ghRestore() {
17178
+ /* */
17179
+ /* */
17180
+ /* */
17181
+ return (void 0);
17182
+ }
17183
+ //#endregion
17184
+ //#region commands / start cli service ports worker
17185
+ async ports() {
17186
+ /* */
17187
+ /* */
17188
+ return (void 0);
17189
+ }
17190
+ /**
17191
+ * tnp startCliServicePortsWorker --restart
17192
+ */
17193
+ async startCliServicePortsWorker() {
17194
+ /* */
17195
+ /* */
17196
+ /* */
17197
+ /* */
17198
+ /* */
17199
+ /* */
17200
+ /* */
17201
+ /* */
17202
+ /* */
17203
+ /* */
17204
+ return (void 0);
17205
+ }
17206
+ //#endregion
17207
+ //#region commands / wait for any key
17208
+ async waitForUserAnyKey() {
17209
+ /* */
17210
+ /* */
17211
+ /* */
17212
+ /* */
17213
+ /* */
17214
+ /* */
17215
+ return (void 0);
17216
+ }
17217
+ //#endregion
17218
+ //#region commands / pause terminal
17219
+ pauseTerminal() {
17220
+ /* */
17221
+ /* */
17222
+ /* */
17223
+ return (void 0);
17224
+ }
17225
+ //#endregion
17226
+ //#region commands / sleep terminal
17227
+ sleepTerminal() {
17228
+ /* */
17229
+ /* */
17230
+ /* */
17231
+ /* */
17232
+ return (void 0);
17233
+ }
17234
+ //#endregion
17235
+ //#region commands / gh pages init
17236
+ async ghPagesInit() {
17237
+ /* */
17238
+ /* */
17239
+ /* */
17240
+ /* */
17241
+ /* */
17242
+ /* */
17243
+ /* */
17244
+ /* */
17245
+ /* */
17246
+ /* */
17247
+ return (void 0);
17248
+ }
17249
+ //#endregion
17250
+ //#region commands / is port in use
17251
+ async isPortInUse() {
17252
+ /* */
17253
+ /* */
17254
+ /* */
17255
+ /* */
17256
+ return (void 0);
17257
+ }
17258
+ //#endregion
17259
+ //#region commands / proc menu
17260
+ /* */
17261
+ /* */
17262
+ /* */
17263
+ /* */
17264
+ /* */
17265
+ /* */
17266
+ /* */
17267
+ /* */
17268
+ /* */
17269
+ /* */
17270
+ /* */
17271
+ /* */
17272
+ /* */
17273
+ /* */
17274
+ /* */
17275
+ /* */
17276
+ /* */
17277
+ /* */
17278
+ /* */
17279
+ /* */
17280
+ /* */
17281
+ /* */
17282
+ /* */
17283
+ /* */
17284
+ /* */
17285
+ /* */
17286
+ /* */
17287
+ /* */
17288
+ /* */
17289
+ /* */
17290
+ /* */
17291
+ /* */
17292
+ /* */
17293
+ /* */
17294
+ /* */
17295
+ /* */
17296
+ /* */
17297
+ /* */
17298
+ /* */
17299
+ /* */
17300
+ /* */
17301
+ /* */
17302
+ /* */
17303
+ /* */
17304
+ /* */
17305
+ /* */
17306
+ /* */
17307
+ /* */
17308
+ /* */
17309
+ /* */
17310
+ /* */
17311
+ /* */
17312
+ /* */
17313
+ /* */
17314
+ /* */
17315
+ /* */
17316
+ /* */
17317
+ /* */
17318
+ //#endregion
17319
+ //#region commands / proc info
17320
+ procInfo() {
17321
+ /* */
17322
+ /* */
17323
+ return (void 0);
17324
+ }
17325
+ processInfo() {
17326
+ /* */
17327
+ /* */
17328
+ /* */
17329
+ /* */
17330
+ /* */
17331
+ /* */
17332
+ /* */
17333
+ /* */
17334
+ /* */
17335
+ /* */
17336
+ /* */
17337
+ /* */
17338
+ /* */
17339
+ /* */
17340
+ /* */
17341
+ /* */
17342
+ return (void 0);
17343
+ }
17344
+ //#endregion
17345
+ //#region commands / last git tag
17346
+ lastGitTag() {
17347
+ /* */
17348
+ /* */
17349
+ /* */
17350
+ /* */
17351
+ return (void 0);
17352
+ }
17353
+ //#endregion
17354
+ //#region commands / check ports
17355
+ async checkPort() {
17356
+ /* */
17357
+ /* */
17358
+ return (void 0);
17359
+ }
17360
+ async checkPorts() {
17361
+ /* */
17362
+ /* */
17363
+ /* */
17364
+ /* */
17365
+ /* */
17366
+ /* */
17367
+ /* */
17368
+ /* */
17369
+ /* */
17370
+ /* */
17371
+ /* */
17372
+ /* */
17373
+ /* */
17374
+ /* */
17375
+ /* */
17376
+ /* */
17377
+ /* */
17378
+ /* */
17379
+ /* */
17380
+ /* */
17381
+ /* */
17382
+ return (void 0);
17383
+ }
17384
+ //#endregion
17385
+ //#region commands / remove symlinks
17386
+ removeSymlinksDryRun() {
17387
+ /* */
17388
+ /* */
17389
+ /* */
17390
+ /* */
17391
+ return (void 0);
17392
+ }
17393
+ //#endregion
17394
+ //#region commands / select java
17395
+ async selectJava() {
17396
+ /* */
17397
+ /* */
17398
+ /* */
17399
+ return (void 0);
17400
+ }
17401
+ //#endregion
17402
+ //#region commands / select tomcat
17403
+ async selectTomcat() {
17404
+ /* */
17405
+ /* */
17406
+ /* */
17407
+ /* */
17408
+ return (void 0);
17409
+ }
17410
+ //#endregion
17411
+ //#region commands / ln
17412
+ LN() {
17413
+ /* */
17414
+ /* */
17415
+ /* */
17416
+ /* */
17417
+ return (void 0);
17418
+ }
17419
+ //#endregion
17420
+ //#region commands / copy
17421
+ copy() {
17422
+ /* */
17423
+ /* */
17424
+ /* */
17425
+ /* */
17426
+ /* */
17427
+ /* */
17428
+ /* */
17429
+ /* */
17430
+ /* */
17431
+ /* */
17432
+ /* */
17433
+ /* */
17434
+ /* */
17435
+ /* */
17436
+ /* */
17437
+ /* */
17438
+ /* */
17439
+ /* */
17440
+ /* */
17441
+ /* */
17442
+ /* */
17443
+ /* */
17444
+ /* */
17445
+ /* */
17446
+ /* */
17447
+ /* */
17448
+ /* */
17449
+ /* */
17450
+ return (void 0);
17451
+ }
17452
+ //#endregion
17453
+ //#region commands / simulate domain
17454
+ async simulateDomain() {
17455
+ /* */
17456
+ /* */
17457
+ /* */
17458
+ /* */
17459
+ return (void 0);
17460
+ }
17461
+ //#endregion
17462
+ //#region commands / preview
17463
+ async preview() {
17464
+ /* */
17465
+ /* */
17466
+ /* */
17467
+ /* */
17468
+ /* */
17469
+ /* */
17470
+ /* */
17471
+ /* */
17472
+ /* */
17473
+ /* */
17474
+ /* */
17475
+ /* */
17476
+ /* */
17477
+ /* */
17478
+ /* */
17479
+ /* */
17480
+ /* */
17481
+ /* */
17482
+ /* */
17483
+ /* */
17484
+ /* */
17485
+ /* */
17486
+ /* */
17487
+ /* */
17488
+ /* */
17489
+ /* */
17490
+ /* */
17491
+ /* */
17492
+ /* */
17493
+ /* */
17494
+ /* */
17495
+ /* */
17496
+ /* */
17497
+ /* */
17498
+ /* */
17499
+ /* */
17500
+ /* */
17501
+ /* */
17502
+ /* */
17503
+ /* */
17504
+ /* */
17505
+ /* */
17506
+ /* */
17507
+ /* */
17508
+ /* */
17509
+ /* */
17510
+ /* */
17511
+ /* */
17512
+ /* */
17513
+ /* */
17514
+ /* */
17515
+ /* */
17516
+ /* */
17517
+ /* */
17518
+ /* */
17519
+ /* */
17520
+ /* */
17521
+ /* */
17522
+ /* */
17523
+ /* */
17524
+ /* */
17525
+ /* */
17526
+ /* */
17527
+ /* */
17528
+ /* */
17529
+ /* */
17530
+ /* */
17531
+ /* */
17532
+ /* */
17533
+ /* */
17534
+ /* */
17535
+ /* */
17536
+ /* */
17537
+ /* */
17538
+ /* */
17539
+ /* */
17540
+ /* */
17541
+ /* */
17542
+ /* */
17543
+ /* */
17544
+ /* */
17545
+ /* */
17546
+ /* */
17547
+ /* */
17548
+ /* */
17549
+ /* */
17550
+ /* */
17551
+ /* */
17552
+ /* */
17553
+ /* */
17554
+ /* */
17555
+ /* */
17556
+ /* */
17557
+ /* */
17558
+ /* */
17559
+ /* */
17560
+ /* */
17561
+ /* */
17562
+ /* */
17563
+ /* */
17564
+ /* */
17565
+ /* */
17566
+ /* */
17567
+ /* */
17568
+ /* */
17569
+ /* */
17570
+ /* */
17571
+ /* */
17572
+ return (void 0);
17573
+ }
17574
+ //#endregion
17575
+ //#region commands / shorten
17576
+ /**
17577
+ * read huge file and display only lines with specyfic words
17578
+ */
17579
+ async shorten() {
17580
+ /* */
17581
+ /* */
17582
+ /* */
17583
+ /* */
17584
+ /* */
17585
+ /* */
17586
+ /* */
17587
+ /* */
17588
+ /* */
17589
+ /* */
17590
+ /* */
17591
+ /* */
17592
+ /* */
17593
+ /* */
17594
+ /* */
17595
+ /* */
17596
+ /* */
17597
+ /* */
17598
+ /* */
17599
+ /* */
17600
+ return (void 0);
17601
+ }
17602
+ //#endregion
17603
+ //#region commands / dump packages versions
17604
+ dumpPackagesVersions() {
17605
+ /* */
17606
+ /* */
17607
+ /* */
17608
+ /* */
17609
+ /* */
17610
+ /* */
17611
+ /* */
17612
+ /* */
17613
+ /* */
17614
+ /* */
17615
+ /* */
17616
+ /* */
17617
+ /* */
17618
+ /* */
17619
+ /* */
17620
+ /* */
17621
+ /* */
17622
+ /* */
17623
+ /* */
17624
+ /* */
17625
+ /* */
17626
+ /* */
17627
+ /* */
17628
+ /* */
17629
+ /* */
17630
+ /* */
17631
+ /* */
17632
+ /* */
17633
+ /* */
17634
+ /* */
17635
+ /* */
17636
+ /* */
17637
+ /* */
17638
+ return (void 0);
17639
+ }
17640
+ //#endregion
17641
+ //#region commands / zip
17642
+ async zip() {
17643
+ /* */
17644
+ /* */
17645
+ /* */
17646
+ /* */
17647
+ /* */
17648
+ /* */
17649
+ /* */
17650
+ /* */
17651
+ /* */
17652
+ /* */
17653
+ /* */
17654
+ /* */
17655
+ /* */
17656
+ /* */
17657
+ /* */
17658
+ /* */
17659
+ /* */
17660
+ /* */
17661
+ /* */
17662
+ /* */
17663
+ /* */
17664
+ /* */
17665
+ /* */
17666
+ /* */
17667
+ return (void 0);
17668
+ }
17669
+ //#endregion
17670
+ //#region commands / unzip
17671
+ async unzip() {
17672
+ /* */
17673
+ /* */
17674
+ /* */
17675
+ /* */
17676
+ /* */
17677
+ /* */
17678
+ /* */
17679
+ /* */
17680
+ /* */
17681
+ /* */
17682
+ /* */
17683
+ /* */
17684
+ /* */
17685
+ /* */
17686
+ /* */
17687
+ return (void 0);
17688
+ }
17689
+ //#endregion
17690
+ //#region commands / start transmission
17691
+ async startTransmission() {
17692
+ /* */
17693
+ /* */
17694
+ /* */
17695
+ /* */
17696
+ /* */
17697
+ /* */
17698
+ /* */
17699
+ /* */
17700
+ /* */
17701
+ /* */
17702
+ /* */
17703
+ /* */
17704
+ /* */
17705
+ /* */
17706
+ /* */
17707
+ /* */
17708
+ /* */
17709
+ /* */
17710
+ /* */
17711
+ /* */
17712
+ /* */
17713
+ /* */
17714
+ /* */
17715
+ /* */
17716
+ /* */
17717
+ /* */
17718
+ /* */
17719
+ /* */
17720
+ /* */
17721
+ /* */
17722
+ /* */
17723
+ /* */
17724
+ /* */
17725
+ /* */
17726
+ /* */
17727
+ /* */
17728
+ /* */
17729
+ /* */
17730
+ /* */
17731
+ /* */
17732
+ /* */
17733
+ /* */
17734
+ /* */
17735
+ /* */
17736
+ /* */
17737
+ /* */
17738
+ /* */
17739
+ /* */
17740
+ /* */
17741
+ /* */
17742
+ /* */
17743
+ /* */
17744
+ /* */
17745
+ /* */
17746
+ /* */
17747
+ /* */
17748
+ /* */
17749
+ return (void 0);
17750
+ }
17751
+ async _removeTransmission() {
17752
+ /* */
17753
+ /* */
17754
+ /* */
17755
+ /* */
17756
+ /* */
17757
+ /* */
17758
+ /* */
17759
+ /* */
17760
+ /* */
17761
+ /* */
17762
+ /* */
17763
+ /* */
17764
+ /* */
17765
+ /* */
17766
+ /* */
17767
+ /* */
17768
+ /* */
17769
+ /* */
17770
+ /* */
17771
+ /* */
17772
+ return (void 0);
17773
+ }
17774
+ //#endregion
17775
+ //#region commands / backup branch
17776
+ async backupBranch() {
17777
+ /* */
17778
+ /* */
17779
+ /* */
17780
+ return (void 0);
17781
+ }
17782
+ async bb() {
17783
+ /* */
17784
+ /* */
17785
+ return (void 0);
17786
+ }
17787
+ //#endregion
17788
+ //#region commands / count code lines
17789
+ async countCodeLines() {
17790
+ /* */
17791
+ /* */
17792
+ return (void 0);
17793
+ }
17794
+ async countCode() {
17795
+ /* */
17796
+ /* */
17797
+ return (void 0);
17798
+ }
17799
+ async countLines() {
17800
+ /* */
17801
+ /* */
17802
+ /* */
17803
+ /* */
17804
+ /* */
17805
+ /* */
17806
+ /* */
17807
+ /* */
17808
+ /* */
17809
+ /* */
17810
+ /* */
17811
+ /* */
17812
+ /* */
17813
+ /* */
17814
+ /* */
17815
+ /* */
17816
+ /* */
17817
+ /* */
17818
+ /* */
17819
+ /* */
17820
+ /* */
17821
+ /* */
17822
+ /* */
17823
+ /* */
17824
+ /* */
17825
+ /* */
17826
+ /* */
17827
+ /* */
17828
+ /* */
17829
+ /* */
17830
+ /* */
17831
+ /* */
17832
+ /* */
17833
+ /* */
17834
+ /* */
17835
+ /* */
17836
+ /* */
17837
+ /* */
17838
+ /* */
17839
+ /* */
17840
+ /* */
17841
+ /* */
17842
+ /* */
17843
+ /* */
17844
+ /* */
17845
+ /* */
17846
+ /* */
17847
+ /* */
17848
+ /* */
17849
+ /* */
17850
+ /* */
17851
+ /* */
17852
+ /* */
17853
+ /* */
17854
+ /* */
17855
+ /* */
17856
+ /* */
17857
+ /* */
17858
+ return (void 0);
17859
+ }
17860
+ //#endregion
17861
+ //#region commands / is node version ok
17862
+ isNodeVersionOk() {
17863
+ /* */
17864
+ /* */
17865
+ /* */
17866
+ /* */
17867
+ /* */
17868
+ /* */
17869
+ /* */
17870
+ /* */
17871
+ /* */
17872
+ /* */
17873
+ /* */
17874
+ return (void 0);
17875
+ }
17876
+ //#endregion
17877
+ //#region commands / pwd
17878
+ pwd() {
17879
+ config.frameworkName = 'taon';
17880
+ console.log(crossPlatformPath(this.cwd));
17881
+ this._exit();
17882
+ }
17883
+ //#endregion
17884
+ //#region commands / less-more big text files preview
17885
+ async more() {
17886
+ /* */
17887
+ /* */
17888
+ /* */
17889
+ /* */
17890
+ /* */
17891
+ /* */
17892
+ /* */
17893
+ /* */
17894
+ /* */
17895
+ return (void 0);
17896
+ }
17897
+ async less() {
17898
+ /* */
17899
+ /* */
17900
+ return (void 0);
17901
+ }
17902
+ //#endregion
17903
+ //#region commands / mp3
17904
+ /**
17905
+ * npm install --global bin-version-check-cli
17906
+ * npm i -g yt-dlp
17907
+ * choco install ffmpeg
17908
+ */
17909
+ MP3(args) {
17910
+ /* */
17911
+ /* */
17912
+ /* */
17913
+ /* */
17914
+ /* */
17915
+ /* */
17916
+ /* */
17917
+ /* */
17918
+ /* */
17919
+ /* */
17920
+ /* */
17921
+ /* */
17922
+ /* */
17923
+ /* */
17924
+ /* */
17925
+ /* */
17926
+ /* */
17927
+ /* */
17928
+ /* */
17929
+ return (void 0);
17930
+ }
17931
+ //#endregion
17932
+ //#region commands / mp4
17933
+ MP4(args) {
17934
+ /* */
17935
+ /* */
17936
+ /* */
17937
+ /* */
17938
+ /* */
17939
+ /* */
17940
+ /* */
17941
+ /* */
17942
+ /* */
17943
+ /* */
17944
+ /* */
17945
+ /* */
17946
+ /* */
17947
+ /* */
17948
+ /* */
17949
+ /* */
17950
+ return (void 0);
17951
+ }
17952
+ //#endregion
17953
+ //#region commands / gif from video
17954
+ gif() {
17955
+ /* */
17956
+ /* */
17957
+ /* */
17958
+ /* */
17959
+ /* */
17960
+ /* */
17961
+ /* */
17962
+ /* */
17963
+ /* */
17964
+ /* */
17965
+ /* */
17966
+ /* */
17967
+ /* */
17968
+ /* */
17969
+ /* */
17970
+ /* */
17971
+ /* */
17972
+ /* */
17973
+ /* */
17974
+ /* */
17975
+ /* */
17976
+ /* */
17977
+ /* */
17978
+ /* */
17979
+ /* */
17980
+ /* */
17981
+ /* */
17982
+ /* */
17983
+ /* */
17984
+ /* */
17985
+ /* */
17986
+ /* */
17987
+ /* */
17988
+ /* */
17989
+ /* */
17990
+ /* */
17991
+ /* */
17992
+ /* */
17993
+ /* */
17994
+ /* */
17995
+ /* */
17996
+ /* */
17997
+ /* */
17998
+ /* */
17999
+ /* */
18000
+ /* */
18001
+ /* */
18002
+ return (void 0);
18003
+ }
18004
+ //#endregion
18005
+ //#region commands / kill zscaller
18006
+ killZs() {
18007
+ /* */
18008
+ /* */
18009
+ return (void 0);
18010
+ }
18011
+ startZs() {
18012
+ /* */
18013
+ /* */
18014
+ return (void 0);
18015
+ }
18016
+ zsKill() {
18017
+ /* */
18018
+ /* */
18019
+ return (void 0);
18020
+ }
18021
+ zsStart() {
18022
+ /* */
18023
+ /* */
18024
+ return (void 0);
18025
+ }
18026
+ startZscaller() {
18027
+ /* */
18028
+ /* */
18029
+ /* */
18030
+ /* */
18031
+ /* */
18032
+ /* */
18033
+ /* */
18034
+ /* */
18035
+ /* */
18036
+ /* */
18037
+ /* */
18038
+ /* */
18039
+ /* */
18040
+ /* */
18041
+ /* */
18042
+ /* */
18043
+ return (void 0);
18044
+ }
18045
+ killZscaller() {
18046
+ /* */
18047
+ /* */
18048
+ /* */
18049
+ /* */
18050
+ /* */
18051
+ /* */
18052
+ /* */
18053
+ /* */
18054
+ /* */
18055
+ /* */
18056
+ /* */
18057
+ /* */
18058
+ /* */
18059
+ /* */
18060
+ /* */
18061
+ /* */
18062
+ return (void 0);
18063
+ }
18064
+ //#endregion
18065
+ //#region commands / has command
18066
+ async hasCommand() {
18067
+ /* */
18068
+ /* */
18069
+ /* */
18070
+ /* */
18071
+ /* */
18072
+ /* */
18073
+ /* */
18074
+ return (void 0);
18075
+ }
18076
+ hasCommandSync() {
18077
+ /* */
18078
+ /* */
18079
+ /* */
18080
+ /* */
18081
+ /* */
18082
+ /* */
18083
+ /* */
18084
+ /* */
18085
+ /* */
18086
+ return (void 0);
18087
+ }
18088
+ //#endregion
18089
+ //#region commands / public ip address
18090
+ async publicIpAddress() {
18091
+ const ip = await UtilsNetwork.getCurrentPublicIpAddress();
18092
+ console.log(`Your public IP address is: ${ip}`);
18093
+ this._exit();
18094
+ }
18095
+ async publicIp() {
18096
+ /* */
18097
+ /* */
18098
+ return (void 0);
18099
+ }
18100
+ //#endregion
18101
+ //#region commands / open origins in vscode
18102
+ async localIps() {
18103
+ const firstActiveLocalIp = await UtilsNetwork.getFirstIpV4LocalActiveIpAddress();
18104
+ console.log(`Your first active local IP address is: ${firstActiveLocalIp} `);
18105
+ const ips = await UtilsNetwork.getLocalIpAddresses();
18106
+ for (let index = 0; index < ips.length; index++) {
18107
+ const ip = ips[index];
18108
+ // console.log(ip);
18109
+ console.log(`${index + 1}. Local IP address is: ` +
18110
+ `${ip.address}, type: ${ip.type}`);
18111
+ }
18112
+ this._exit();
18113
+ }
18114
+ //#endregion
18115
+ //#region commands / is online
18116
+ async isOnline() {
18117
+ /* */
18118
+ /* */
18119
+ /* */
18120
+ /* */
18121
+ /* */
18122
+ return (void 0);
18123
+ }
18124
+ //#endregion
18125
+ //#region commands / configure bash and shell
18126
+ async configureBash() {
18127
+ // ! TODO @UNCOMMENT
18128
+ // await UtilsTerminal.configureBashOrShell();
18129
+ }
18130
+ async configureShell() {
18131
+ // ! TODO @UNCOMMENT
18132
+ // await UtilsTerminal.configureBashOrShell();
18133
+ }
18134
+ confBash() {
18135
+ this.configureBash();
18136
+ }
18137
+ confShell() {
18138
+ this.configureShell();
18139
+ }
18140
+ }
15002
18141
 
15003
18142
  //#region imports
15004
18143
  //#endregion
@@ -16769,5 +19908,5 @@ const Helpers = HelpersTaon.Instance;
16769
19908
  * Generated bundle index. Do not edit.
16770
19909
  */
16771
19910
 
16772
- export { BaseCliWorker, BaseCliWorkerConfig, BaseCliWorkerController, BaseCliWorkerTerminalUI, BaseCommandLineFeature, BaseCompilerForProject, BaseDebounceCompilerForProject, BaseFeatureForProject, BaseFileFoldersOperations, BaseGit, BaseIgnoreHideHelpers, BaseJsonFileReader, BaseLibraryBuild, BaseLinkedProjects, BaseLinter, BaseNodeModules, BaseNpmHelpers, BasePackageJson, BaseProcessManger, BaseProject, BaseProjectResolver, BaseProjectTypeArr, BaseQuickFixes, BaseReleaseProcess, BaseVscodeHelpers, CommandConfig, CommandProcess, CommandProcessState, CommitData, CoreAngularProject, CoreProject, CoreTypescriptProject, FilePathMetaData, Helpers, HelpersAngular, LinkedPorjectsConfig, LinkedProject, PackageJsonDependencyObjArr, Port, PortStatusArr, PortsController, PortsWorker, ProgressData, UtilsCliMethod, UtilsHttp, UtilsJava, UtilsMd, UtilsNpm, UtilsPasswords, UtilsQuickFixes, UtilsTaonWorker, UtilsTypescript, UtilsVSCode, UtilsZip, UtilsZipBrowser, executeCommand, getBaseCliWorkerDatabaseConfig };
19911
+ export { BaseCLiWorkerStartMode, BaseCLiWorkerStartParams, BaseCliMethodOptions, BaseCliWorker, BaseCliWorkerConfig, BaseCliWorkerConfigGetContextOptions, BaseCliWorkerController, BaseCliWorkerTerminalUI, BaseCliWorkerUtils, BaseCommandLineFeature, BaseCompilerForProject, BaseDebounceCompilerForProject, BaseFeatureForProject, BaseFileFoldersOperations, BaseGit, BaseGlobalCommandLine, BaseIgnoreHideHelpers, BaseJsonFileReader, BaseLibraryBuild, BaseLinkedProjects, BaseLinter, BaseNodeModules, BaseNpmHelpers, BasePackageJson, BaseProcessManger, BaseProject, BaseProjectResolver, BaseProjectTypeArr, BaseQuickFixes, BaseReleaseProcess, BaseVscodeHelpers, CommandConfig, CommandProcess, CommandProcessState, CommitData, CoreAngularProject, CoreProject, CoreTypescriptProject, Helpers, HelpersAngular, LinkedPorjectsConfig, LinkedProject, PackageJsonDependencyObjArr, Port, PortStatusArr, PortsController, PortsWorker, ProgressData, UtilsDocker, UtilsHttp, UtilsJava, UtilsMd, UtilsNpm, UtilsPasswords, UtilsQuickFixes, UtilsTaonWorker, UtilsTypescript, UtilsVSCode, UtilsZip, UtilsZipBrowser, executeCommand, getBaseCliWorkerDatabaseConfig };
16773
19912
  //# sourceMappingURL=tnp-helpers.mjs.map