@xano/cli 0.0.95-beta.21 → 0.0.95-beta.23

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 (198) hide show
  1. package/README.md +13 -1
  2. package/dist/base-command.d.ts +11 -1
  3. package/dist/base-command.js +31 -3
  4. package/dist/commands/auth/index.d.ts +1 -0
  5. package/dist/commands/auth/index.js +15 -10
  6. package/dist/commands/branch/create/index.d.ts +1 -0
  7. package/dist/commands/branch/create/index.js +1 -4
  8. package/dist/commands/branch/delete/index.d.ts +1 -0
  9. package/dist/commands/branch/delete/index.js +1 -4
  10. package/dist/commands/branch/edit/index.d.ts +1 -0
  11. package/dist/commands/branch/edit/index.js +1 -4
  12. package/dist/commands/branch/get/index.d.ts +1 -0
  13. package/dist/commands/branch/get/index.js +1 -4
  14. package/dist/commands/branch/list/index.d.ts +1 -0
  15. package/dist/commands/branch/list/index.js +1 -4
  16. package/dist/commands/branch/set_live/index.d.ts +1 -0
  17. package/dist/commands/branch/set_live/index.js +1 -4
  18. package/dist/commands/function/create/index.d.ts +1 -0
  19. package/dist/commands/function/create/index.js +1 -2
  20. package/dist/commands/function/edit/index.d.ts +1 -0
  21. package/dist/commands/function/edit/index.js +1 -2
  22. package/dist/commands/function/get/index.d.ts +1 -0
  23. package/dist/commands/function/get/index.js +1 -4
  24. package/dist/commands/function/list/index.d.ts +1 -0
  25. package/dist/commands/function/list/index.js +1 -4
  26. package/dist/commands/platform/get/index.d.ts +1 -0
  27. package/dist/commands/platform/get/index.js +1 -4
  28. package/dist/commands/platform/list/index.d.ts +1 -0
  29. package/dist/commands/platform/list/index.js +1 -4
  30. package/dist/commands/profile/create/index.d.ts +1 -0
  31. package/dist/commands/profile/create/index.js +10 -4
  32. package/dist/commands/profile/delete/index.d.ts +1 -0
  33. package/dist/commands/profile/delete/index.js +8 -4
  34. package/dist/commands/profile/edit/index.d.ts +1 -0
  35. package/dist/commands/profile/edit/index.js +1 -4
  36. package/dist/commands/profile/get/index.d.ts +3 -0
  37. package/dist/commands/profile/get/index.js +12 -5
  38. package/dist/commands/profile/list/index.d.ts +1 -0
  39. package/dist/commands/profile/list/index.js +8 -4
  40. package/dist/commands/profile/me/index.d.ts +1 -0
  41. package/dist/commands/profile/me/index.js +1 -4
  42. package/dist/commands/profile/set/index.d.ts +3 -0
  43. package/dist/commands/profile/set/index.js +12 -6
  44. package/dist/commands/profile/token/index.d.ts +3 -0
  45. package/dist/commands/profile/token/index.js +12 -5
  46. package/dist/commands/profile/wizard/index.d.ts +1 -0
  47. package/dist/commands/profile/wizard/index.js +13 -9
  48. package/dist/commands/profile/workspace/index.d.ts +3 -0
  49. package/dist/commands/profile/workspace/index.js +12 -5
  50. package/dist/commands/profile/workspace/set/index.d.ts +1 -0
  51. package/dist/commands/profile/workspace/set/index.js +1 -3
  52. package/dist/commands/release/create/index.d.ts +1 -0
  53. package/dist/commands/release/create/index.js +1 -4
  54. package/dist/commands/release/delete/index.d.ts +1 -0
  55. package/dist/commands/release/delete/index.js +1 -4
  56. package/dist/commands/release/deploy/index.d.ts +1 -0
  57. package/dist/commands/release/edit/index.d.ts +1 -0
  58. package/dist/commands/release/edit/index.js +1 -4
  59. package/dist/commands/release/export/index.d.ts +1 -0
  60. package/dist/commands/release/export/index.js +1 -3
  61. package/dist/commands/release/get/index.d.ts +1 -0
  62. package/dist/commands/release/get/index.js +1 -4
  63. package/dist/commands/release/import/index.d.ts +1 -0
  64. package/dist/commands/release/import/index.js +1 -3
  65. package/dist/commands/release/list/index.d.ts +1 -0
  66. package/dist/commands/release/list/index.js +1 -4
  67. package/dist/commands/release/pull/index.d.ts +1 -0
  68. package/dist/commands/release/pull/index.js +1 -3
  69. package/dist/commands/release/push/index.d.ts +1 -0
  70. package/dist/commands/release/push/index.js +1 -3
  71. package/dist/commands/sandbox/delete/index.d.ts +1 -0
  72. package/dist/commands/sandbox/env/delete/index.d.ts +1 -0
  73. package/dist/commands/sandbox/env/get/index.d.ts +1 -0
  74. package/dist/commands/sandbox/env/get_all/index.d.ts +1 -0
  75. package/dist/commands/sandbox/env/list/index.d.ts +1 -0
  76. package/dist/commands/sandbox/env/set/index.d.ts +1 -0
  77. package/dist/commands/sandbox/env/set_all/index.d.ts +1 -0
  78. package/dist/commands/sandbox/get/index.d.ts +1 -0
  79. package/dist/commands/sandbox/license/get/index.d.ts +1 -0
  80. package/dist/commands/sandbox/license/set/index.d.ts +1 -0
  81. package/dist/commands/sandbox/pull/index.d.ts +1 -0
  82. package/dist/commands/sandbox/push/index.d.ts +1 -0
  83. package/dist/commands/sandbox/reset/index.d.ts +1 -0
  84. package/dist/commands/sandbox/review/index.d.ts +1 -0
  85. package/dist/commands/sandbox/unit_test/list/index.d.ts +1 -0
  86. package/dist/commands/sandbox/unit_test/run/index.d.ts +1 -0
  87. package/dist/commands/sandbox/unit_test/run_all/index.d.ts +1 -0
  88. package/dist/commands/sandbox/workflow_test/list/index.d.ts +1 -0
  89. package/dist/commands/sandbox/workflow_test/run/index.d.ts +1 -0
  90. package/dist/commands/sandbox/workflow_test/run_all/index.d.ts +1 -0
  91. package/dist/commands/static_host/build/create/index.d.ts +1 -0
  92. package/dist/commands/static_host/build/create/index.js +1 -3
  93. package/dist/commands/static_host/build/get/index.d.ts +1 -0
  94. package/dist/commands/static_host/build/get/index.js +1 -4
  95. package/dist/commands/static_host/build/list/index.d.ts +1 -0
  96. package/dist/commands/static_host/build/list/index.js +1 -4
  97. package/dist/commands/static_host/list/index.d.ts +1 -0
  98. package/dist/commands/static_host/list/index.js +1 -4
  99. package/dist/commands/tenant/backup/create/index.d.ts +1 -0
  100. package/dist/commands/tenant/backup/create/index.js +1 -4
  101. package/dist/commands/tenant/backup/delete/index.d.ts +1 -0
  102. package/dist/commands/tenant/backup/delete/index.js +1 -4
  103. package/dist/commands/tenant/backup/export/index.d.ts +1 -0
  104. package/dist/commands/tenant/backup/export/index.js +1 -3
  105. package/dist/commands/tenant/backup/import/index.d.ts +1 -0
  106. package/dist/commands/tenant/backup/import/index.js +1 -3
  107. package/dist/commands/tenant/backup/list/index.d.ts +1 -0
  108. package/dist/commands/tenant/backup/list/index.js +1 -4
  109. package/dist/commands/tenant/backup/restore/index.d.ts +1 -0
  110. package/dist/commands/tenant/backup/restore/index.js +1 -4
  111. package/dist/commands/tenant/cluster/create/index.d.ts +1 -0
  112. package/dist/commands/tenant/cluster/create/index.js +1 -3
  113. package/dist/commands/tenant/cluster/delete/index.d.ts +1 -0
  114. package/dist/commands/tenant/cluster/delete/index.js +1 -4
  115. package/dist/commands/tenant/cluster/edit/index.d.ts +1 -0
  116. package/dist/commands/tenant/cluster/edit/index.js +1 -4
  117. package/dist/commands/tenant/cluster/get/index.d.ts +1 -0
  118. package/dist/commands/tenant/cluster/get/index.js +1 -4
  119. package/dist/commands/tenant/cluster/license/get/index.d.ts +1 -0
  120. package/dist/commands/tenant/cluster/license/get/index.js +1 -3
  121. package/dist/commands/tenant/cluster/license/set/index.d.ts +1 -0
  122. package/dist/commands/tenant/cluster/license/set/index.js +1 -3
  123. package/dist/commands/tenant/cluster/list/index.d.ts +1 -0
  124. package/dist/commands/tenant/cluster/list/index.js +1 -4
  125. package/dist/commands/tenant/create/index.d.ts +1 -0
  126. package/dist/commands/tenant/create/index.js +1 -3
  127. package/dist/commands/tenant/delete/index.d.ts +1 -0
  128. package/dist/commands/tenant/delete/index.js +1 -4
  129. package/dist/commands/tenant/deploy_platform/index.d.ts +1 -0
  130. package/dist/commands/tenant/deploy_platform/index.js +1 -3
  131. package/dist/commands/tenant/deploy_release/index.d.ts +1 -1
  132. package/dist/commands/tenant/deploy_release/index.js +2 -13
  133. package/dist/commands/tenant/edit/index.d.ts +1 -0
  134. package/dist/commands/tenant/edit/index.js +1 -4
  135. package/dist/commands/tenant/env/delete/index.d.ts +1 -0
  136. package/dist/commands/tenant/env/delete/index.js +1 -4
  137. package/dist/commands/tenant/env/get/index.d.ts +1 -0
  138. package/dist/commands/tenant/env/get/index.js +1 -4
  139. package/dist/commands/tenant/env/get_all/index.d.ts +1 -0
  140. package/dist/commands/tenant/env/get_all/index.js +1 -3
  141. package/dist/commands/tenant/env/list/index.d.ts +1 -0
  142. package/dist/commands/tenant/env/list/index.js +1 -4
  143. package/dist/commands/tenant/env/set/index.d.ts +1 -0
  144. package/dist/commands/tenant/env/set/index.js +1 -4
  145. package/dist/commands/tenant/env/set_all/index.d.ts +1 -0
  146. package/dist/commands/tenant/env/set_all/index.js +1 -3
  147. package/dist/commands/tenant/get/index.d.ts +1 -0
  148. package/dist/commands/tenant/get/index.js +1 -4
  149. package/dist/commands/tenant/impersonate/index.d.ts +1 -0
  150. package/dist/commands/tenant/impersonate/index.js +1 -4
  151. package/dist/commands/tenant/license/get/index.d.ts +1 -0
  152. package/dist/commands/tenant/license/get/index.js +1 -3
  153. package/dist/commands/tenant/license/set/index.d.ts +1 -0
  154. package/dist/commands/tenant/license/set/index.js +1 -3
  155. package/dist/commands/tenant/list/index.d.ts +1 -0
  156. package/dist/commands/tenant/list/index.js +1 -4
  157. package/dist/commands/tenant/pull/index.d.ts +1 -0
  158. package/dist/commands/tenant/pull/index.js +1 -3
  159. package/dist/commands/tenant/unit_test/list/index.d.ts +1 -0
  160. package/dist/commands/tenant/unit_test/run/index.d.ts +1 -0
  161. package/dist/commands/tenant/unit_test/run_all/index.d.ts +1 -0
  162. package/dist/commands/tenant/workflow_test/list/index.d.ts +1 -0
  163. package/dist/commands/tenant/workflow_test/run/index.d.ts +1 -0
  164. package/dist/commands/tenant/workflow_test/run_all/index.d.ts +1 -0
  165. package/dist/commands/unit_test/list/index.d.ts +1 -0
  166. package/dist/commands/unit_test/list/index.js +1 -4
  167. package/dist/commands/unit_test/run/index.d.ts +1 -0
  168. package/dist/commands/unit_test/run/index.js +1 -4
  169. package/dist/commands/unit_test/run_all/index.d.ts +1 -0
  170. package/dist/commands/unit_test/run_all/index.js +1 -4
  171. package/dist/commands/update/index.d.ts +1 -0
  172. package/dist/commands/workflow_test/delete/index.d.ts +1 -0
  173. package/dist/commands/workflow_test/delete/index.js +1 -4
  174. package/dist/commands/workflow_test/get/index.d.ts +1 -0
  175. package/dist/commands/workflow_test/get/index.js +1 -4
  176. package/dist/commands/workflow_test/list/index.d.ts +1 -0
  177. package/dist/commands/workflow_test/list/index.js +1 -4
  178. package/dist/commands/workflow_test/run/index.d.ts +1 -0
  179. package/dist/commands/workflow_test/run/index.js +1 -4
  180. package/dist/commands/workflow_test/run_all/index.d.ts +1 -0
  181. package/dist/commands/workflow_test/run_all/index.js +1 -4
  182. package/dist/commands/workspace/create/index.d.ts +1 -0
  183. package/dist/commands/workspace/create/index.js +1 -4
  184. package/dist/commands/workspace/delete/index.d.ts +1 -0
  185. package/dist/commands/workspace/delete/index.js +1 -4
  186. package/dist/commands/workspace/edit/index.d.ts +1 -0
  187. package/dist/commands/workspace/edit/index.js +1 -4
  188. package/dist/commands/workspace/get/index.d.ts +1 -0
  189. package/dist/commands/workspace/get/index.js +1 -4
  190. package/dist/commands/workspace/git/pull/index.d.ts +1 -0
  191. package/dist/commands/workspace/list/index.d.ts +1 -0
  192. package/dist/commands/workspace/list/index.js +1 -4
  193. package/dist/commands/workspace/pull/index.d.ts +1 -0
  194. package/dist/commands/workspace/pull/index.js +1 -3
  195. package/dist/commands/workspace/push/index.d.ts +1 -0
  196. package/dist/commands/workspace/push/index.js +1 -3
  197. package/oclif.manifest.json +2810 -1694
  198. package/package.json +1 -1
@@ -5,6 +5,7 @@ export default class SandboxEnvGet extends BaseCommand {
5
5
  static flags: {
6
6
  name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
9
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
11
  };
@@ -6,6 +6,7 @@ export default class SandboxEnvGetAll extends BaseCommand {
6
6
  file: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  view: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
11
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
@@ -4,6 +4,7 @@ export default class SandboxEnvList extends BaseCommand {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
7
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
9
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
@@ -6,6 +6,7 @@ export default class SandboxEnvSet extends BaseCommand {
6
6
  name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  value: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
11
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
@@ -6,6 +6,7 @@ export default class SandboxEnvSetAll extends BaseCommand {
6
6
  clean: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
7
  file: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
8
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
11
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
@@ -4,6 +4,7 @@ export default class SandboxGet extends BaseCommand {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
7
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
9
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
@@ -6,6 +6,7 @@ export default class SandboxLicenseGet extends BaseCommand {
6
6
  file: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  view: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
11
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
@@ -7,6 +7,7 @@ export default class SandboxLicenseSet extends BaseCommand {
7
7
  file: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
8
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
9
  value: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
11
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
12
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
13
  };
@@ -9,6 +9,7 @@ export default class SandboxPull extends BaseCommand {
9
9
  draft: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
10
  env: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
11
  records: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
13
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
15
  };
@@ -10,6 +10,7 @@ export default class SandboxPush extends BaseCommand {
10
10
  records: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
11
  transaction: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
12
  truncate: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
@@ -4,6 +4,7 @@ export default class SandboxReset extends BaseCommand {
4
4
  static examples: string[];
5
5
  static flags: {
6
6
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
9
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
@@ -5,6 +5,7 @@ export default class SandboxReview extends BaseCommand {
5
5
  static flags: {
6
6
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
7
7
  'url-only': import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
9
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
11
  };
@@ -6,6 +6,7 @@ export default class SandboxUnitTestList extends BaseCommand {
6
6
  branch: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
7
  'obj-type': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
8
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
11
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
@@ -7,6 +7,7 @@ export default class SandboxUnitTestRun extends BaseCommand {
7
7
  static examples: string[];
8
8
  static flags: {
9
9
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
11
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
12
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
13
  };
@@ -6,6 +6,7 @@ export default class SandboxUnitTestRunAll extends BaseCommand {
6
6
  branch: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
7
  'obj-type': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
8
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
11
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
@@ -5,6 +5,7 @@ export default class SandboxWorkflowTestList extends BaseCommand {
5
5
  static flags: {
6
6
  branch: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
9
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
11
  };
@@ -10,6 +10,7 @@ export default class SandboxWorkflowTestRun extends BaseCommand {
10
10
  static examples: string[];
11
11
  static flags: {
12
12
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
@@ -5,6 +5,7 @@ export default class SandboxWorkflowTestRunAll extends BaseCommand {
5
5
  static flags: {
6
6
  branch: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
8
9
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
10
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
11
  };
@@ -11,6 +11,7 @@ export default class StaticHostBuildCreate extends BaseCommand {
11
11
  name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
12
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
13
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
16
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
16
17
  };
@@ -1,7 +1,6 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
4
  import * as path from 'node:path';
6
5
  import BaseCommand from '../../../../base-command.js';
7
6
  export default class StaticHostBuildCreate extends BaseCommand {
@@ -171,8 +170,7 @@ Description: Production build
171
170
  }
172
171
  }
173
172
  loadCredentials() {
174
- const configDir = path.join(os.homedir(), '.xano');
175
- const credentialsPath = path.join(configDir, 'credentials.yaml');
173
+ const credentialsPath = this.getCredentialsPath();
176
174
  // Check if credentials file exists
177
175
  if (!fs.existsSync(credentialsPath)) {
178
176
  this.error(`Credentials file not found at ${credentialsPath}\n` +
@@ -9,6 +9,7 @@ export default class StaticHostBuildGet extends BaseCommand {
9
9
  static flags: {
10
10
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
13
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
15
  };
@@ -1,8 +1,6 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
- import * as path from 'node:path';
6
4
  import BaseCommand from '../../../../base-command.js';
7
5
  export default class StaticHostBuildGet extends BaseCommand {
8
6
  static args = {
@@ -142,8 +140,7 @@ Name: production-build
142
140
  }
143
141
  }
144
142
  loadCredentials() {
145
- const configDir = path.join(os.homedir(), '.xano');
146
- const credentialsPath = path.join(configDir, 'credentials.yaml');
143
+ const credentialsPath = this.getCredentialsPath();
147
144
  // Check if credentials file exists
148
145
  if (!fs.existsSync(credentialsPath)) {
149
146
  this.error(`Credentials file not found at ${credentialsPath}\n` +
@@ -10,6 +10,7 @@ export default class StaticHostBuildList extends BaseCommand {
10
10
  page: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
11
11
  per_page: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
12
12
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
@@ -1,8 +1,6 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
- import * as path from 'node:path';
6
4
  import BaseCommand from '../../../../base-command.js';
7
5
  export default class StaticHostBuildList extends BaseCommand {
8
6
  static args = {
@@ -169,8 +167,7 @@ Available builds:
169
167
  }
170
168
  }
171
169
  loadCredentials() {
172
- const configDir = path.join(os.homedir(), '.xano');
173
- const credentialsPath = path.join(configDir, 'credentials.yaml');
170
+ const credentialsPath = this.getCredentialsPath();
174
171
  // Check if credentials file exists
175
172
  if (!fs.existsSync(credentialsPath)) {
176
173
  this.error(`Credentials file not found at ${credentialsPath}\n` +
@@ -8,6 +8,7 @@ export default class StaticHostList extends BaseCommand {
8
8
  page: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
9
9
  per_page: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
10
10
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
12
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
13
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
14
  };
@@ -1,8 +1,6 @@
1
1
  import { Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
- import * as path from 'node:path';
6
4
  import BaseCommand from '../../../base-command.js';
7
5
  export default class StaticHostList extends BaseCommand {
8
6
  static args = {};
@@ -164,8 +162,7 @@ Available static hosts:
164
162
  }
165
163
  }
166
164
  loadCredentials() {
167
- const configDir = path.join(os.homedir(), '.xano');
168
- const credentialsPath = path.join(configDir, 'credentials.yaml');
165
+ const credentialsPath = this.getCredentialsPath();
169
166
  // Check if credentials file exists
170
167
  if (!fs.existsSync(credentialsPath)) {
171
168
  this.error(`Credentials file not found at ${credentialsPath}\n` +
@@ -9,6 +9,7 @@ export default class TenantBackupCreate extends BaseCommand {
9
9
  description: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
10
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
13
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
15
  };
@@ -1,8 +1,6 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
- import * as path from 'node:path';
6
4
  import BaseCommand from '../../../../base-command.js';
7
5
  export default class TenantBackupCreate extends BaseCommand {
8
6
  static args = {
@@ -92,8 +90,7 @@ Created backup #15 for tenant t1234-abcd-xyz1
92
90
  }
93
91
  }
94
92
  loadCredentials() {
95
- const configDir = path.join(os.homedir(), '.xano');
96
- const credentialsPath = path.join(configDir, 'credentials.yaml');
93
+ const credentialsPath = this.getCredentialsPath();
97
94
  if (!fs.existsSync(credentialsPath)) {
98
95
  this.error(`Credentials file not found at ${credentialsPath}\n` +
99
96
  `Create a profile using 'xano profile create'`);
@@ -10,6 +10,7 @@ export default class TenantBackupDelete extends BaseCommand {
10
10
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
11
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
12
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
@@ -1,7 +1,5 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as fs from 'node:fs';
3
- import * as os from 'node:os';
4
- import * as path from 'node:path';
5
3
  import * as readline from 'node:readline';
6
4
  import * as yaml from 'js-yaml';
7
5
  import BaseCommand from '../../../../base-command.js';
@@ -116,8 +114,7 @@ Deleted backup #10
116
114
  });
117
115
  }
118
116
  loadCredentials() {
119
- const configDir = path.join(os.homedir(), '.xano');
120
- const credentialsPath = path.join(configDir, 'credentials.yaml');
117
+ const credentialsPath = this.getCredentialsPath();
121
118
  if (!fs.existsSync(credentialsPath)) {
122
119
  this.error(`Credentials file not found at ${credentialsPath}\n` + `Create a profile using 'xano profile create'`);
123
120
  }
@@ -10,6 +10,7 @@ export default class TenantBackupExport extends BaseCommand {
10
10
  format: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  output: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
12
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
@@ -1,6 +1,5 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as fs from 'node:fs';
3
- import * as os from 'node:os';
4
3
  import * as path from 'node:path';
5
4
  import * as yaml from 'js-yaml';
6
5
  import BaseCommand, { buildUserAgent } from '../../../../base-command.js';
@@ -128,8 +127,7 @@ Downloaded backup #10 to ./tenant-t1234-abcd-xyz1-backup-10.tar.gz
128
127
  }
129
128
  }
130
129
  loadCredentials() {
131
- const configDir = path.join(os.homedir(), '.xano');
132
- const credentialsPath = path.join(configDir, 'credentials.yaml');
130
+ const credentialsPath = this.getCredentialsPath();
133
131
  if (!fs.existsSync(credentialsPath)) {
134
132
  this.error(`Credentials file not found at ${credentialsPath}\n` + `Create a profile using 'xano profile create'`);
135
133
  }
@@ -10,6 +10,7 @@ export default class TenantBackupImport extends BaseCommand {
10
10
  file: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
12
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
@@ -1,6 +1,5 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as fs from 'node:fs';
3
- import * as os from 'node:os';
4
3
  import * as path from 'node:path';
5
4
  import * as yaml from 'js-yaml';
6
5
  import BaseCommand from '../../../../base-command.js';
@@ -106,8 +105,7 @@ Imported backup as #15 for tenant t1234-abcd-xyz1
106
105
  }
107
106
  }
108
107
  loadCredentials() {
109
- const configDir = path.join(os.homedir(), '.xano');
110
- const credentialsPath = path.join(configDir, 'credentials.yaml');
108
+ const credentialsPath = this.getCredentialsPath();
111
109
  if (!fs.existsSync(credentialsPath)) {
112
110
  this.error(`Credentials file not found at ${credentialsPath}\n` +
113
111
  `Create a profile using 'xano profile create'`);
@@ -9,6 +9,7 @@ export default class TenantBackupList extends BaseCommand {
9
9
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
10
  page: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
11
11
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
13
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
15
  };
@@ -1,8 +1,6 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
- import * as path from 'node:path';
6
4
  import BaseCommand from '../../../../base-command.js';
7
5
  export default class TenantBackupList extends BaseCommand {
8
6
  static args = {
@@ -116,8 +114,7 @@ Backups for tenant t1234-abcd-xyz1:
116
114
  }
117
115
  }
118
116
  loadCredentials() {
119
- const configDir = path.join(os.homedir(), '.xano');
120
- const credentialsPath = path.join(configDir, 'credentials.yaml');
117
+ const credentialsPath = this.getCredentialsPath();
121
118
  if (!fs.existsSync(credentialsPath)) {
122
119
  this.error(`Credentials file not found at ${credentialsPath}\n` +
123
120
  `Create a profile using 'xano profile create'`);
@@ -10,6 +10,7 @@ export default class TenantRestore extends BaseCommand {
10
10
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
11
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
12
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
@@ -1,8 +1,6 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
- import * as path from 'node:path';
6
4
  import BaseCommand from '../../../../base-command.js';
7
5
  export default class TenantRestore extends BaseCommand {
8
6
  static args = {
@@ -120,8 +118,7 @@ Restored tenant t1234-abcd-xyz1 from backup #10
120
118
  });
121
119
  }
122
120
  loadCredentials() {
123
- const configDir = path.join(os.homedir(), '.xano');
124
- const credentialsPath = path.join(configDir, 'credentials.yaml');
121
+ const credentialsPath = this.getCredentialsPath();
125
122
  if (!fs.existsSync(credentialsPath)) {
126
123
  this.error(`Credentials file not found at ${credentialsPath}\n` + `Create a profile using 'xano profile create'`);
127
124
  }
@@ -10,6 +10,7 @@ export default class TenantClusterCreate extends BaseCommand {
10
10
  name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
11
11
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
12
  type: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
@@ -1,7 +1,6 @@
1
1
  import { Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
4
  import * as path from 'node:path';
6
5
  import BaseCommand from '../../../../base-command.js';
7
6
  export default class TenantClusterCreate extends BaseCommand {
@@ -129,8 +128,7 @@ Created tenant cluster: us-east-1 (standard) - ID: 3
129
128
  }
130
129
  }
131
130
  loadCredentials() {
132
- const configDir = path.join(os.homedir(), '.xano');
133
- const credentialsPath = path.join(configDir, 'credentials.yaml');
131
+ const credentialsPath = this.getCredentialsPath();
134
132
  if (!fs.existsSync(credentialsPath)) {
135
133
  this.error(`Credentials file not found at ${credentialsPath}\n` + `Create a profile using 'xano profile create'`);
136
134
  }
@@ -11,6 +11,7 @@ export default class TenantClusterDelete extends BaseCommand {
11
11
  static flags: {
12
12
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
13
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
14
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
16
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
16
17
  };
@@ -1,8 +1,6 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
- import * as path from 'node:path';
6
4
  import BaseCommand from '../../../../base-command.js';
7
5
  export default class TenantClusterDelete extends BaseCommand {
8
6
  static args = {
@@ -104,8 +102,7 @@ Tenant cluster 3 deleted successfully
104
102
  });
105
103
  }
106
104
  loadCredentials() {
107
- const configDir = path.join(os.homedir(), '.xano');
108
- const credentialsPath = path.join(configDir, 'credentials.yaml');
105
+ const credentialsPath = this.getCredentialsPath();
109
106
  if (!fs.existsSync(credentialsPath)) {
110
107
  this.error(`Credentials file not found at ${credentialsPath}\n` +
111
108
  `Create a profile using 'xano profile create'`);
@@ -14,6 +14,7 @@ export default class TenantClusterEdit extends BaseCommand {
14
14
  name: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
15
15
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
16
16
  type: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
17
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
18
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
18
19
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
19
20
  };
@@ -1,8 +1,6 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
- import * as path from 'node:path';
6
4
  import BaseCommand from '../../../../base-command.js';
7
5
  export default class TenantClusterEdit extends BaseCommand {
8
6
  static args = {
@@ -107,8 +105,7 @@ Updated tenant cluster: us-east-1-updated (standard) - ID: 1
107
105
  }
108
106
  }
109
107
  loadCredentials() {
110
- const configDir = path.join(os.homedir(), '.xano');
111
- const credentialsPath = path.join(configDir, 'credentials.yaml');
108
+ const credentialsPath = this.getCredentialsPath();
112
109
  if (!fs.existsSync(credentialsPath)) {
113
110
  this.error(`Credentials file not found at ${credentialsPath}\n` +
114
111
  `Create a profile using 'xano profile create'`);
@@ -10,6 +10,7 @@ export default class TenantClusterGet extends BaseCommand {
10
10
  static examples: string[];
11
11
  static flags: {
12
12
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
14
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
15
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
16
  };
@@ -1,8 +1,6 @@
1
1
  import { Args, Flags } from '@oclif/core';
2
2
  import * as yaml from 'js-yaml';
3
3
  import * as fs from 'node:fs';
4
- import * as os from 'node:os';
5
- import * as path from 'node:path';
6
4
  import BaseCommand from '../../../../base-command.js';
7
5
  export default class TenantClusterGet extends BaseCommand {
8
6
  static args = {
@@ -94,8 +92,7 @@ Cluster: us-east-1
94
92
  }
95
93
  }
96
94
  loadCredentials() {
97
- const configDir = path.join(os.homedir(), '.xano');
98
- const credentialsPath = path.join(configDir, 'credentials.yaml');
95
+ const credentialsPath = this.getCredentialsPath();
99
96
  if (!fs.existsSync(credentialsPath)) {
100
97
  this.error(`Credentials file not found at ${credentialsPath}\n` + `Create a profile using 'xano profile create'`);
101
98
  }
@@ -12,6 +12,7 @@ export default class TenantClusterLicenseGet extends BaseCommand {
12
12
  file: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
13
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
14
14
  view: import("@oclif/core/interfaces").BooleanFlag<boolean>;
15
+ config: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
15
16
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
16
17
  verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
17
18
  };