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,11 +1,11 @@
1
- import { Subject } from 'rxjs';
2
- import { CoreModels, Utils, crossPlatformPath, path, _, CoreHelpers, UtilsTerminal, Helpers as Helpers$1, fse, chalk } from 'tnp-core/websql';
1
+ import { Subject, BehaviorSubject } from 'rxjs';
2
+ import { CoreModels, Utils, crossPlatformPath, _, CoreHelpers, UtilsTerminal, chalk, path, Helpers as Helpers$1, fse, UtilsNetwork } from 'tnp-core/websql';
3
3
  import { isImportDeclaration, isNamedImports, isExportDeclaration, isNamedExports, createSourceFile, ScriptTarget, ScriptKind } from 'typescript';
4
- import { CLASS } from 'typescript-class-helpers/websql';
5
4
  import * as fuzzy from 'fuzzy';
6
5
  import { Level } from 'ng2-logger/websql';
6
+ import { CLASS } from 'typescript-class-helpers/websql';
7
7
  import { __decorate, __metadata, __param } from 'tslib';
8
- import { Taon, BaseContext } from 'taon/websql';
8
+ import { Taon, BaseClass, BaseContext } from 'taon/websql';
9
9
  import { config, folderName, fileName } from 'tnp-config/websql';
10
10
  import { IncCompiler, ChangeOfFile } from 'incremental-compiler/websql';
11
11
 
@@ -97,8 +97,6 @@ var HelpersAngular;
97
97
  })(HelpersAngular || (HelpersAngular = {}));
98
98
  //#endregion
99
99
 
100
- //#region imports
101
- /* */
102
100
  //#endregion
103
101
  //#region utils npm
104
102
  var UtilsNpm;
@@ -1140,7 +1138,7 @@ var UtilsTypescript;
1140
1138
  const tagRegex = new RegExp(tags
1141
1139
  .map(t => (Array.isArray(t) ? t[0] : t))
1142
1140
  .filter(Boolean)
1143
- .map(Utils.escapeStringForRegEx)
1141
+ .map(t => Utils.escapeStringForRegEx(t))
1144
1142
  .join('|'), 'i');
1145
1143
  let a = 0;
1146
1144
  for (const statement of sourceFile.statements) {
@@ -1505,8 +1503,6 @@ var UtilsQuickFixes;
1505
1503
  /* */
1506
1504
  /* */
1507
1505
  /* */
1508
- /* */
1509
- /* */
1510
1506
  return (void 0);
1511
1507
  };
1512
1508
  //#endregion
@@ -2331,119 +2327,236 @@ var UtilsPasswords;
2331
2327
  // })();
2332
2328
  })(UtilsPasswords || (UtilsPasswords = {}));
2333
2329
  //#endregion
2334
- //#region utils filepath metadata
2335
- var FilePathMetaData;
2336
- (function (FilePathMetaData) {
2337
- const TERMINATOR = 'xxxxx'; // terminates metadata block
2338
- const KV_SEPARATOR = '...'; // key/value separator
2339
- const PAIR_SEPARATOR = 'IxIxI'; // between pairs
2340
- //#region embed data into filename
2330
+ //#region utils docker
2331
+ var UtilsDocker;
2332
+ (function (UtilsDocker) {
2333
+ //#region utils docker / constants
2334
+ const DOCKER_TAON_PROJECT_LABEL_KEY = 'com.docker.compose.taon.project'; // change to your app name
2335
+ const DOCKER_TAON_PROJECT_LABEL_VALUE = 'true'; // change to your app name
2336
+ UtilsDocker.DOCKER_LABEL_KEY = 'com.docker.compose.project'; // change to your app name
2337
+ UtilsDocker.DOCKER_TAON_PROJECT_LABEL = `${DOCKER_TAON_PROJECT_LABEL_KEY}=${DOCKER_TAON_PROJECT_LABEL_VALUE}`;
2338
+ //#endregion
2339
+ //#region utils docker / clean images by docker label
2340
+ UtilsDocker.cleanImagesAndContainersByDockerLabel = async (labelKey, labelValue) => {
2341
+ /* */
2342
+ /* */
2343
+ /* */
2344
+ /* */
2345
+ /* */
2346
+ /* */
2347
+ /* */
2348
+ /* */
2349
+ /* */
2350
+ /* */
2351
+ /* */
2352
+ /* */
2353
+ /* */
2354
+ /* */
2355
+ /* */
2356
+ /* */
2357
+ /* */
2358
+ /* */
2359
+ /* */
2360
+ /* */
2361
+ /* */
2362
+ /* */
2363
+ /* */
2364
+ /* */
2365
+ /* */
2366
+ /* */
2367
+ /* */
2368
+ /* */
2369
+ /* */
2370
+ /* */
2371
+ /* */
2372
+ /* */
2373
+ /* */
2374
+ /* */
2375
+ /* */
2376
+ /* */
2377
+ /* */
2378
+ /* */
2379
+ /* */
2380
+ /* */
2381
+ /* */
2382
+ /* */
2383
+ return (void 0);
2384
+ };
2385
+ //#endregion
2386
+ //#region utils docker / get docker compose up/down command
2341
2387
  /**
2342
- * Embed metadata into filename while preserving the extension.
2388
+ * @returns cmd + args array
2389
+ * you can use with child_process.spawn
2390
+ * const [cmd, ...args] = getDockerComposeActionCommand('up');
2391
+ * child.spawn(cmd, args, { ... });
2343
2392
  *
2344
- * Example:
2345
- * embedData({ version: "1.2.3", envName: "__" }, "project.zip")
2346
- * -> "version|-|1.2.3||--||envName|-|__|||project.zip"
2393
+ * @param action 'up' | 'down'
2347
2394
  */
2348
- function embedData(data, orgFilename, options) {
2395
+ UtilsDocker.getDockerComposeActionCommand = (action, options) => {
2349
2396
  options = options || {};
2350
- const ext = path.extname(orgFilename);
2351
- const base = path.basename(orgFilename, ext);
2352
- const meta = Object.entries(data)
2353
- .map(([key, value]) => `${key}${KV_SEPARATOR}${value ?? ''}`)
2354
- .join(PAIR_SEPARATOR);
2355
- return `${meta}${TERMINATOR}${options.skipAddingBasenameAtEnd ? '' : base}${ext}`;
2356
- }
2357
- FilePathMetaData.embedData = embedData;
2397
+ options.skipBuild = !!options?.skipBuild;
2398
+ const composeFileName = options?.composeFileName || 'docker-compose.yml';
2399
+ return ['docker', 'compose', '-f', composeFileName].concat(action === 'up'
2400
+ ? options.skipBuild
2401
+ ? ['up']
2402
+ : ['up', '--build']
2403
+ : ['down']);
2404
+ };
2358
2405
  //#endregion
2359
- //#region extract data from filename
2360
- /**
2361
- * Extract metadata from filename (reverse of embedData).
2362
- *
2363
- * Example:
2364
- * extractData<{ version: string; env: string }>("myfile__version-1.2.3__env-prod.zip")
2365
- * -> { version: "1.2.3", env: "prod" }
2366
- */
2367
- function extractData(filename) {
2368
- const ext = path.extname(filename);
2369
- const thereIsNoExt = ext.includes('|') || ext.includes('-');
2370
- const base = thereIsNoExt ? filename : path.basename(filename, ext);
2371
- // Everything BEFORE the FIRST TERMINATOR
2372
- const idx = base.lastIndexOf(TERMINATOR);
2373
- const metaPart = idx >= 0 ? base.substring(0, idx) : base;
2374
- const data = {};
2375
- let cursor = 0;
2376
- while (cursor <= metaPart.length) {
2377
- const sepIdx = metaPart.indexOf(PAIR_SEPARATOR, cursor);
2378
- const segment = sepIdx === -1
2379
- ? metaPart.substring(cursor)
2380
- : metaPart.substring(cursor, sepIdx);
2381
- if (segment) {
2382
- const kvIdx = segment.indexOf(KV_SEPARATOR);
2383
- if (kvIdx > -1) {
2384
- const key = segment.substring(0, kvIdx);
2385
- const value = segment.substring(kvIdx + KV_SEPARATOR.length);
2386
- data[key] = value;
2387
- }
2388
- }
2389
- if (sepIdx === -1)
2390
- break;
2391
- cursor = sepIdx + PAIR_SEPARATOR.length;
2392
- }
2393
- return data;
2394
- }
2395
- FilePathMetaData.extractData = extractData;
2396
- //#endregion
2397
- //#region get only metadata string
2398
- FilePathMetaData.getOnlyMetadataString = (filename) => {
2399
- const ext = path.extname(filename);
2400
- const base = path.basename(filename, ext);
2401
- const idx = base.lastIndexOf(TERMINATOR);
2402
- if (idx === -1)
2403
- return ''; // no terminator
2404
- const metaPart = base.substring(0, idx);
2405
- if (!metaPart.trim())
2406
- return ''; // empty metadata
2407
- return metaPart;
2406
+ //#region utils docker / get docker compose up/down child process
2407
+ UtilsDocker.getDockerComposeActionChildProcess = (action, options) => {
2408
+ /* */
2409
+ /* */
2410
+ /* */
2411
+ /* */
2412
+ /* */
2413
+ /* */
2414
+ /* */
2415
+ /* */
2416
+ /* */
2417
+ /* */
2418
+ /* */
2419
+ /* */
2420
+ /* */
2421
+ /* */
2422
+ /* */
2423
+ /* */
2424
+ /* */
2425
+ /* */
2426
+ /* */
2427
+ /* */
2428
+ /* */
2429
+ /* */
2430
+ /* */
2431
+ /* */
2432
+ /* */
2433
+ /* */
2434
+ /* */
2435
+ return (void 0);
2408
2436
  };
2409
2437
  //#endregion
2410
- })(FilePathMetaData || (FilePathMetaData = {}));
2411
- //#endregion
2412
- //#region utils cli
2413
- /**
2414
- * Easy way to connect CLI commands to cli class methods.
2415
- *
2416
- * Example:
2417
- * in clic class
2418
- * $FirstCli {
2419
- *
2420
- * @UtilsCliMethod.decorator('doSomething')
2421
- * doSomething() {
2422
- * console.log('doing something');
2423
- * }
2424
- * }
2425
- *
2426
- * UtilsCliMethod.getFrom($FirstCli.prototype.doSomething) // "firstcli:dosomething"
2427
- *
2428
- */
2429
- var UtilsCliMethod;
2430
- (function (UtilsCliMethod) {
2431
- const CLI_METHOD_KEY = Symbol('cliMethod');
2432
- UtilsCliMethod.decorator = (methodName) => {
2433
- return (target, propertyKey, descriptor) => {
2434
- // If name not given, fallback to property key
2435
- Reflect.defineMetadata(CLI_METHOD_KEY, `${_.camelCase(CLASS.getName(target?.constructor)).toLowerCase()}` +
2436
- `:${_.camelCase(methodName ?? propertyKey).toLowerCase()}`, descriptor.value);
2437
- };
2438
+ //#region utils docker / remove all taon containers and images from docker
2439
+ UtilsDocker.removeAllTaonContainersAndImagesFromDocker = async () => {
2440
+ /* */
2441
+ /* */
2442
+ /* */
2443
+ /* */
2444
+ /* */
2445
+ return (void 0);
2438
2446
  };
2439
- UtilsCliMethod.getFrom = (ClassPrototypeMethodFnHere, globalMethod = false) => {
2440
- const fullCliMethodName = Reflect.getMetadata(CLI_METHOD_KEY, ClassPrototypeMethodFnHere);
2441
- if (globalMethod) {
2442
- return fullCliMethodName.split(':')[1];
2443
- }
2444
- return fullCliMethodName;
2447
+ //#endregion
2448
+ //#region utils docker / link podman as docker if necessary
2449
+ /**
2450
+ * @TODO @REFACTOR use async stuff
2451
+ */
2452
+ UtilsDocker.linkPodmanAsDockerIfNecessary = async () => {
2453
+ /* */
2454
+ /* */
2455
+ /* */
2456
+ /* */
2457
+ /* */
2458
+ /* */
2459
+ /* */
2460
+ /* */
2461
+ /* */
2462
+ /* */
2463
+ /* */
2464
+ /* */
2465
+ /* */
2466
+ /* */
2467
+ /* */
2468
+ /* */
2469
+ /* */
2470
+ /* */
2471
+ /* */
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
+ return (void 0);
2445
2557
  };
2446
- })(UtilsCliMethod || (UtilsCliMethod = {}));
2558
+ //#endregion
2559
+ })(UtilsDocker || (UtilsDocker = {}));
2447
2560
  //#endregion
2448
2561
 
2449
2562
  class HelpersArrayObj {
@@ -4362,6 +4475,15 @@ class HelpersFileFolders {
4362
4475
  /* */
4363
4476
  /* */
4364
4477
  /* */
4478
+ /* */
4479
+ /* */
4480
+ /* */
4481
+ /* */
4482
+ /* */
4483
+ /* */
4484
+ /* */
4485
+ /* */
4486
+ /* */
4365
4487
  return (void 0);
4366
4488
  }
4367
4489
  filterDontCopy(basePathFoldersTosSkip, projectOrBasepath) {
@@ -4641,7 +4763,6 @@ class HelpersTaon extends CoreHelpers {
4641
4763
  /* */
4642
4764
  /* */
4643
4765
  /* */
4644
- /* */
4645
4766
  arrays = new HelpersArrayObj(), strings = new HelpersStrings(), numbers = new HelpersNumber(),
4646
4767
  //#region @browser
4647
4768
  browser = HelpersBrowser.instance, ng = HelpersAngular) {
@@ -4842,90 +4963,34 @@ class HelpersTaon extends CoreHelpers {
4842
4963
  /* */
4843
4964
  }
4844
4965
  //#endregion
4845
- //#region methods & getters / get local ip addresses
4846
- /**
4847
- * TODO fix this methods
4848
- */
4849
- async localIpAddress() {
4850
- /* */
4851
- /* */
4852
- /* */
4853
- /* */
4854
- /* */
4855
- /* */
4966
+ //#region methods & getters / mesure execution in ms
4967
+ async mesureExectionInMs(description, functionToExecute, ...functionArguments) {
4968
+ var start = new Date();
4969
+ await Helpers.runSyncOrAsync({
4970
+ functionFn: functionToExecute,
4971
+ arrayOfParams: functionArguments,
4972
+ });
4973
+ //@ts-ignore
4974
+ var end = new Date() - start;
4975
+ if (Helpers.isBrowser) {
4976
+ Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
4977
+ }
4856
4978
  /* */
4857
4979
  /* */
4858
4980
  /* */
4859
4981
  /* */
4860
- /* */
4861
- /* */
4862
- /* */
4863
- /* */
4864
- /* */
4865
- /* */
4866
- /* */
4867
- /* */
4868
- /* */
4869
- /* */
4870
- /* */
4871
- /* */
4872
- /* */
4873
- /* */
4874
- /* */
4875
- return (void 0);
4876
- }
4877
- //#endregion
4878
- //#region methods & getters / get all local ip addresses
4879
- allLocalIpAddresses() {
4880
- /* */
4881
- /* */
4882
- /* */
4883
- /* */
4884
- /* */
4885
- /* */
4886
- /* */
4887
- /* */
4888
- /* */
4889
- /* */
4890
- /* */
4891
- /* */
4892
- /* */
4893
- /* */
4894
- /* */
4895
- /* */
4896
- /* */
4897
- /* */
4898
- return (void 0);
4899
- }
4900
- //#endregion
4901
- //#region methods & getters / mesure execution in ms
4902
- async mesureExectionInMs(description, functionToExecute, ...functionArguments) {
4903
- var start = new Date();
4904
- await Helpers.runSyncOrAsync({
4905
- functionFn: functionToExecute,
4906
- arrayOfParams: functionArguments,
4907
- });
4908
- //@ts-ignore
4909
- var end = new Date() - start;
4910
- if (Helpers.isBrowser) {
4911
- Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
4912
- }
4913
- /* */
4914
- /* */
4915
- /* */
4916
- /* */
4917
- return end;
4918
- }
4919
- //#endregion
4920
- //#region methods & getters / mesure execution in ms (sync)
4921
- mesureExectionInMsSync(description, functionToExecute) {
4922
- var start = new Date();
4923
- functionToExecute();
4924
- //@ts-ignore
4925
- var end = new Date() - start;
4926
- if (Helpers.isBrowser) {
4927
- Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
4928
- }
4982
+ return end;
4983
+ }
4984
+ //#endregion
4985
+ //#region methods & getters / mesure execution in ms (sync)
4986
+ mesureExectionInMsSync(description, functionToExecute) {
4987
+ var start = new Date();
4988
+ functionToExecute();
4989
+ //@ts-ignore
4990
+ var end = new Date() - start;
4991
+ if (Helpers.isBrowser) {
4992
+ Helpers.info(`Execution time: ${end.toString()}ms for "${description}"`);
4993
+ }
4929
4994
  /* */
4930
4995
  /* */
4931
4996
  /* */
@@ -5232,6 +5297,9 @@ Port = Port_1 = __decorate([
5232
5297
  class BaseCliWorkerTerminalUI {
5233
5298
  constructor(worker) {
5234
5299
  this.worker = worker;
5300
+ //#endregion
5301
+ //#region protected methods / info screen
5302
+ this.headerDisplayed = false;
5235
5303
  }
5236
5304
  //#region protected methods / text for header
5237
5305
  async headerText() {
@@ -5258,12 +5326,14 @@ class BaseCliWorkerTerminalUI {
5258
5326
  /* */
5259
5327
  /* */
5260
5328
  /* */
5329
+ /* */
5330
+ /* */
5331
+ /* */
5261
5332
  return (void 0);
5262
5333
  }
5263
5334
  //#endregion
5264
5335
  //#region protected methods / info message below header
5265
- async infoMessageBelowHeader() {
5266
- /* */
5336
+ async infoMessageBelowHeader(options) {
5267
5337
  /* */
5268
5338
  /* */
5269
5339
  /* */
@@ -5334,21 +5404,31 @@ class BaseCliWorkerTerminalUI {
5334
5404
  /* */
5335
5405
  /* */
5336
5406
  /* */
5337
- /* */
5338
- /* */
5339
5407
  return (void 0);
5340
5408
  }
5341
- //#endregion
5342
- //#region protected methods / info screen
5343
5409
  async infoScreen(options) {
5344
5410
  options = options || {};
5345
5411
  while (true) {
5346
5412
  if (!UtilsTerminal.isVerboseModeTaon()) {
5347
5413
  UtilsTerminal.clearConsole();
5348
5414
  }
5349
- await this.header();
5350
- await this.infoMessageBelowHeader();
5351
5415
  const choices = this.getWorkerTerminalActions(options);
5416
+ if (this.headerDisplayed) {
5417
+ await this.infoMessageBelowHeader();
5418
+ }
5419
+ else {
5420
+ this.headerDisplayed = true;
5421
+ await this.header();
5422
+ await UtilsTerminal.pressAnyKeyToContinueAsync({
5423
+ message: `\nWelcome to ${chalk.bold(this.worker.serviceID) +
5424
+ chalk.bold('@') +
5425
+ chalk.bold(this.worker.serviceVersion)} Terminal UI.` +
5426
+ `\n
5427
+ Press any key to continue...`,
5428
+ });
5429
+ UtilsTerminal.clearConsole();
5430
+ await this.infoMessageBelowHeader();
5431
+ }
5352
5432
  const choice = await UtilsTerminal.select({
5353
5433
  choices,
5354
5434
  question: 'Choose action',
@@ -5367,28 +5447,72 @@ class BaseCliWorkerTerminalUI {
5367
5447
  }
5368
5448
  }
5369
5449
 
5450
+ class BaseCliWorkerConfigGetContextOptions {
5451
+ }
5452
+ /**
5453
+ * Default mode: DETACHED_CHILD_PROCESS
5454
+ */
5455
+ var BaseCLiWorkerStartMode;
5456
+ (function (BaseCLiWorkerStartMode) {
5457
+ BaseCLiWorkerStartMode["CHILD_PROCESS"] = "child";
5458
+ BaseCLiWorkerStartMode["IN_CURRENT_PROCESS"] = "process";
5459
+ BaseCLiWorkerStartMode["DETACHED_WINDOW"] = "window";
5460
+ })(BaseCLiWorkerStartMode || (BaseCLiWorkerStartMode = {}));
5461
+ class BaseCLiWorkerStartParams {
5462
+ }
5463
+ class BaseCliMethodOptions extends BaseClass {
5464
+ static from(opt) {
5465
+ opt = opt ?? {};
5466
+ opt.cliParams = opt.cliParams ?? {};
5467
+ opt.connectionOptions = opt.connectionOptions ?? {};
5468
+ const res = new BaseCliMethodOptions().clone(opt);
5469
+ res.cliParams = _.merge(new BaseCLiWorkerStartParams(), opt.cliParams);
5470
+ res.cliParams.mode =
5471
+ res.cliParams.mode || BaseCLiWorkerStartMode.CHILD_PROCESS;
5472
+ res.connectionOptions = _.merge(new BaseCliWorkerConfigGetContextOptions(), opt.connectionOptions);
5473
+ return res;
5474
+ }
5475
+ }
5476
+
5477
+ //#region imports
5370
5478
  //#endregion
5371
5479
  //#region constants
5372
5480
  const WORKER_INIT_START_TIME_LIMIT = 25; // 15 seconds max to start worker
5373
5481
  const START_PORT_FOR_SERVICES = 3600;
5374
- //#endregion
5375
5482
  class BaseCliWorker {
5376
- // private workerRemoteContextFor: {
5377
- // [ipAddressOfTaonInstance: string]: ReturnType<typeof Taon.createContext>;
5378
- // } = {};
5379
- async getRemoteControllerFor(ipAddressOfTaonInstance, port) {
5380
- // this.workerRemoteContextFor[ipAddressOfTaonInstance] = remoteCtx;
5381
- const useHttps = ipAddressOfTaonInstance !== CoreModels.localhostIp127;
5382
- const protocol = useHttps ? 'https' : 'http';
5383
- const remoteCtx = this.workerContextTemplate().cloneAsRemote({
5384
- overrideRemoteHost: `${protocol}://${ipAddressOfTaonInstance}${port ? `:${port}` : ''}`,
5385
- });
5386
- const contextForRemoteConnection = await remoteCtx.initialize();
5387
- const taonProjectsController = contextForRemoteConnection.getInstanceBy(this.controllerClass);
5388
- return taonProjectsController;
5483
+ /**
5484
+ * Indicates if worker is part of cloud
5485
+ * and should use cloud ip address
5486
+ */
5487
+ static { this.isCloudEnable = new BehaviorSubject(false); }
5488
+ /**
5489
+ * Cloud ip address of the worker (if part of cloud)
5490
+ */
5491
+ static { this.cloudIp = new BehaviorSubject(null); }
5492
+ static { this.workers = new Map(); }
5493
+ /**
5494
+ * Name of the worker context
5495
+ */
5496
+ get contextName() {
5497
+ return this.workerContextTemplate().contextName;
5389
5498
  }
5390
- //#region fields & getters / path to process local info
5391
- get pathToProcessLocalInfoJson() {
5499
+ /**
5500
+ * Port where worker is running
5501
+ * (getter only accessible from host machine)
5502
+ */
5503
+ get port() {
5504
+ return this.processLocalInfoObj.port;
5505
+ }
5506
+ getWorkerInfoGuiUrl(options) {
5507
+ /* */
5508
+ /* */
5509
+ /* */
5510
+ /* */
5511
+ /* */
5512
+ /* */
5513
+ /* */
5514
+ /* */
5515
+ /* */
5392
5516
  /* */
5393
5517
  /* */
5394
5518
  /* */
@@ -5397,11 +5521,6 @@ class BaseCliWorker {
5397
5521
  /* */
5398
5522
  /* */
5399
5523
  /* */
5400
- return (void 0);
5401
- }
5402
- //#endregion
5403
- //#region fields & getters / process local info json object
5404
- get processLocalInfoObj() {
5405
5524
  /* */
5406
5525
  /* */
5407
5526
  /* */
@@ -5411,7 +5530,6 @@ class BaseCliWorker {
5411
5530
  return (void 0);
5412
5531
  }
5413
5532
  //#endregion
5414
- //#endregion
5415
5533
  //#region constructor
5416
5534
  constructor(
5417
5535
  /**
@@ -5431,18 +5549,49 @@ class BaseCliWorker {
5431
5549
  this.serviceVersion = serviceVersion;
5432
5550
  //#region fields & getters
5433
5551
  this.SPECIAL_WORKER_READY_MESSAGE = CoreModels.SPECIAL_WORKER_READY_MESSAGE;
5552
+ /**
5553
+ * dependency workers that should be started before this worker
5554
+ */
5555
+ this.dependencyWorkers = new Map();
5434
5556
  // @ts-ignore TODO weird inheritance problem
5435
5557
  this.terminalUI = new BaseCliWorkerTerminalUI(this);
5558
+ BaseCliWorker.workers.set(this.serviceID, this);
5559
+ }
5560
+ //#endregion
5561
+ //#region public
5562
+ static getAllWorkersStartedInSystemFromCurrentCli() {
5563
+ /* */
5564
+ /* */
5565
+ return (void 0);
5566
+ }
5567
+ //#region public fields & getters / process local info json object
5568
+ get processLocalInfoObj() {
5569
+ /* */
5570
+ /* */
5571
+ /* */
5572
+ /* */
5573
+ /* */
5574
+ /* */
5575
+ return (void 0);
5436
5576
  }
5437
5577
  //#endregion
5438
- //#region methods / start normally in current process
5578
+ //#region public methods / get remote controller
5579
+ async getRemoteControllerFor(options) {
5580
+ options = options || {};
5581
+ options.methodOptions = BaseCliMethodOptions.from(options.methodOptions);
5582
+ const remoteEndpointContext = await this.getRemoteContextFor(options);
5583
+ const taonProjectsController = remoteEndpointContext.getInstanceBy(options.controllerClass
5584
+ ? options.controllerClass
5585
+ : this.controllerClass);
5586
+ return taonProjectsController;
5587
+ }
5588
+ //#endregion
5589
+ //#region public methods / kill
5439
5590
  /**
5440
- * <strong>IMPORTANT USE ONLY IN DEVELOPMENT !!!</strong>
5441
- * for production use startDetachedIfNeedsToBeStarted()
5442
- * start normally process
5443
- * this will crash if process already started
5591
+ * stop if started
5444
5592
  */
5445
- async startNormallyInCurrentProcess(options) {
5593
+ async kill(options) {
5594
+ /* */
5446
5595
  /* */
5447
5596
  /* */
5448
5597
  /* */
@@ -5467,11 +5616,6 @@ class BaseCliWorker {
5467
5616
  /* */
5468
5617
  /* */
5469
5618
  /* */
5470
- return (void 0);
5471
- }
5472
- //#endregion
5473
- //#region methods / get controller for remote connection
5474
- async getControllerForRemoteConnection(options) {
5475
5619
  /* */
5476
5620
  /* */
5477
5621
  /* */
@@ -5482,6 +5626,43 @@ class BaseCliWorker {
5482
5626
  /* */
5483
5627
  /* */
5484
5628
  /* */
5629
+ /* */
5630
+ return (void 0);
5631
+ }
5632
+ //#endregion
5633
+ //#region public methods / restart
5634
+ /**
5635
+ * kill detached process and start again
5636
+ * @param options.detached - default true
5637
+ */
5638
+ async restart(options) {
5639
+ options = options || {};
5640
+ options.methodOptions = BaseCliMethodOptions.from(options.methodOptions);
5641
+ await this.kill({
5642
+ methodOptions: options.methodOptions,
5643
+ });
5644
+ //longer because os is disposing process previous process
5645
+ Helpers.info(`Restarting service "${this.serviceID}" ` +
5646
+ `in ${options.methodOptions.cliParams.mode} mode...`);
5647
+ if (options.methodOptions.cliParams.mode ===
5648
+ BaseCLiWorkerStartMode.IN_CURRENT_PROCESS) {
5649
+ await this.startNormallyInCurrentProcess({
5650
+ methodOptions: options.methodOptions,
5651
+ });
5652
+ }
5653
+ else {
5654
+ await this.startDetached({
5655
+ methodOptions: options.methodOptions,
5656
+ });
5657
+ }
5658
+ }
5659
+ //#endregion
5660
+ //#region public methods / cli start
5661
+ /**
5662
+ * only for cli start
5663
+ * @param cliParams on from cli
5664
+ */
5665
+ async cliStartProcedure(options) {
5485
5666
  /* */
5486
5667
  /* */
5487
5668
  /* */
@@ -5504,11 +5685,6 @@ class BaseCliWorker {
5504
5685
  /* */
5505
5686
  /* */
5506
5687
  /* */
5507
- return (void 0);
5508
- }
5509
- //#endregion
5510
- //#region public methods / start if needs to be started
5511
- async startDetachedIfNeedsToBeStarted(options) {
5512
5688
  /* */
5513
5689
  /* */
5514
5690
  /* */
@@ -5528,11 +5704,75 @@ class BaseCliWorker {
5528
5704
  return (void 0);
5529
5705
  }
5530
5706
  //#endregion
5531
- //#region public methods / kill
5532
- /**
5533
- * stop if started
5534
- */
5535
- async kill(options) {
5707
+ //#endregion
5708
+ //#region protected
5709
+ //#region protected methods / get remote context
5710
+ async getRemoteContextFor(options) {
5711
+ options = options || {};
5712
+ options.methodOptions = BaseCliMethodOptions.from(options.methodOptions);
5713
+ const ipAddressOfTaonInstance = options.methodOptions.connectionOptions.ipAddressOfTaonInstance ||
5714
+ CoreModels.localhostDomain;
5715
+ // on localhost read data from processLocalInfoObj json
5716
+ let port = options.methodOptions.connectionOptions.port ||
5717
+ this.processLocalInfoObj.port;
5718
+ if (ipAddressOfTaonInstance === CoreModels.localhostDomain && !port) {
5719
+ if (this.workerIsStarting) {
5720
+ try {
5721
+ await this.waitForProcessPortSavedToDisk({
5722
+ methodOptions: options.methodOptions.clone(opt => {
5723
+ opt.calledFrom = `${opt.calledFrom}.getRemoteContextFor.localhost`;
5724
+ return opt;
5725
+ }),
5726
+ });
5727
+ }
5728
+ catch (error) {
5729
+ console.error(`[getRemoteContextFor] Error while waiting for process port saved to disk`);
5730
+ }
5731
+ }
5732
+ if (this.processLocalInfoPortNotInited) {
5733
+ throw new Error(`Can't connect to remote context on localhost - port is not defined.
5734
+ This can happen when the worker process is not started yet.
5735
+ `);
5736
+ }
5737
+ else {
5738
+ port = this.processLocalInfoObj.port;
5739
+ }
5740
+ }
5741
+ // this.workerRemoteContextFor[ipAddressOfTaonInstance] = remoteCtx;
5742
+ const useHttps = ipAddressOfTaonInstance !== CoreModels.localhostDomain &&
5743
+ ipAddressOfTaonInstance !== CoreModels.localhostIp127;
5744
+ const protocol = useHttps ? 'https' : 'http';
5745
+ const overrideRemoteHost = `${protocol}://${ipAddressOfTaonInstance}${port ? `:${port}` : ''}`;
5746
+ const remoteCtx = this.workerContextTemplate().cloneAsRemote({
5747
+ overrideRemoteHost,
5748
+ });
5749
+ // @LAST chache remote context per ipAddressOfTaonInstance
5750
+ const remoteEndpoitnContext = await remoteCtx.initialize();
5751
+ return remoteEndpoitnContext;
5752
+ }
5753
+ //#endregion
5754
+ //#region protected fields & getters / path to process local info
5755
+ get pathToProcessLocalInfoJson() {
5756
+ /* */
5757
+ /* */
5758
+ /* */
5759
+ return (void 0);
5760
+ }
5761
+ //#endregion
5762
+ //#region protected fields & getters / should wait for process port saved to disk
5763
+ get processLocalInfoPortNotInited() {
5764
+ return (!this.processLocalInfoObj.port ||
5765
+ isNaN(Number(this.processLocalInfoObj.port)));
5766
+ }
5767
+ //#endregion
5768
+ //#region protected fields & getters / worker is starting
5769
+ get workerIsStarting() {
5770
+ return !!this.processLocalInfoObj.startTimestamp;
5771
+ }
5772
+ //#endregion
5773
+ //#region protected methods / start if needs to be started
5774
+ async startDetachedIfNeedsToBeStarted(options) {
5775
+ /* */
5536
5776
  /* */
5537
5777
  /* */
5538
5778
  /* */
@@ -5558,35 +5798,14 @@ class BaseCliWorker {
5558
5798
  return (void 0);
5559
5799
  }
5560
5800
  //#endregion
5561
- //#region public methods / restart
5562
- /**
5563
- * kill detached process and start again
5564
- * @param options.detached - default true
5565
- */
5566
- async restart(options) {
5567
- options = options || {};
5568
- options.detached = _.isUndefined(options.detached) ? true : false;
5569
- await this.kill();
5570
- //longer because os is disposing process previous process
5571
- if (options.detached) {
5572
- Helpers.info(`Restarting service "${this.serviceID}" in detached mode...`);
5573
- await this.startDetached(options);
5574
- }
5575
- else {
5576
- Helpers.info(`Restarting service "${this.serviceID}" in current process...`);
5577
- await this.startNormallyInCurrentProcess();
5578
- }
5579
- }
5580
- //#endregion
5581
- //#region public methods / cli start
5801
+ //#region protected methods / start normally in current process
5582
5802
  /**
5583
- * only for cli start
5584
- * @param cliParams on from cli
5803
+ * <strong>IMPORTANT USE ONLY IN DEVELOPMENT !!!</strong>
5804
+ * for production use startDetachedIfNeedsToBeStarted()
5805
+ * start normally process
5806
+ * this will crash if process already started
5585
5807
  */
5586
- async cliStartProcedure(cliParams) {
5587
- const detached = !!cliParams['detached'] || !!cliParams['detach'];
5588
- /* */
5589
- /* */
5808
+ async startNormallyInCurrentProcess(options) {
5590
5809
  /* */
5591
5810
  /* */
5592
5811
  /* */
@@ -5605,11 +5824,6 @@ class BaseCliWorker {
5605
5824
  /* */
5606
5825
  /* */
5607
5826
  /* */
5608
- return (void 0);
5609
- }
5610
- //#endregion
5611
- //#region prevent external config change
5612
- preventExternalConfigChange() {
5613
5827
  /* */
5614
5828
  /* */
5615
5829
  /* */
@@ -5624,11 +5838,6 @@ class BaseCliWorker {
5624
5838
  /* */
5625
5839
  /* */
5626
5840
  /* */
5627
- return (void 0);
5628
- }
5629
- //#endregion
5630
- //#region prevent prevent start if already started
5631
- async preventStartIfAlreadyStarted() {
5632
5841
  /* */
5633
5842
  /* */
5634
5843
  /* */
@@ -5645,9 +5854,8 @@ class BaseCliWorker {
5645
5854
  return (void 0);
5646
5855
  }
5647
5856
  //#endregion
5648
- //#region prevent kill worker with lower version
5649
- async killWorkerWithLowerVersion() {
5650
- /* */
5857
+ //#region protected methods / prevent external config change
5858
+ preventExternalConfigChange() {
5651
5859
  /* */
5652
5860
  /* */
5653
5861
  /* */
@@ -5662,6 +5870,11 @@ class BaseCliWorker {
5662
5870
  /* */
5663
5871
  /* */
5664
5872
  /* */
5873
+ return (void 0);
5874
+ }
5875
+ //#endregion
5876
+ //#region protected methods / prevent prevent start if already started
5877
+ async preventStartIfAlreadyStarted(options) {
5665
5878
  /* */
5666
5879
  /* */
5667
5880
  /* */
@@ -5684,13 +5897,74 @@ class BaseCliWorker {
5684
5897
  return (void 0);
5685
5898
  }
5686
5899
  //#endregion
5687
- //#region is service healthy
5688
- /**
5689
- * This has 2 purposes:
5690
- * - infinite check when when detached process finished starting
5691
- * - quick check if service is healthy / already started
5692
- */
5693
- async isServiceHealthy(options) {
5900
+ //#region protected methods / prevent kill worker with lower version
5901
+ async killWorkerWithLowerVersion(options) {
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
+ /* */
5937
+ /* */
5938
+ /* */
5939
+ /* */
5940
+ /* */
5941
+ /* */
5942
+ /* */
5943
+ /* */
5944
+ /* */
5945
+ /* */
5946
+ /* */
5947
+ /* */
5948
+ return (void 0);
5949
+ }
5950
+ //#endregion
5951
+ //#region protected methods / is service healthy
5952
+ /**
5953
+ * This has 2 purposes:
5954
+ * - infinite check when when detached process finished starting
5955
+ * - quick check if service is healthy / already started
5956
+ */
5957
+ async isServiceHealthy(options) {
5958
+ /* */
5959
+ /* */
5960
+ /* */
5961
+ /* */
5962
+ /* */
5963
+ /* */
5964
+ /* */
5965
+ /* */
5966
+ /* */
5967
+ /* */
5694
5968
  /* */
5695
5969
  /* */
5696
5970
  /* */
@@ -5792,7 +6066,7 @@ class BaseCliWorker {
5792
6066
  return (void 0);
5793
6067
  }
5794
6068
  //#endregion
5795
- //#region start detached
6069
+ //#region protected methods / start detached
5796
6070
  /**
5797
6071
  * start if not started detached process
5798
6072
  */
@@ -5829,10 +6103,19 @@ class BaseCliWorker {
5829
6103
  /* */
5830
6104
  /* */
5831
6105
  /* */
6106
+ /* */
6107
+ /* */
6108
+ /* */
6109
+ /* */
6110
+ /* */
6111
+ /* */
6112
+ /* */
6113
+ /* */
6114
+ /* */
5832
6115
  return (void 0);
5833
6116
  }
5834
6117
  //#endregion
5835
- //#region save process info
6118
+ //#region protected methods / save process info
5836
6119
  saveProcessInfo(processConfig) {
5837
6120
  /* */
5838
6121
  /* */
@@ -5849,11 +6132,16 @@ class BaseCliWorker {
5849
6132
  /* */
5850
6133
  /* */
5851
6134
  /* */
6135
+ /* */
5852
6136
  return (void 0);
5853
6137
  }
5854
6138
  //#endregion
5855
- //#region initialize worker
5856
- async initializeWorkerMetadata() {
6139
+ //#region protected methods / initialize worker
6140
+ async initializeWorkerMetadata(options) {
6141
+ /* */
6142
+ /* */
6143
+ /* */
6144
+ /* */
5857
6145
  /* */
5858
6146
  /* */
5859
6147
  /* */
@@ -5890,7 +6178,7 @@ class BaseCliWorker {
5890
6178
  return (void 0);
5891
6179
  }
5892
6180
  //#endregion
5893
- //#region wait for process port saved to disk
6181
+ //#region protected methods / wait for process port saved to disk
5894
6182
  async waitForProcessPortSavedToDisk(options) {
5895
6183
  /* */
5896
6184
  /* */
@@ -5925,18 +6213,12 @@ class BaseCliWorker {
5925
6213
  /* */
5926
6214
  /* */
5927
6215
  /* */
6216
+ /* */
5928
6217
  return (void 0);
5929
6218
  }
5930
6219
  //#endregion
5931
- //#region get free port
6220
+ //#region protected methods / get free port
5932
6221
  async getServicePort() {
5933
- /* */
5934
- /* */
5935
- /* */
5936
- /* */
5937
- /* */
5938
- /* */
5939
- /* */
5940
6222
  /* */
5941
6223
  /* */
5942
6224
  /* */
@@ -6011,8 +6293,7 @@ class BaseCliWorkerConfig {
6011
6293
  }
6012
6294
  //#endregion
6013
6295
 
6014
- let BaseCliWorkerController = class BaseCliWorkerController extends Taon.Base
6015
- .Controller {
6296
+ let BaseCliWorkerController = class BaseCliWorkerController extends Taon.Base.Controller {
6016
6297
  constructor() {
6017
6298
  super(...arguments);
6018
6299
  /**
@@ -6033,7 +6314,20 @@ let BaseCliWorkerController = class BaseCliWorkerController extends Taon.Base
6033
6314
  }
6034
6315
  //#endregion
6035
6316
  //#region api methods / kill
6036
- baseCLiWorkerCommand_kill() {
6317
+ baseCLiWorkerCommand_kill(dontRemoveConfigFile) {
6318
+ /* */
6319
+ /* */
6320
+ /* */
6321
+ /* */
6322
+ /* */
6323
+ /* */
6324
+ /* */
6325
+ /* */
6326
+ /* */
6327
+ /* */
6328
+ /* */
6329
+ /* */
6330
+ /* */
6037
6331
  /* */
6038
6332
  /* */
6039
6333
  /* */
@@ -6057,6 +6351,10 @@ let BaseCliWorkerController = class BaseCliWorkerController extends Taon.Base
6057
6351
  /* */
6058
6352
  /* */
6059
6353
  /* */
6354
+ /* */
6355
+ /* */
6356
+ /* */
6357
+ /* */
6060
6358
  return (void 0);
6061
6359
  }
6062
6360
  //#endregion
@@ -6108,15 +6406,15 @@ __decorate([
6108
6406
  ], BaseCliWorkerController.prototype, "baseCLiWorkerCommand_initializeMetadata", null);
6109
6407
  __decorate([
6110
6408
  Taon.Http.GET(),
6409
+ __param(0, Taon.Http.Param.Query('dontRemoveConfigFile')),
6111
6410
  __metadata("design:type", Function),
6112
- __metadata("design:paramtypes", []),
6411
+ __metadata("design:paramtypes", [Boolean]),
6113
6412
  __metadata("design:returntype", Object)
6114
6413
  ], BaseCliWorkerController.prototype, "baseCLiWorkerCommand_kill", null);
6115
6414
  __decorate([
6116
- Taon.Http.GET({
6415
+ Taon.Http.HTML({
6117
6416
  pathIsGlobal: true,
6118
- // overrideContentType: 'text/html',
6119
- // overridResponseType: 'text',
6417
+ path: '/info',
6120
6418
  }),
6121
6419
  __metadata("design:type", Function),
6122
6420
  __metadata("design:paramtypes", []),
@@ -6142,6 +6440,32 @@ BaseCliWorkerController = __decorate([
6142
6440
  })
6143
6441
  ], BaseCliWorkerController);
6144
6442
 
6443
+ //#endregion
6444
+ var BaseCliWorkerUtils;
6445
+ (function (BaseCliWorkerUtils) {
6446
+ BaseCliWorkerUtils.getPathToProcessLocalInfoJson = (serviceID) => {
6447
+ /* */
6448
+ /* */
6449
+ /* */
6450
+ /* */
6451
+ /* */
6452
+ /* */
6453
+ /* */
6454
+ /* */
6455
+ return (void 0);
6456
+ };
6457
+ BaseCliWorkerUtils.getAllServicesFromOS = () => {
6458
+ /* */
6459
+ /* */
6460
+ /* */
6461
+ /* */
6462
+ /* */
6463
+ /* */
6464
+ /* */
6465
+ return (void 0);
6466
+ };
6467
+ })(BaseCliWorkerUtils || (BaseCliWorkerUtils = {}));
6468
+
6145
6469
  //#endregion
6146
6470
  let PortsController = class PortsController extends BaseCliWorkerController {
6147
6471
  constructor() {
@@ -6670,6 +6994,9 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6670
6994
  /* */
6671
6995
  /* */
6672
6996
  /* */
6997
+ /* */
6998
+ /* */
6999
+ /* */
6673
7000
  return (void 0);
6674
7001
  }
6675
7002
  //#endregion
@@ -6723,6 +7050,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6723
7050
  /* */
6724
7051
  /* */
6725
7052
  /* */
7053
+ /* */
7054
+ /* */
6726
7055
  return (void 0);
6727
7056
  }
6728
7057
  //#endregion
@@ -6768,6 +7097,10 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6768
7097
  /* */
6769
7098
  /* */
6770
7099
  /* */
7100
+ /* */
7101
+ /* */
7102
+ /* */
7103
+ /* */
6771
7104
  return (void 0);
6772
7105
  }
6773
7106
  //#endregion
@@ -6840,6 +7173,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6840
7173
  /* */
6841
7174
  /* */
6842
7175
  /* */
7176
+ /* */
7177
+ /* */
6843
7178
  return (void 0);
6844
7179
  }
6845
7180
  //#endregion
@@ -6882,6 +7217,8 @@ class TcpUdpPortsTerminalUI extends BaseCliWorkerTerminalUI {
6882
7217
  /* */
6883
7218
  /* */
6884
7219
  /* */
7220
+ /* */
7221
+ /* */
6885
7222
  return (void 0);
6886
7223
  }
6887
7224
  }
@@ -6916,7 +7253,7 @@ const PROJECT_NPM_NAME = 'tnp-helpers';
6916
7253
  /**
6917
7254
  * Autogenerated by current cli tool. Use *tnp release* to bump version.
6918
7255
  */
6919
- const CURRENT_PACKAGE_VERSION = '19.0.65';
7256
+ const CURRENT_PACKAGE_VERSION = '19.0.67';
6920
7257
  // THIS FILE IS GENERATED - DO NOT MODIFY
6921
7258
 
6922
7259
  //#endregion
@@ -6942,7 +7279,8 @@ class BaseProjectResolver {
6942
7279
  // if (!this.cliToolName) {
6943
7280
  // Helpers.throw(`cliToolName is not provided`);
6944
7281
  // }
6945
- this.portsWorker = new PortsWorker('ports-worker', `${this.cliToolName} startCliServicePortsWorker --skipCoreCheck`, CURRENT_PACKAGE_VERSION);
7282
+ this.portsWorker = new PortsWorker('ports-worker', // BaseGlobalCommandLine.prototype.startCliServicePortsWorker
7283
+ `${this.cliToolName} startCliServicePortsWorker --skipCoreCheck`, CURRENT_PACKAGE_VERSION);
6946
7284
  }
6947
7285
  //#endregion
6948
7286
  //#region fields & getters / allowed types
@@ -7930,7 +8268,9 @@ class BaseProject {
7930
8268
  }
7931
8269
  //#endregion
7932
8270
  //#region methods & getters / register and assign port
7933
- async registerAndAssignPort(taskName, options) {
8271
+ async registerAndAssignPort(taskName, options = {}) {
8272
+ /* */
8273
+ /* */
7934
8274
  /* */
7935
8275
  /* */
7936
8276
  /* */
@@ -9622,6 +9962,24 @@ class BaseNodeModules {
9622
9962
  return (void 0);
9623
9963
  }
9624
9964
  //#endregion
9965
+ //#region link node_modules to other project
9966
+ copyToProject(project) {
9967
+ /* */
9968
+ /* */
9969
+ /* */
9970
+ /* */
9971
+ /* */
9972
+ /* */
9973
+ /* */
9974
+ /* */
9975
+ /* */
9976
+ /* */
9977
+ /* */
9978
+ /* */
9979
+ /* */
9980
+ return (void 0);
9981
+ }
9982
+ //#endregion
9625
9983
  //#region link to project or location
9626
9984
  linkToLocation(location) {
9627
9985
  /* */
@@ -9737,6 +10095,9 @@ class BaseNodeModules {
9737
10095
  /* */
9738
10096
  /* */
9739
10097
  /* */
10098
+ /* */
10099
+ /* */
10100
+ /* */
9740
10101
  return (void 0);
9741
10102
  }
9742
10103
  //#endregion
@@ -11187,6 +11548,22 @@ class BaseGit extends BaseFeatureForProject {
11187
11548
  /* */
11188
11549
  /* */
11189
11550
  /* */
11551
+ /* */
11552
+ /* */
11553
+ /* */
11554
+ /* */
11555
+ /* */
11556
+ /* */
11557
+ /* */
11558
+ /* */
11559
+ /* */
11560
+ /* */
11561
+ /* */
11562
+ /* */
11563
+ /* */
11564
+ /* */
11565
+ /* */
11566
+ /* */
11190
11567
  return (void 0);
11191
11568
  }
11192
11569
  //#region methods & getters / has action commits to melt
@@ -11720,6 +12097,11 @@ class BaseGit extends BaseFeatureForProject {
11720
12097
  await this.project.linkedProjects.cloneNonexistedLinkedProjects(setOrigin);
11721
12098
  }
11722
12099
  }
12100
+ async backupBranch(branchName) {
12101
+ /* */
12102
+ /* */
12103
+ return (void 0);
12104
+ }
11723
12105
  //#region methods & getters / push process
11724
12106
  async pushProcess(options = {}) {
11725
12107
  /* */
@@ -12107,6 +12489,8 @@ class BaseGit extends BaseFeatureForProject {
12107
12489
  /* */
12108
12490
  /* */
12109
12491
  /* */
12492
+ /* */
12493
+ /* */
12110
12494
  return (void 0);
12111
12495
  }
12112
12496
  //#endregion
@@ -12344,8 +12728,11 @@ class BaseIgnoreHideHelpers extends BaseFeatureForProject {
12344
12728
  '.prettierc',
12345
12729
  'angular.json',
12346
12730
  '.prettierrc.json',
12731
+ '.eslintrc.js',
12347
12732
  '.eslintrc.json',
12348
12733
  '.npmrc',
12734
+ '.yarnrc',
12735
+ '.idea',
12349
12736
  ...this.project.linter.getLintFiles(),
12350
12737
  ];
12351
12738
  }
@@ -12354,6 +12741,7 @@ class BaseIgnoreHideHelpers extends BaseFeatureForProject {
12354
12741
  return [
12355
12742
  'tsconfig*',
12356
12743
  'webpack.*',
12744
+ '.eslintrc*',
12357
12745
  'tslint.*',
12358
12746
  linkeProjectPrefix ? `${linkeProjectPrefix}*` : void 0,
12359
12747
  ].filter(f => !!f);
@@ -12889,7 +13277,18 @@ class BaseVscodeHelpers extends BaseFeatureForProject {
12889
13277
  }
12890
13278
  //#endregion
12891
13279
  //#region apply proper global settings
12892
- async applyProperGlobalSettings() {
13280
+ static async applyProperGlobalSettings() {
13281
+ /* */
13282
+ /* */
13283
+ /* */
13284
+ /* */
13285
+ /* */
13286
+ /* */
13287
+ /* */
13288
+ /* */
13289
+ /* */
13290
+ /* */
13291
+ /* */
12893
13292
  /* */
12894
13293
  /* */
12895
13294
  /* */
@@ -13707,7 +14106,8 @@ class BaseReleaseProcess extends BaseFeatureForProject {
13707
14106
  }
13708
14107
  //#endregion
13709
14108
  //#region methods & getters / select release type
13710
- async selectReleaseType(versionToUseResolveFn) {
14109
+ async selectReleaseType(versionToUseResolveFn, options) {
14110
+ /* */
13711
14111
  /* */
13712
14112
  /* */
13713
14113
  /* */
@@ -14989,10 +15389,2749 @@ class BaseFileFoldersOperations extends BaseFeatureForProject {
14989
15389
  }
14990
15390
  }
14991
15391
 
15392
+ //#region imports
14992
15393
  /* */
14993
- /* */
14994
- /* */
14995
- /* */
15394
+ //#endregion
15395
+ class BaseGlobalCommandLine extends BaseCommandLineFeature {
15396
+ _() {
15397
+ Helpers.error('Please select git command');
15398
+ }
15399
+ //#region commands / prevent cwd is not project
15400
+ /**
15401
+ * TODO return argument not need for now
15402
+ */
15403
+ async cwdIsProject(options) {
15404
+ /* */
15405
+ /* */
15406
+ /* */
15407
+ /* */
15408
+ /* */
15409
+ /* */
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
+ return (void 0);
15447
+ }
15448
+ //#endregion
15449
+ //#region commands / hosts
15450
+ hosts() {
15451
+ /* */
15452
+ /* */
15453
+ /* */
15454
+ /* */
15455
+ /* */
15456
+ return (void 0);
15457
+ }
15458
+ //#endregion
15459
+ //#region commands / count commits
15460
+ countCommits() {
15461
+ /* */
15462
+ /* */
15463
+ /* */
15464
+ return (void 0);
15465
+ }
15466
+ //#endregion
15467
+ //#region commands / remove submodules
15468
+ removeSubmodules() {
15469
+ /* */
15470
+ /* */
15471
+ /* */
15472
+ /* */
15473
+ /* */
15474
+ /* */
15475
+ /* */
15476
+ /* */
15477
+ /* */
15478
+ /* */
15479
+ /* */
15480
+ /* */
15481
+ /* */
15482
+ return (void 0);
15483
+ }
15484
+ removeSubmodule() {
15485
+ /* */
15486
+ /* */
15487
+ /* */
15488
+ /* */
15489
+ /* */
15490
+ /* */
15491
+ /* */
15492
+ /* */
15493
+ /* */
15494
+ /* */
15495
+ /* */
15496
+ return (void 0);
15497
+ }
15498
+ //#endregion
15499
+ //#region commands / set editor
15500
+ async setEditor() {
15501
+ /* */
15502
+ /* */
15503
+ /* */
15504
+ return (void 0);
15505
+ }
15506
+ //#endregion
15507
+ //#region commands / api update
15508
+ async upapi() {
15509
+ /* */
15510
+ /* */
15511
+ return (void 0);
15512
+ }
15513
+ async apiup() {
15514
+ /* */
15515
+ /* */
15516
+ return (void 0);
15517
+ }
15518
+ async apiUpdate() {
15519
+ /* */
15520
+ /* */
15521
+ /* */
15522
+ /* */
15523
+ /* */
15524
+ /* */
15525
+ /* */
15526
+ /* */
15527
+ /* */
15528
+ /* */
15529
+ /* */
15530
+ /* */
15531
+ /* */
15532
+ /* */
15533
+ /* */
15534
+ /* */
15535
+ return (void 0);
15536
+ }
15537
+ //#endregion
15538
+ //#region commands / chore update
15539
+ async cu() {
15540
+ /* */
15541
+ /* */
15542
+ return (void 0);
15543
+ }
15544
+ async choreUpdate() {
15545
+ /* */
15546
+ /* */
15547
+ return (void 0);
15548
+ }
15549
+ //#endregion
15550
+ //#region commands / color vscode
15551
+ colorvscode() {
15552
+ /* */
15553
+ /* */
15554
+ return (void 0);
15555
+ }
15556
+ //#endregion
15557
+ //#region commands / settings vscode
15558
+ /**
15559
+ * Generate or update .vscode/settings.json file color settings
15560
+ */
15561
+ settingsVscode() {
15562
+ /* */
15563
+ /* */
15564
+ return (void 0);
15565
+ }
15566
+ refreshVscodeColors() {
15567
+ /* */
15568
+ /* */
15569
+ /* */
15570
+ return (void 0);
15571
+ }
15572
+ _regenerateVscodeSettingsColors(overideBottomColor) {
15573
+ /* */
15574
+ /* */
15575
+ return (void 0);
15576
+ }
15577
+ //#endregion
15578
+ //#region commands / quick git update
15579
+ /**
15580
+ * quick git update push
15581
+ */
15582
+ async update() {
15583
+ /* */
15584
+ /* */
15585
+ /* */
15586
+ /* */
15587
+ /* */
15588
+ /* */
15589
+ /* */
15590
+ /* */
15591
+ /* */
15592
+ /* */
15593
+ /* */
15594
+ /* */
15595
+ /* */
15596
+ /* */
15597
+ /* */
15598
+ /* */
15599
+ return (void 0);
15600
+ }
15601
+ async updateProject(project, force = false) {
15602
+ /* */
15603
+ /* */
15604
+ /* */
15605
+ /* */
15606
+ /* */
15607
+ /* */
15608
+ /* */
15609
+ /* */
15610
+ /* */
15611
+ /* */
15612
+ /* */
15613
+ /* */
15614
+ /* */
15615
+ /* */
15616
+ /* */
15617
+ /* */
15618
+ /* */
15619
+ /* */
15620
+ /* */
15621
+ /* */
15622
+ /* */
15623
+ /* */
15624
+ return (void 0);
15625
+ }
15626
+ async deepUp(noExit = false) {
15627
+ /* */
15628
+ /* */
15629
+ return (void 0);
15630
+ }
15631
+ async upAll(noExit = false) {
15632
+ /* */
15633
+ /* */
15634
+ return (void 0);
15635
+ }
15636
+ async deepUpForce(noExit = false) {
15637
+ /* */
15638
+ /* */
15639
+ return (void 0);
15640
+ }
15641
+ async deepUpdateForce(noExit = false) {
15642
+ /* */
15643
+ /* */
15644
+ /* */
15645
+ /* */
15646
+ /* */
15647
+ /* */
15648
+ /* */
15649
+ /* */
15650
+ /* */
15651
+ /* */
15652
+ /* */
15653
+ /* */
15654
+ return (void 0);
15655
+ }
15656
+ async deepUpdate(noExit = false) {
15657
+ /* */
15658
+ /* */
15659
+ /* */
15660
+ /* */
15661
+ /* */
15662
+ /* */
15663
+ /* */
15664
+ /* */
15665
+ /* */
15666
+ /* */
15667
+ return (void 0);
15668
+ }
15669
+ /**
15670
+ * Push update
15671
+ */
15672
+ async up() {
15673
+ /* */
15674
+ /* */
15675
+ return (void 0);
15676
+ }
15677
+ /**
15678
+ * Push update
15679
+ */
15680
+ async pu() {
15681
+ /* */
15682
+ /* */
15683
+ return (void 0);
15684
+ }
15685
+ //#endregion
15686
+ //#region commands / develop
15687
+ async develop() {
15688
+ /* */
15689
+ /* */
15690
+ /* */
15691
+ /* */
15692
+ /* */
15693
+ /* */
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
+ return (void 0);
15767
+ }
15768
+ async dev() {
15769
+ /* */
15770
+ /* */
15771
+ return (void 0);
15772
+ }
15773
+ //#endregion
15774
+ //#region commands / repulll
15775
+ async repul() {
15776
+ /* */
15777
+ /* */
15778
+ return (void 0);
15779
+ }
15780
+ async repull() {
15781
+ /* */
15782
+ /* */
15783
+ /* */
15784
+ /* */
15785
+ /* */
15786
+ /* */
15787
+ return (void 0);
15788
+ }
15789
+ //#endregion
15790
+ //#region commands / pull
15791
+ async pul() {
15792
+ /* */
15793
+ /* */
15794
+ return (void 0);
15795
+ }
15796
+ async pull() {
15797
+ /* */
15798
+ /* */
15799
+ /* */
15800
+ /* */
15801
+ /* */
15802
+ /* */
15803
+ /* */
15804
+ /* */
15805
+ return (void 0);
15806
+ }
15807
+ //#endregion
15808
+ //#region commands / pull all
15809
+ async pullAll() {
15810
+ /* */
15811
+ /* */
15812
+ /* */
15813
+ /* */
15814
+ /* */
15815
+ /* */
15816
+ /* */
15817
+ /* */
15818
+ return (void 0);
15819
+ }
15820
+ //#endregion
15821
+ //#region commands / push and pull
15822
+ async pp() {
15823
+ /* */
15824
+ /* */
15825
+ /* */
15826
+ /* */
15827
+ /* */
15828
+ /* */
15829
+ /* */
15830
+ /* */
15831
+ /* */
15832
+ return (void 0);
15833
+ }
15834
+ //#endregion
15835
+ //#region commands / reset
15836
+ __resetInfo(branchToReset, withChildren) {
15837
+ /* */
15838
+ /* */
15839
+ /* */
15840
+ /* */
15841
+ /* */
15842
+ /* */
15843
+ /* */
15844
+ /* */
15845
+ /* */
15846
+ /* */
15847
+ /* */
15848
+ /* */
15849
+ /* */
15850
+ /* */
15851
+ /* */
15852
+ /* */
15853
+ /* */
15854
+ /* */
15855
+ /* */
15856
+ return (void 0);
15857
+ }
15858
+ async fetch() {
15859
+ /* */
15860
+ /* */
15861
+ /* */
15862
+ /* */
15863
+ /* */
15864
+ return (void 0);
15865
+ }
15866
+ async reset() {
15867
+ /* */
15868
+ /* */
15869
+ /* */
15870
+ /* */
15871
+ /* */
15872
+ /* */
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
+ return (void 0);
15958
+ }
15959
+ //#endregion
15960
+ //#region commands / soft
15961
+ async soft() {
15962
+ /* */
15963
+ /* */
15964
+ /* */
15965
+ /* */
15966
+ /* */
15967
+ /* */
15968
+ /* */
15969
+ /* */
15970
+ /* */
15971
+ /* */
15972
+ /* */
15973
+ /* */
15974
+ /* */
15975
+ /* */
15976
+ /* */
15977
+ return (void 0);
15978
+ }
15979
+ //#endregion
15980
+ //#region commands / rebase
15981
+ async rebase() {
15982
+ /* */
15983
+ /* */
15984
+ /* */
15985
+ /* */
15986
+ /* */
15987
+ /* */
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
+ return (void 0);
16055
+ }
16056
+ //#endregion
16057
+ //#region commands / stash
16058
+ /**
16059
+ * stash only staged files
16060
+ */
16061
+ async stash() {
16062
+ /* */
16063
+ /* */
16064
+ /* */
16065
+ /* */
16066
+ /* */
16067
+ /* */
16068
+ /* */
16069
+ return (void 0);
16070
+ }
16071
+ //#endregion
16072
+ //#region commands / stash all
16073
+ /**
16074
+ * stash all files
16075
+ */
16076
+ async stashAll() {
16077
+ /* */
16078
+ /* */
16079
+ /* */
16080
+ /* */
16081
+ /* */
16082
+ /* */
16083
+ /* */
16084
+ return (void 0);
16085
+ }
16086
+ //#endregion
16087
+ //#region commands / push all origins
16088
+ /**
16089
+ * push force to all origins
16090
+ */
16091
+ async pushAllForce() {
16092
+ /* */
16093
+ /* */
16094
+ /* */
16095
+ /* */
16096
+ /* */
16097
+ return (void 0);
16098
+ }
16099
+ async pAllForce() {
16100
+ /* */
16101
+ /* */
16102
+ return (void 0);
16103
+ }
16104
+ async pAllf() {
16105
+ /* */
16106
+ /* */
16107
+ return (void 0);
16108
+ }
16109
+ async pAll() {
16110
+ /* */
16111
+ /* */
16112
+ return (void 0);
16113
+ }
16114
+ /**
16115
+ * push to all origins
16116
+ */
16117
+ async pushAll(force = false) {
16118
+ /* */
16119
+ /* */
16120
+ /* */
16121
+ /* */
16122
+ /* */
16123
+ /* */
16124
+ /* */
16125
+ /* */
16126
+ /* */
16127
+ /* */
16128
+ /* */
16129
+ /* */
16130
+ /* */
16131
+ /* */
16132
+ /* */
16133
+ /* */
16134
+ /* */
16135
+ /* */
16136
+ /* */
16137
+ /* */
16138
+ return (void 0);
16139
+ }
16140
+ //#endregion
16141
+ //#region commands / push force
16142
+ async forcePush() {
16143
+ /* */
16144
+ /* */
16145
+ return (void 0);
16146
+ }
16147
+ async pushForce() {
16148
+ /* */
16149
+ /* */
16150
+ return (void 0);
16151
+ }
16152
+ //#endregion
16153
+ //#region commands / commit
16154
+ /**
16155
+ * Commit and push this for single repo
16156
+ */
16157
+ async commit(options = {}) {
16158
+ /* */
16159
+ /* */
16160
+ /* */
16161
+ /* */
16162
+ /* */
16163
+ /* */
16164
+ /* */
16165
+ /* */
16166
+ /* */
16167
+ /* */
16168
+ /* */
16169
+ /* */
16170
+ /* */
16171
+ /* */
16172
+ /* */
16173
+ /* */
16174
+ /* */
16175
+ /* */
16176
+ /* */
16177
+ /* */
16178
+ /* */
16179
+ return (void 0);
16180
+ }
16181
+ //#endregion
16182
+ //#region commands / push
16183
+ async _preventPushPullFromNotCorrectBranch() {
16184
+ /* */
16185
+ /* */
16186
+ /* */
16187
+ /* */
16188
+ /* */
16189
+ /* */
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
+ return (void 0);
16230
+ }
16231
+ async qPush() {
16232
+ /* */
16233
+ /* */
16234
+ return (void 0);
16235
+ }
16236
+ async quickPush() {
16237
+ /* */
16238
+ /* */
16239
+ return (void 0);
16240
+ }
16241
+ async repushauto() {
16242
+ /* */
16243
+ /* */
16244
+ return (void 0);
16245
+ }
16246
+ async rePush(skipQuesion = false) {
16247
+ /* */
16248
+ /* */
16249
+ /* */
16250
+ /* */
16251
+ /* */
16252
+ /* */
16253
+ /* */
16254
+ /* */
16255
+ /* */
16256
+ /* */
16257
+ /* */
16258
+ /* */
16259
+ /* */
16260
+ /* */
16261
+ /* */
16262
+ /* */
16263
+ /* */
16264
+ /* */
16265
+ /* */
16266
+ /* */
16267
+ /* */
16268
+ /* */
16269
+ return (void 0);
16270
+ }
16271
+ async push(options = {}) {
16272
+ /* */
16273
+ /* */
16274
+ /* */
16275
+ /* */
16276
+ /* */
16277
+ /* */
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
+ return (void 0);
16318
+ }
16319
+ //#endregion
16320
+ //#region commands / melt
16321
+ async melt() {
16322
+ /* */
16323
+ /* */
16324
+ /* */
16325
+ /* */
16326
+ /* */
16327
+ /* */
16328
+ return (void 0);
16329
+ }
16330
+ //#endregion
16331
+ //#region commands / melt
16332
+ async meltUp() {
16333
+ /* */
16334
+ /* */
16335
+ /* */
16336
+ /* */
16337
+ /* */
16338
+ /* */
16339
+ /* */
16340
+ /* */
16341
+ /* */
16342
+ /* */
16343
+ /* */
16344
+ /* */
16345
+ /* */
16346
+ /* */
16347
+ /* */
16348
+ /* */
16349
+ /* */
16350
+ /* */
16351
+ /* */
16352
+ /* */
16353
+ /* */
16354
+ /* */
16355
+ /* */
16356
+ /* */
16357
+ /* */
16358
+ /* */
16359
+ /* */
16360
+ return (void 0);
16361
+ }
16362
+ //#endregion
16363
+ //#region commands / melt
16364
+ async meltAll() {
16365
+ /* */
16366
+ /* */
16367
+ /* */
16368
+ /* */
16369
+ /* */
16370
+ /* */
16371
+ /* */
16372
+ /* */
16373
+ /* */
16374
+ return (void 0);
16375
+ }
16376
+ //#endregion
16377
+ //#region commands / melt updat ecommits
16378
+ async __meltCommitsFunc(project, options) {
16379
+ /* */
16380
+ /* */
16381
+ /* */
16382
+ /* */
16383
+ /* */
16384
+ /* */
16385
+ /* */
16386
+ /* */
16387
+ /* */
16388
+ /* */
16389
+ return (void 0);
16390
+ }
16391
+ async meltUpdateCommits(options) {
16392
+ /* */
16393
+ /* */
16394
+ return (void 0);
16395
+ }
16396
+ //#endregion
16397
+ //#region commands / push feature
16398
+ async pf() {
16399
+ /* */
16400
+ /* */
16401
+ return (void 0);
16402
+ }
16403
+ async pRel() {
16404
+ /* */
16405
+ /* */
16406
+ return (void 0);
16407
+ }
16408
+ async pRelease() {
16409
+ /* */
16410
+ /* */
16411
+ return (void 0);
16412
+ }
16413
+ async pushRelease() {
16414
+ /* */
16415
+ /* */
16416
+ /* */
16417
+ /* */
16418
+ /* */
16419
+ /* */
16420
+ /* */
16421
+ /* */
16422
+ /* */
16423
+ return (void 0);
16424
+ }
16425
+ async mPush() {
16426
+ /* */
16427
+ /* */
16428
+ return (void 0);
16429
+ }
16430
+ async fmPush() {
16431
+ /* */
16432
+ /* */
16433
+ return (void 0);
16434
+ }
16435
+ async mfPush() {
16436
+ /* */
16437
+ /* */
16438
+ return (void 0);
16439
+ }
16440
+ async mforcePush() {
16441
+ /* */
16442
+ /* */
16443
+ return (void 0);
16444
+ }
16445
+ async meltforcePush() {
16446
+ /* */
16447
+ /* */
16448
+ return (void 0);
16449
+ }
16450
+ async forceMeltPush() {
16451
+ /* */
16452
+ /* */
16453
+ return (void 0);
16454
+ }
16455
+ async meltPush(force = false) {
16456
+ /* */
16457
+ /* */
16458
+ /* */
16459
+ /* */
16460
+ /* */
16461
+ /* */
16462
+ return (void 0);
16463
+ }
16464
+ async pushFeature() {
16465
+ /* */
16466
+ /* */
16467
+ /* */
16468
+ return (void 0);
16469
+ }
16470
+ //#endregion
16471
+ //#region commands / push fix
16472
+ async pushFix() {
16473
+ /* */
16474
+ /* */
16475
+ /* */
16476
+ return (void 0);
16477
+ }
16478
+ pfix() {
16479
+ /* */
16480
+ /* */
16481
+ return (void 0);
16482
+ }
16483
+ //#endregion
16484
+ //#region commands / push chore
16485
+ async pushChore() {
16486
+ /* */
16487
+ /* */
16488
+ /* */
16489
+ return (void 0);
16490
+ }
16491
+ async pc() {
16492
+ /* */
16493
+ /* */
16494
+ return (void 0);
16495
+ }
16496
+ //#endregion
16497
+ //#region commands / push refactor
16498
+ async pushRefactor() {
16499
+ /* */
16500
+ /* */
16501
+ /* */
16502
+ return (void 0);
16503
+ }
16504
+ async pushref() {
16505
+ /* */
16506
+ /* */
16507
+ return (void 0);
16508
+ }
16509
+ async pref() {
16510
+ /* */
16511
+ /* */
16512
+ return (void 0);
16513
+ }
16514
+ //#endregion
16515
+ //#region commands / push style
16516
+ async pushStyle() {
16517
+ /* */
16518
+ /* */
16519
+ /* */
16520
+ return (void 0);
16521
+ }
16522
+ async pstyl() {
16523
+ /* */
16524
+ /* */
16525
+ return (void 0);
16526
+ }
16527
+ async pstyle() {
16528
+ /* */
16529
+ /* */
16530
+ return (void 0);
16531
+ }
16532
+ //#endregion
16533
+ //#region commands / push docs
16534
+ async pushDocs() {
16535
+ /* */
16536
+ /* */
16537
+ /* */
16538
+ return (void 0);
16539
+ }
16540
+ async pd() {
16541
+ /* */
16542
+ /* */
16543
+ return (void 0);
16544
+ }
16545
+ async pdocs() {
16546
+ /* */
16547
+ /* */
16548
+ return (void 0);
16549
+ }
16550
+ //#endregion
16551
+ //#region commands / push test
16552
+ async pushTest() {
16553
+ /* */
16554
+ /* */
16555
+ /* */
16556
+ return (void 0);
16557
+ }
16558
+ async pTest() {
16559
+ /* */
16560
+ /* */
16561
+ return (void 0);
16562
+ }
16563
+ async pTests() {
16564
+ /* */
16565
+ /* */
16566
+ return (void 0);
16567
+ }
16568
+ //#endregion
16569
+ //#region commands / push perf
16570
+ async pushPerf() {
16571
+ /* */
16572
+ /* */
16573
+ /* */
16574
+ /* */
16575
+ /* */
16576
+ /* */
16577
+ return (void 0);
16578
+ }
16579
+ //#endregion
16580
+ //#region commands / push ci
16581
+ async pushCi() {
16582
+ /* */
16583
+ /* */
16584
+ /* */
16585
+ return (void 0);
16586
+ }
16587
+ //#endregion
16588
+ //#region commands / select branch
16589
+ async branch() {
16590
+ /* */
16591
+ /* */
16592
+ /* */
16593
+ /* */
16594
+ /* */
16595
+ /* */
16596
+ /* */
16597
+ /* */
16598
+ /* */
16599
+ /* */
16600
+ /* */
16601
+ /* */
16602
+ /* */
16603
+ /* */
16604
+ /* */
16605
+ /* */
16606
+ /* */
16607
+ /* */
16608
+ /* */
16609
+ /* */
16610
+ /* */
16611
+ /* */
16612
+ return (void 0);
16613
+ }
16614
+ //#endregion
16615
+ //#region commands / push build
16616
+ async pushBuild() {
16617
+ /* */
16618
+ /* */
16619
+ /* */
16620
+ return (void 0);
16621
+ }
16622
+ //#endregion
16623
+ //#region commands / set origin
16624
+ async SET_ORIGIN() {
16625
+ /* */
16626
+ /* */
16627
+ /* */
16628
+ /* */
16629
+ /* */
16630
+ /* */
16631
+ /* */
16632
+ /* */
16633
+ /* */
16634
+ /* */
16635
+ /* */
16636
+ /* */
16637
+ /* */
16638
+ /* */
16639
+ /* */
16640
+ /* */
16641
+ /* */
16642
+ /* */
16643
+ /* */
16644
+ /* */
16645
+ /* */
16646
+ /* */
16647
+ /* */
16648
+ /* */
16649
+ return (void 0);
16650
+ }
16651
+ //#endregion
16652
+ //#region commands / rename origin
16653
+ async RENAME_ORIGIN() {
16654
+ /* */
16655
+ /* */
16656
+ /* */
16657
+ /* */
16658
+ /* */
16659
+ /* */
16660
+ /* */
16661
+ /* */
16662
+ /* */
16663
+ /* */
16664
+ /* */
16665
+ /* */
16666
+ return (void 0);
16667
+ }
16668
+ //#endregion
16669
+ //#region commands / last hash tag
16670
+ async LAST_TAG_HASH() {
16671
+ /* */
16672
+ /* */
16673
+ /* */
16674
+ /* */
16675
+ /* */
16676
+ /* */
16677
+ return (void 0);
16678
+ }
16679
+ //#endregion
16680
+ //#region commands / last tag
16681
+ async LAST_TAG() {
16682
+ /* */
16683
+ /* */
16684
+ /* */
16685
+ /* */
16686
+ /* */
16687
+ /* */
16688
+ /* */
16689
+ /* */
16690
+ /* */
16691
+ /* */
16692
+ /* */
16693
+ /* */
16694
+ return (void 0);
16695
+ }
16696
+ //#endregion
16697
+ //#region commands / check tag exists
16698
+ CHECK_TAG_EXISTS() {
16699
+ /* */
16700
+ /* */
16701
+ /* */
16702
+ /* */
16703
+ /* */
16704
+ return (void 0);
16705
+ }
16706
+ //#endregion
16707
+ //#region commands / lint
16708
+ /**
16709
+ * TODO move somewhere
16710
+ */
16711
+ async lint() {
16712
+ /* */
16713
+ /* */
16714
+ /* */
16715
+ /* */
16716
+ /* */
16717
+ return (void 0);
16718
+ }
16719
+ //#endregion
16720
+ //#region commands / version
16721
+ /**
16722
+ * TODO move somewhere
16723
+ */
16724
+ async version() {
16725
+ /* */
16726
+ /* */
16727
+ /* */
16728
+ /* */
16729
+ /* */
16730
+ /* */
16731
+ return (void 0);
16732
+ }
16733
+ //#endregion
16734
+ //#region commands / init
16735
+ /**
16736
+ * TODO move somewhere
16737
+ */
16738
+ async init() {
16739
+ /* */
16740
+ /* */
16741
+ /* */
16742
+ /* */
16743
+ /* */
16744
+ /* */
16745
+ return (void 0);
16746
+ }
16747
+ /**
16748
+ * init parent and first level children
16749
+ */
16750
+ async initAll() {
16751
+ /* */
16752
+ /* */
16753
+ /* */
16754
+ /* */
16755
+ /* */
16756
+ /* */
16757
+ /* */
16758
+ /* */
16759
+ /* */
16760
+ return (void 0);
16761
+ }
16762
+ //#endregion
16763
+ //#region commands / struct
16764
+ /**
16765
+ * TODO move somewhere
16766
+ */
16767
+ async struct() {
16768
+ /* */
16769
+ /* */
16770
+ /* */
16771
+ /* */
16772
+ /* */
16773
+ /* */
16774
+ return (void 0);
16775
+ }
16776
+ //#endregion
16777
+ //#region commands / info
16778
+ /**
16779
+ * TODO move somewhere
16780
+ */
16781
+ async info() {
16782
+ /* */
16783
+ /* */
16784
+ /* */
16785
+ /* */
16786
+ /* */
16787
+ /* */
16788
+ /* */
16789
+ /* */
16790
+ /* */
16791
+ /* */
16792
+ /* */
16793
+ /* */
16794
+ return (void 0);
16795
+ }
16796
+ //#endregion
16797
+ //#region commands / info
16798
+ async modified() {
16799
+ /* */
16800
+ /* */
16801
+ /* */
16802
+ /* */
16803
+ /* */
16804
+ /* */
16805
+ /* */
16806
+ /* */
16807
+ /* */
16808
+ /* */
16809
+ /* */
16810
+ /* */
16811
+ /* */
16812
+ /* */
16813
+ /* */
16814
+ /* */
16815
+ /* */
16816
+ /* */
16817
+ /* */
16818
+ /* */
16819
+ /* */
16820
+ /* */
16821
+ /* */
16822
+ return (void 0);
16823
+ }
16824
+ //#endregion
16825
+ //#region commands / update
16826
+ async refresh() {
16827
+ /* */
16828
+ /* */
16829
+ /* */
16830
+ /* */
16831
+ /* */
16832
+ return (void 0);
16833
+ }
16834
+ //#endregion
16835
+ //#region commands / changes
16836
+ async changes() {
16837
+ /* */
16838
+ /* */
16839
+ /* */
16840
+ /* */
16841
+ /* */
16842
+ /* */
16843
+ /* */
16844
+ return (void 0);
16845
+ }
16846
+ //#endregion
16847
+ //#region commands / all tags
16848
+ async allTags() {
16849
+ /* */
16850
+ /* */
16851
+ /* */
16852
+ /* */
16853
+ /* */
16854
+ /* */
16855
+ /* */
16856
+ return (void 0);
16857
+ }
16858
+ //#endregion
16859
+ //#region commands / remove tag
16860
+ async removeTag() {
16861
+ /* */
16862
+ /* */
16863
+ /* */
16864
+ /* */
16865
+ /* */
16866
+ /* */
16867
+ /* */
16868
+ /* */
16869
+ /* */
16870
+ /* */
16871
+ /* */
16872
+ /* */
16873
+ /* */
16874
+ /* */
16875
+ /* */
16876
+ return (void 0);
16877
+ }
16878
+ //#endregion
16879
+ //#region commands / branch name
16880
+ BRANCH_NAME() {
16881
+ /* */
16882
+ /* */
16883
+ /* */
16884
+ /* */
16885
+ /* */
16886
+ return (void 0);
16887
+ }
16888
+ //#endregion
16889
+ //#region commands / remotes
16890
+ REMOTES() {
16891
+ /* */
16892
+ /* */
16893
+ /* */
16894
+ return (void 0);
16895
+ }
16896
+ async SET_REMOTE_SSH() {
16897
+ /* */
16898
+ /* */
16899
+ /* */
16900
+ return (void 0);
16901
+ }
16902
+ async SET_REMOTE_http() {
16903
+ /* */
16904
+ /* */
16905
+ /* */
16906
+ return (void 0);
16907
+ }
16908
+ async SET_REMOTE_https() {
16909
+ /* */
16910
+ /* */
16911
+ return (void 0);
16912
+ }
16913
+ _resolveChildFromArg() {
16914
+ /* */
16915
+ /* */
16916
+ /* */
16917
+ /* */
16918
+ /* */
16919
+ /* */
16920
+ /* */
16921
+ /* */
16922
+ /* */
16923
+ /* */
16924
+ return (void 0);
16925
+ }
16926
+ origin() {
16927
+ /* */
16928
+ /* */
16929
+ /* */
16930
+ /* */
16931
+ return (void 0);
16932
+ }
16933
+ remote() {
16934
+ /* */
16935
+ /* */
16936
+ /* */
16937
+ return (void 0);
16938
+ }
16939
+ originHttp() {
16940
+ /* */
16941
+ /* */
16942
+ /* */
16943
+ /* */
16944
+ /* */
16945
+ return (void 0);
16946
+ }
16947
+ originHttps() {
16948
+ /* */
16949
+ /* */
16950
+ /* */
16951
+ /* */
16952
+ /* */
16953
+ return (void 0);
16954
+ }
16955
+ originssh() {
16956
+ /* */
16957
+ /* */
16958
+ /* */
16959
+ /* */
16960
+ /* */
16961
+ return (void 0);
16962
+ }
16963
+ origins() {
16964
+ /* */
16965
+ /* */
16966
+ return (void 0);
16967
+ }
16968
+ //#endregion
16969
+ //#region commands / git config
16970
+ gitConfig() {
16971
+ /* */
16972
+ /* */
16973
+ /* */
16974
+ /* */
16975
+ return (void 0);
16976
+ }
16977
+ //#endregion
16978
+ //#region commands / lastCommitHash
16979
+ LAST_COMMIT_HASH() {
16980
+ /* */
16981
+ /* */
16982
+ /* */
16983
+ return (void 0);
16984
+ }
16985
+ //#endregion
16986
+ //#region commands / commit message by hash
16987
+ async COMMIT_MESSAGE_BY_HASH() {
16988
+ /* */
16989
+ /* */
16990
+ /* */
16991
+ /* */
16992
+ return (void 0);
16993
+ }
16994
+ //#endregion
16995
+ //#region commands / last 5 commit hashes
16996
+ async LAST_5_COMMITS() {
16997
+ /* */
16998
+ /* */
16999
+ /* */
17000
+ /* */
17001
+ /* */
17002
+ /* */
17003
+ return (void 0);
17004
+ }
17005
+ //#endregion
17006
+ //#region commands / update deps from
17007
+ async updateDepsFrom() {
17008
+ /* */
17009
+ /* */
17010
+ /* */
17011
+ /* */
17012
+ /* */
17013
+ /* */
17014
+ /* */
17015
+ /* */
17016
+ /* */
17017
+ /* */
17018
+ /* */
17019
+ /* */
17020
+ /* */
17021
+ /* */
17022
+ /* */
17023
+ return (void 0);
17024
+ }
17025
+ //#endregion
17026
+ //#region is terminal supported
17027
+ isSupportedTaonTerminal() {
17028
+ /* */
17029
+ /* */
17030
+ /* */
17031
+ return (void 0);
17032
+ }
17033
+ //#endregion
17034
+ //#region is terminal running inside cmd
17035
+ isRunningInWindowsCmd() {
17036
+ /* */
17037
+ /* */
17038
+ /* */
17039
+ /* */
17040
+ /* */
17041
+ return (void 0);
17042
+ }
17043
+ //#endregion
17044
+ //#region is running inside powershell
17045
+ isRunningInWindowsPowerShell() {
17046
+ /* */
17047
+ /* */
17048
+ /* */
17049
+ /* */
17050
+ /* */
17051
+ return (void 0);
17052
+ }
17053
+ //#endregion
17054
+ //#region prox ext
17055
+ async INSTALL_PROJECT_EXTENSIONS() {
17056
+ /* */
17057
+ /* */
17058
+ return (void 0);
17059
+ }
17060
+ async INSTALL_PROJECT_EXT() {
17061
+ /* */
17062
+ /* */
17063
+ return (void 0);
17064
+ }
17065
+ async INS_PROJ_EXT() {
17066
+ /* */
17067
+ /* */
17068
+ return (void 0);
17069
+ }
17070
+ async INSTALL_PROJ_EXT() {
17071
+ /* */
17072
+ /* */
17073
+ /* */
17074
+ /* */
17075
+ /* */
17076
+ /* */
17077
+ /* */
17078
+ /* */
17079
+ /* */
17080
+ /* */
17081
+ /* */
17082
+ /* */
17083
+ /* */
17084
+ /* */
17085
+ /* */
17086
+ /* */
17087
+ /* */
17088
+ return (void 0);
17089
+ }
17090
+ //#endregion
17091
+ //#region proj db
17092
+ async projdb() {
17093
+ /* */
17094
+ /* */
17095
+ /* */
17096
+ /* */
17097
+ /* */
17098
+ /* */
17099
+ /* */
17100
+ /* */
17101
+ /* */
17102
+ /* */
17103
+ /* */
17104
+ /* */
17105
+ /* */
17106
+ /* */
17107
+ return (void 0);
17108
+ }
17109
+ //#endregion
17110
+ //#region filter all project branches by pattern
17111
+ __filterBranchesByPattern(branchPatternOrBranchName) {
17112
+ /* */
17113
+ /* */
17114
+ /* */
17115
+ /* */
17116
+ /* */
17117
+ /* */
17118
+ /* */
17119
+ return (void 0);
17120
+ }
17121
+ //#endregion
17122
+ //#region select branch from list of branches
17123
+ async __selectBrach(branches, task) {
17124
+ /* */
17125
+ /* */
17126
+ /* */
17127
+ /* */
17128
+ /* */
17129
+ /* */
17130
+ /* */
17131
+ /* */
17132
+ /* */
17133
+ /* */
17134
+ /* */
17135
+ /* */
17136
+ /* */
17137
+ /* */
17138
+ /* */
17139
+ return (void 0);
17140
+ }
17141
+ //#endregion
17142
+ //#region commands / clone
17143
+ async clone() {
17144
+ /* */
17145
+ /* */
17146
+ /* */
17147
+ /* */
17148
+ /* */
17149
+ /* */
17150
+ /* */
17151
+ /* */
17152
+ /* */
17153
+ /* */
17154
+ /* */
17155
+ /* */
17156
+ /* */
17157
+ /* */
17158
+ /* */
17159
+ /* */
17160
+ /* */
17161
+ return (void 0);
17162
+ }
17163
+ //#endregion
17164
+ //#region commands / gh temp
17165
+ async ghSave() {
17166
+ /* */
17167
+ /* */
17168
+ /* */
17169
+ return (void 0);
17170
+ }
17171
+ async ghRestore() {
17172
+ /* */
17173
+ /* */
17174
+ /* */
17175
+ return (void 0);
17176
+ }
17177
+ //#endregion
17178
+ //#region commands / start cli service ports worker
17179
+ async ports() {
17180
+ /* */
17181
+ /* */
17182
+ return (void 0);
17183
+ }
17184
+ /**
17185
+ * tnp startCliServicePortsWorker --restart
17186
+ */
17187
+ async startCliServicePortsWorker() {
17188
+ /* */
17189
+ /* */
17190
+ /* */
17191
+ /* */
17192
+ /* */
17193
+ /* */
17194
+ /* */
17195
+ /* */
17196
+ /* */
17197
+ /* */
17198
+ return (void 0);
17199
+ }
17200
+ //#endregion
17201
+ //#region commands / wait for any key
17202
+ async waitForUserAnyKey() {
17203
+ /* */
17204
+ /* */
17205
+ /* */
17206
+ /* */
17207
+ /* */
17208
+ /* */
17209
+ return (void 0);
17210
+ }
17211
+ //#endregion
17212
+ //#region commands / pause terminal
17213
+ pauseTerminal() {
17214
+ /* */
17215
+ /* */
17216
+ /* */
17217
+ return (void 0);
17218
+ }
17219
+ //#endregion
17220
+ //#region commands / sleep terminal
17221
+ sleepTerminal() {
17222
+ /* */
17223
+ /* */
17224
+ /* */
17225
+ /* */
17226
+ return (void 0);
17227
+ }
17228
+ //#endregion
17229
+ //#region commands / gh pages init
17230
+ async ghPagesInit() {
17231
+ /* */
17232
+ /* */
17233
+ /* */
17234
+ /* */
17235
+ /* */
17236
+ /* */
17237
+ /* */
17238
+ /* */
17239
+ /* */
17240
+ /* */
17241
+ return (void 0);
17242
+ }
17243
+ //#endregion
17244
+ //#region commands / is port in use
17245
+ async isPortInUse() {
17246
+ /* */
17247
+ /* */
17248
+ /* */
17249
+ /* */
17250
+ return (void 0);
17251
+ }
17252
+ //#endregion
17253
+ //#region commands / proc menu
17254
+ /* */
17255
+ /* */
17256
+ /* */
17257
+ /* */
17258
+ /* */
17259
+ /* */
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
+ //#endregion
17313
+ //#region commands / proc info
17314
+ procInfo() {
17315
+ /* */
17316
+ /* */
17317
+ return (void 0);
17318
+ }
17319
+ processInfo() {
17320
+ /* */
17321
+ /* */
17322
+ /* */
17323
+ /* */
17324
+ /* */
17325
+ /* */
17326
+ /* */
17327
+ /* */
17328
+ /* */
17329
+ /* */
17330
+ /* */
17331
+ /* */
17332
+ /* */
17333
+ /* */
17334
+ /* */
17335
+ /* */
17336
+ return (void 0);
17337
+ }
17338
+ //#endregion
17339
+ //#region commands / last git tag
17340
+ lastGitTag() {
17341
+ /* */
17342
+ /* */
17343
+ /* */
17344
+ /* */
17345
+ return (void 0);
17346
+ }
17347
+ //#endregion
17348
+ //#region commands / check ports
17349
+ async checkPort() {
17350
+ /* */
17351
+ /* */
17352
+ return (void 0);
17353
+ }
17354
+ async checkPorts() {
17355
+ /* */
17356
+ /* */
17357
+ /* */
17358
+ /* */
17359
+ /* */
17360
+ /* */
17361
+ /* */
17362
+ /* */
17363
+ /* */
17364
+ /* */
17365
+ /* */
17366
+ /* */
17367
+ /* */
17368
+ /* */
17369
+ /* */
17370
+ /* */
17371
+ /* */
17372
+ /* */
17373
+ /* */
17374
+ /* */
17375
+ /* */
17376
+ return (void 0);
17377
+ }
17378
+ //#endregion
17379
+ //#region commands / remove symlinks
17380
+ removeSymlinksDryRun() {
17381
+ /* */
17382
+ /* */
17383
+ /* */
17384
+ /* */
17385
+ return (void 0);
17386
+ }
17387
+ //#endregion
17388
+ //#region commands / select java
17389
+ async selectJava() {
17390
+ /* */
17391
+ /* */
17392
+ /* */
17393
+ return (void 0);
17394
+ }
17395
+ //#endregion
17396
+ //#region commands / select tomcat
17397
+ async selectTomcat() {
17398
+ /* */
17399
+ /* */
17400
+ /* */
17401
+ /* */
17402
+ return (void 0);
17403
+ }
17404
+ //#endregion
17405
+ //#region commands / ln
17406
+ LN() {
17407
+ /* */
17408
+ /* */
17409
+ /* */
17410
+ /* */
17411
+ return (void 0);
17412
+ }
17413
+ //#endregion
17414
+ //#region commands / copy
17415
+ copy() {
17416
+ /* */
17417
+ /* */
17418
+ /* */
17419
+ /* */
17420
+ /* */
17421
+ /* */
17422
+ /* */
17423
+ /* */
17424
+ /* */
17425
+ /* */
17426
+ /* */
17427
+ /* */
17428
+ /* */
17429
+ /* */
17430
+ /* */
17431
+ /* */
17432
+ /* */
17433
+ /* */
17434
+ /* */
17435
+ /* */
17436
+ /* */
17437
+ /* */
17438
+ /* */
17439
+ /* */
17440
+ /* */
17441
+ /* */
17442
+ /* */
17443
+ /* */
17444
+ return (void 0);
17445
+ }
17446
+ //#endregion
17447
+ //#region commands / simulate domain
17448
+ async simulateDomain() {
17449
+ /* */
17450
+ /* */
17451
+ /* */
17452
+ /* */
17453
+ return (void 0);
17454
+ }
17455
+ //#endregion
17456
+ //#region commands / preview
17457
+ async preview() {
17458
+ /* */
17459
+ /* */
17460
+ /* */
17461
+ /* */
17462
+ /* */
17463
+ /* */
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
+ return (void 0);
17567
+ }
17568
+ //#endregion
17569
+ //#region commands / shorten
17570
+ /**
17571
+ * read huge file and display only lines with specyfic words
17572
+ */
17573
+ async shorten() {
17574
+ /* */
17575
+ /* */
17576
+ /* */
17577
+ /* */
17578
+ /* */
17579
+ /* */
17580
+ /* */
17581
+ /* */
17582
+ /* */
17583
+ /* */
17584
+ /* */
17585
+ /* */
17586
+ /* */
17587
+ /* */
17588
+ /* */
17589
+ /* */
17590
+ /* */
17591
+ /* */
17592
+ /* */
17593
+ /* */
17594
+ return (void 0);
17595
+ }
17596
+ //#endregion
17597
+ //#region commands / dump packages versions
17598
+ dumpPackagesVersions() {
17599
+ /* */
17600
+ /* */
17601
+ /* */
17602
+ /* */
17603
+ /* */
17604
+ /* */
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
+ return (void 0);
17633
+ }
17634
+ //#endregion
17635
+ //#region commands / zip
17636
+ async zip() {
17637
+ /* */
17638
+ /* */
17639
+ /* */
17640
+ /* */
17641
+ /* */
17642
+ /* */
17643
+ /* */
17644
+ /* */
17645
+ /* */
17646
+ /* */
17647
+ /* */
17648
+ /* */
17649
+ /* */
17650
+ /* */
17651
+ /* */
17652
+ /* */
17653
+ /* */
17654
+ /* */
17655
+ /* */
17656
+ /* */
17657
+ /* */
17658
+ /* */
17659
+ /* */
17660
+ /* */
17661
+ return (void 0);
17662
+ }
17663
+ //#endregion
17664
+ //#region commands / unzip
17665
+ async unzip() {
17666
+ /* */
17667
+ /* */
17668
+ /* */
17669
+ /* */
17670
+ /* */
17671
+ /* */
17672
+ /* */
17673
+ /* */
17674
+ /* */
17675
+ /* */
17676
+ /* */
17677
+ /* */
17678
+ /* */
17679
+ /* */
17680
+ /* */
17681
+ return (void 0);
17682
+ }
17683
+ //#endregion
17684
+ //#region commands / start transmission
17685
+ async startTransmission() {
17686
+ /* */
17687
+ /* */
17688
+ /* */
17689
+ /* */
17690
+ /* */
17691
+ /* */
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
+ return (void 0);
17744
+ }
17745
+ async _removeTransmission() {
17746
+ /* */
17747
+ /* */
17748
+ /* */
17749
+ /* */
17750
+ /* */
17751
+ /* */
17752
+ /* */
17753
+ /* */
17754
+ /* */
17755
+ /* */
17756
+ /* */
17757
+ /* */
17758
+ /* */
17759
+ /* */
17760
+ /* */
17761
+ /* */
17762
+ /* */
17763
+ /* */
17764
+ /* */
17765
+ /* */
17766
+ return (void 0);
17767
+ }
17768
+ //#endregion
17769
+ //#region commands / backup branch
17770
+ async backupBranch() {
17771
+ /* */
17772
+ /* */
17773
+ /* */
17774
+ return (void 0);
17775
+ }
17776
+ async bb() {
17777
+ /* */
17778
+ /* */
17779
+ return (void 0);
17780
+ }
17781
+ //#endregion
17782
+ //#region commands / count code lines
17783
+ async countCodeLines() {
17784
+ /* */
17785
+ /* */
17786
+ return (void 0);
17787
+ }
17788
+ async countCode() {
17789
+ /* */
17790
+ /* */
17791
+ return (void 0);
17792
+ }
17793
+ async countLines() {
17794
+ /* */
17795
+ /* */
17796
+ /* */
17797
+ /* */
17798
+ /* */
17799
+ /* */
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
+ return (void 0);
17853
+ }
17854
+ //#endregion
17855
+ //#region commands / is node version ok
17856
+ isNodeVersionOk() {
17857
+ /* */
17858
+ /* */
17859
+ /* */
17860
+ /* */
17861
+ /* */
17862
+ /* */
17863
+ /* */
17864
+ /* */
17865
+ /* */
17866
+ /* */
17867
+ /* */
17868
+ return (void 0);
17869
+ }
17870
+ //#endregion
17871
+ //#region commands / pwd
17872
+ pwd() {
17873
+ config.frameworkName = 'taon';
17874
+ console.log(crossPlatformPath(this.cwd));
17875
+ this._exit();
17876
+ }
17877
+ //#endregion
17878
+ //#region commands / less-more big text files preview
17879
+ async more() {
17880
+ /* */
17881
+ /* */
17882
+ /* */
17883
+ /* */
17884
+ /* */
17885
+ /* */
17886
+ /* */
17887
+ /* */
17888
+ /* */
17889
+ return (void 0);
17890
+ }
17891
+ async less() {
17892
+ /* */
17893
+ /* */
17894
+ return (void 0);
17895
+ }
17896
+ //#endregion
17897
+ //#region commands / mp3
17898
+ /**
17899
+ * npm install --global bin-version-check-cli
17900
+ * npm i -g yt-dlp
17901
+ * choco install ffmpeg
17902
+ */
17903
+ MP3(args) {
17904
+ /* */
17905
+ /* */
17906
+ /* */
17907
+ /* */
17908
+ /* */
17909
+ /* */
17910
+ /* */
17911
+ /* */
17912
+ /* */
17913
+ /* */
17914
+ /* */
17915
+ /* */
17916
+ /* */
17917
+ /* */
17918
+ /* */
17919
+ /* */
17920
+ /* */
17921
+ /* */
17922
+ /* */
17923
+ return (void 0);
17924
+ }
17925
+ //#endregion
17926
+ //#region commands / mp4
17927
+ MP4(args) {
17928
+ /* */
17929
+ /* */
17930
+ /* */
17931
+ /* */
17932
+ /* */
17933
+ /* */
17934
+ /* */
17935
+ /* */
17936
+ /* */
17937
+ /* */
17938
+ /* */
17939
+ /* */
17940
+ /* */
17941
+ /* */
17942
+ /* */
17943
+ /* */
17944
+ return (void 0);
17945
+ }
17946
+ //#endregion
17947
+ //#region commands / gif from video
17948
+ gif() {
17949
+ /* */
17950
+ /* */
17951
+ /* */
17952
+ /* */
17953
+ /* */
17954
+ /* */
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
+ return (void 0);
17997
+ }
17998
+ //#endregion
17999
+ //#region commands / kill zscaller
18000
+ killZs() {
18001
+ /* */
18002
+ /* */
18003
+ return (void 0);
18004
+ }
18005
+ startZs() {
18006
+ /* */
18007
+ /* */
18008
+ return (void 0);
18009
+ }
18010
+ zsKill() {
18011
+ /* */
18012
+ /* */
18013
+ return (void 0);
18014
+ }
18015
+ zsStart() {
18016
+ /* */
18017
+ /* */
18018
+ return (void 0);
18019
+ }
18020
+ startZscaller() {
18021
+ /* */
18022
+ /* */
18023
+ /* */
18024
+ /* */
18025
+ /* */
18026
+ /* */
18027
+ /* */
18028
+ /* */
18029
+ /* */
18030
+ /* */
18031
+ /* */
18032
+ /* */
18033
+ /* */
18034
+ /* */
18035
+ /* */
18036
+ /* */
18037
+ return (void 0);
18038
+ }
18039
+ killZscaller() {
18040
+ /* */
18041
+ /* */
18042
+ /* */
18043
+ /* */
18044
+ /* */
18045
+ /* */
18046
+ /* */
18047
+ /* */
18048
+ /* */
18049
+ /* */
18050
+ /* */
18051
+ /* */
18052
+ /* */
18053
+ /* */
18054
+ /* */
18055
+ /* */
18056
+ return (void 0);
18057
+ }
18058
+ //#endregion
18059
+ //#region commands / has command
18060
+ async hasCommand() {
18061
+ /* */
18062
+ /* */
18063
+ /* */
18064
+ /* */
18065
+ /* */
18066
+ /* */
18067
+ /* */
18068
+ return (void 0);
18069
+ }
18070
+ hasCommandSync() {
18071
+ /* */
18072
+ /* */
18073
+ /* */
18074
+ /* */
18075
+ /* */
18076
+ /* */
18077
+ /* */
18078
+ /* */
18079
+ /* */
18080
+ return (void 0);
18081
+ }
18082
+ //#endregion
18083
+ //#region commands / public ip address
18084
+ async publicIpAddress() {
18085
+ const ip = await UtilsNetwork.getCurrentPublicIpAddress();
18086
+ console.log(`Your public IP address is: ${ip}`);
18087
+ this._exit();
18088
+ }
18089
+ async publicIp() {
18090
+ /* */
18091
+ /* */
18092
+ return (void 0);
18093
+ }
18094
+ //#endregion
18095
+ //#region commands / open origins in vscode
18096
+ async localIps() {
18097
+ const firstActiveLocalIp = await UtilsNetwork.getFirstIpV4LocalActiveIpAddress();
18098
+ console.log(`Your first active local IP address is: ${firstActiveLocalIp} `);
18099
+ const ips = await UtilsNetwork.getLocalIpAddresses();
18100
+ for (let index = 0; index < ips.length; index++) {
18101
+ const ip = ips[index];
18102
+ // console.log(ip);
18103
+ console.log(`${index + 1}. Local IP address is: ` +
18104
+ `${ip.address}, type: ${ip.type}`);
18105
+ }
18106
+ this._exit();
18107
+ }
18108
+ //#endregion
18109
+ //#region commands / is online
18110
+ async isOnline() {
18111
+ /* */
18112
+ /* */
18113
+ /* */
18114
+ /* */
18115
+ /* */
18116
+ return (void 0);
18117
+ }
18118
+ //#endregion
18119
+ //#region commands / configure bash and shell
18120
+ async configureBash() {
18121
+ // ! TODO @UNCOMMENT
18122
+ // await UtilsTerminal.configureBashOrShell();
18123
+ }
18124
+ async configureShell() {
18125
+ // ! TODO @UNCOMMENT
18126
+ // await UtilsTerminal.configureBashOrShell();
18127
+ }
18128
+ confBash() {
18129
+ this.configureBash();
18130
+ }
18131
+ confShell() {
18132
+ this.configureShell();
18133
+ }
18134
+ }
14996
18135
 
14997
18136
  //#region imports
14998
18137
  //#endregion
@@ -16763,5 +19902,5 @@ const Helpers = HelpersTaon.Instance;
16763
19902
  * Generated bundle index. Do not edit.
16764
19903
  */
16765
19904
 
16766
- 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 };
19905
+ 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 };
16767
19906
  //# sourceMappingURL=tnp-helpers.mjs.map