@xano/cli 0.0.18 → 0.0.20

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 (62) hide show
  1. package/README.md +14 -0
  2. package/dist/base-command.d.ts +2 -0
  3. package/dist/base-command.js +7 -0
  4. package/dist/commands/function/create/index.d.ts +1 -0
  5. package/dist/commands/function/edit/index.d.ts +1 -0
  6. package/dist/commands/function/get/index.d.ts +1 -0
  7. package/dist/commands/function/list/index.d.ts +1 -0
  8. package/dist/commands/profile/edit/index.d.ts +1 -0
  9. package/dist/commands/profile/me/index.d.ts +1 -0
  10. package/dist/commands/run/env/delete/index.d.ts +1 -0
  11. package/dist/commands/run/env/delete/index.js +1 -1
  12. package/dist/commands/run/env/get/index.d.ts +1 -0
  13. package/dist/commands/run/env/get/index.js +1 -1
  14. package/dist/commands/run/env/list/index.d.ts +1 -0
  15. package/dist/commands/run/env/list/index.js +1 -1
  16. package/dist/commands/run/env/set/index.d.ts +1 -0
  17. package/dist/commands/run/env/set/index.js +1 -1
  18. package/dist/commands/run/exec/index.d.ts +1 -0
  19. package/dist/commands/run/exec/index.js +26 -6
  20. package/dist/commands/run/info/index.d.ts +1 -0
  21. package/dist/commands/run/info/index.js +1 -1
  22. package/dist/commands/run/projects/create/index.d.ts +1 -0
  23. package/dist/commands/run/projects/create/index.js +1 -1
  24. package/dist/commands/run/projects/delete/index.d.ts +1 -0
  25. package/dist/commands/run/projects/delete/index.js +1 -1
  26. package/dist/commands/run/projects/list/index.d.ts +1 -0
  27. package/dist/commands/run/projects/list/index.js +1 -1
  28. package/dist/commands/run/projects/update/index.d.ts +1 -0
  29. package/dist/commands/run/projects/update/index.js +1 -1
  30. package/dist/commands/run/secrets/delete/index.d.ts +1 -0
  31. package/dist/commands/run/secrets/delete/index.js +1 -1
  32. package/dist/commands/run/secrets/get/index.d.ts +1 -0
  33. package/dist/commands/run/secrets/get/index.js +1 -1
  34. package/dist/commands/run/secrets/list/index.d.ts +1 -0
  35. package/dist/commands/run/secrets/list/index.js +1 -1
  36. package/dist/commands/run/secrets/set/index.d.ts +1 -0
  37. package/dist/commands/run/secrets/set/index.js +1 -1
  38. package/dist/commands/run/sessions/delete/index.d.ts +1 -0
  39. package/dist/commands/run/sessions/delete/index.js +1 -1
  40. package/dist/commands/run/sessions/get/index.d.ts +1 -0
  41. package/dist/commands/run/sessions/get/index.js +1 -1
  42. package/dist/commands/run/sessions/list/index.d.ts +1 -0
  43. package/dist/commands/run/sessions/list/index.js +1 -1
  44. package/dist/commands/run/sessions/start/index.d.ts +1 -0
  45. package/dist/commands/run/sessions/start/index.js +1 -1
  46. package/dist/commands/run/sessions/stop/index.d.ts +1 -0
  47. package/dist/commands/run/sessions/stop/index.js +1 -1
  48. package/dist/commands/run/sink/get/index.d.ts +1 -0
  49. package/dist/commands/run/sink/get/index.js +1 -1
  50. package/dist/commands/static_host/build/create/index.d.ts +1 -0
  51. package/dist/commands/static_host/build/get/index.d.ts +1 -0
  52. package/dist/commands/static_host/build/list/index.d.ts +1 -0
  53. package/dist/commands/static_host/list/index.d.ts +1 -0
  54. package/dist/commands/workspace/list/index.d.ts +1 -0
  55. package/dist/commands/workspace/pull/index.d.ts +1 -0
  56. package/dist/commands/workspace/push/index.d.ts +1 -0
  57. package/dist/lib/base-run-command.d.ts +2 -2
  58. package/dist/lib/base-run-command.js +5 -3
  59. package/dist/lib/run-http-client.d.ts +6 -0
  60. package/dist/lib/run-http-client.js +36 -1
  61. package/oclif.manifest.json +591 -297
  62. package/package.json +1 -1
package/README.md CHANGED
@@ -213,6 +213,20 @@ All commands support these options:
213
213
  | `-p, --profile` | Profile to use (or set `XANO_PROFILE` env var) |
214
214
  | `-w, --workspace` | Workspace ID (overrides profile default) |
215
215
  | `-o, --output` | Output format: `summary` (default) or `json` |
216
+ | `-v, --verbose` | Show detailed request/response information (or set `XANO_VERBOSE` env var) |
217
+
218
+ ### Verbose Mode
219
+
220
+ Use `-v` or `--verbose` to see detailed HTTP request and response information, useful for debugging:
221
+
222
+ ```bash
223
+ xano run exec script.xs -v
224
+ ```
225
+
226
+ This will show:
227
+ - Request method, URL, and content type
228
+ - Request body (truncated if large)
229
+ - Response status, timing, and body
216
230
 
217
231
  ## Configuration
218
232
 
@@ -2,9 +2,11 @@ import { Command } from '@oclif/core';
2
2
  export default abstract class BaseCommand extends Command {
3
3
  static baseFlags: {
4
4
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
5
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
5
6
  };
6
7
  static flags: {
7
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
10
  };
9
11
  protected getProfile(): string | undefined;
10
12
  protected getDefaultProfile(): string;
@@ -11,6 +11,13 @@ export default class BaseCommand extends Command {
11
11
  env: 'XANO_PROFILE',
12
12
  required: false,
13
13
  }),
14
+ verbose: Flags.boolean({
15
+ char: 'v',
16
+ description: 'Show detailed request/response information',
17
+ env: 'XANO_VERBOSE',
18
+ required: false,
19
+ default: false,
20
+ }),
14
21
  };
15
22
  // Override the flags property to include baseFlags
16
23
  static flags = BaseCommand.baseFlags;
@@ -8,6 +8,7 @@ export default class FunctionCreate extends BaseCommand {
8
8
  edit: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
9
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
12
13
  static description: string;
13
14
  static examples: string[];
@@ -11,6 +11,7 @@ export default class FunctionEdit extends BaseCommand {
11
11
  publish: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
12
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
13
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
15
  };
15
16
  static description: string;
16
17
  static examples: string[];
@@ -9,6 +9,7 @@ export default class FunctionGet extends BaseCommand {
9
9
  include_draft: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
10
  include_xanoscript: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
11
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
13
  };
13
14
  static description: string;
14
15
  static examples: string[];
@@ -11,6 +11,7 @@ export default class FunctionList extends BaseCommand {
11
11
  sort: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
12
  order: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
13
13
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
15
  };
15
16
  static description: string;
16
17
  static examples: string[];
@@ -16,6 +16,7 @@ export default class ProfileEdit extends BaseCommand {
16
16
  run_base_url: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
17
17
  'remove-run-base-url': import("@oclif/core/interfaces").BooleanFlag<boolean>;
18
18
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
19
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
19
20
  };
20
21
  static description: string;
21
22
  static examples: string[];
@@ -3,6 +3,7 @@ export default class ProfileMe extends BaseCommand {
3
3
  static flags: {
4
4
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
5
5
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
6
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
6
7
  };
7
8
  static description: string;
8
9
  static examples: string[];
@@ -6,6 +6,7 @@ export default class RunEnvDelete extends BaseRunCommand {
6
6
  static flags: {
7
7
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -29,7 +29,7 @@ Environment variable 'API_KEY' deleted successfully!
29
29
  async run() {
30
30
  const { args, flags } = await this.parse(RunEnvDelete);
31
31
  // Initialize with project required
32
- await this.initRunCommandWithProject(flags.profile);
32
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
33
33
  // Confirm deletion unless --force is used
34
34
  if (!flags.force) {
35
35
  const readline = await import('node:readline');
@@ -6,6 +6,7 @@ export default class RunEnvGet extends BaseRunCommand {
6
6
  static flags: {
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -29,7 +29,7 @@ my-secret-api-key
29
29
  async run() {
30
30
  const { args, flags } = await this.parse(RunEnvGet);
31
31
  // Initialize with project required
32
- await this.initRunCommandWithProject(flags.profile);
32
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
33
33
  try {
34
34
  const url = this.httpClient.buildProjectUrl('/env', { name: args.name });
35
35
  const result = await this.httpClient.get(url);
@@ -4,6 +4,7 @@ export default class RunEnvList extends BaseRunCommand {
4
4
  static flags: {
5
5
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
6
6
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  };
8
9
  static description: string;
9
10
  static examples: string[];
@@ -27,7 +27,7 @@ Environment variables:
27
27
  async run() {
28
28
  const { flags } = await this.parse(RunEnvList);
29
29
  // Initialize with project required
30
- await this.initRunCommandWithProject(flags.profile);
30
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
31
31
  try {
32
32
  const url = this.httpClient.buildProjectUrl('/env/key');
33
33
  const result = await this.httpClient.get(url);
@@ -6,6 +6,7 @@ export default class RunEnvSet extends BaseRunCommand {
6
6
  };
7
7
  static flags: {
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -26,7 +26,7 @@ Environment variable 'DATABASE_URL' set successfully!
26
26
  async run() {
27
27
  const { args, flags } = await this.parse(RunEnvSet);
28
28
  // Initialize with project required
29
- await this.initRunCommandWithProject(flags.profile);
29
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
30
30
  const input = {
31
31
  name: args.name,
32
32
  env: {
@@ -11,6 +11,7 @@ export default class RunExec extends BaseRunCommand {
11
11
  args: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
12
  env: import("@oclif/core/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
13
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
14
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
14
15
  };
15
16
  static description: string;
16
17
  static examples: string[];
@@ -28,10 +28,9 @@ export default class RunExec extends BaseRunCommand {
28
28
  }),
29
29
  edit: Flags.boolean({
30
30
  char: 'e',
31
- description: 'Open file in editor before running (requires --file)',
31
+ description: 'Open file in editor before running (requires path argument or --file)',
32
32
  required: false,
33
33
  default: false,
34
- dependsOn: ['file'],
35
34
  }),
36
35
  output: Flags.string({
37
36
  char: 'o',
@@ -90,11 +89,23 @@ Executed successfully!
90
89
  async run() {
91
90
  const { args, flags } = await this.parse(RunExec);
92
91
  // Initialize with project required
93
- await this.initRunCommandWithProject(flags.profile);
94
- // Read XanoScript content
95
- let xanoscript;
92
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
96
93
  // Determine input source: path argument, --file flag, or --stdin
97
94
  const inputPath = args.path || flags.file;
95
+ // Validate --edit flag requirements
96
+ if (flags.edit) {
97
+ if (!inputPath) {
98
+ this.error('--edit requires a file path (either path argument or --file flag)');
99
+ }
100
+ if (this.isUrl(inputPath)) {
101
+ this.error('--edit cannot be used with URLs');
102
+ }
103
+ if (fs.existsSync(inputPath) && fs.statSync(inputPath).isDirectory()) {
104
+ this.error('--edit cannot be used with directories');
105
+ }
106
+ }
107
+ // Read XanoScript content
108
+ let xanoscript;
98
109
  if (inputPath) {
99
110
  if (this.isUrl(inputPath)) {
100
111
  // Fetch URL content
@@ -211,7 +222,16 @@ Executed successfully!
211
222
  }
212
223
  catch (error) {
213
224
  if (error instanceof Error) {
214
- this.error(`Failed to execute: ${error.message}`);
225
+ const xanoError = error;
226
+ if (xanoError.response) {
227
+ const responseStr = typeof xanoError.response === 'string'
228
+ ? xanoError.response
229
+ : JSON.stringify(xanoError.response, null, 2);
230
+ this.error(`Failed to execute: ${error.message}\n\n${responseStr}`);
231
+ }
232
+ else {
233
+ this.error(`Failed to execute: ${error.message}`);
234
+ }
215
235
  }
216
236
  else {
217
237
  this.error(`Failed to execute: ${String(error)}`);
@@ -6,6 +6,7 @@ export default class RunInfo extends BaseRunCommand {
6
6
  stdin: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -51,7 +51,7 @@ Document Info:
51
51
  async run() {
52
52
  const { flags } = await this.parse(RunInfo);
53
53
  // Initialize with project required
54
- await this.initRunCommandWithProject(flags.profile);
54
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
55
55
  // Read XanoScript content
56
56
  let xanoscript;
57
57
  if (flags.file) {
@@ -6,6 +6,7 @@ export default class RunProjectsCreate extends BaseRunCommand {
6
6
  description: 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
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -42,7 +42,7 @@ Project created successfully!
42
42
  async run() {
43
43
  const { flags } = await this.parse(RunProjectsCreate);
44
44
  // Initialize (no project required for creating projects)
45
- await this.initRunCommand(flags.profile);
45
+ await this.initRunCommand(flags.profile, flags.verbose);
46
46
  const input = {
47
47
  name: flags.name,
48
48
  description: flags.description || '',
@@ -6,6 +6,7 @@ export default class RunProjectsDelete extends BaseRunCommand {
6
6
  static flags: {
7
7
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -29,7 +29,7 @@ Project deleted successfully!
29
29
  async run() {
30
30
  const { args, flags } = await this.parse(RunProjectsDelete);
31
31
  // Initialize (no project required)
32
- await this.initRunCommand(flags.profile);
32
+ await this.initRunCommand(flags.profile, flags.verbose);
33
33
  // Confirm deletion unless --force is used
34
34
  if (!flags.force) {
35
35
  const readline = await import('node:readline');
@@ -4,6 +4,7 @@ export default class RunProjectsList extends BaseRunCommand {
4
4
  static flags: {
5
5
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
6
6
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  };
8
9
  static description: string;
9
10
  static examples: string[];
@@ -28,7 +28,7 @@ xyz789-uvw456-rst123 Test Project public
28
28
  async run() {
29
29
  const { flags } = await this.parse(RunProjectsList);
30
30
  // Initialize (no project required for listing projects)
31
- await this.initRunCommand(flags.profile);
31
+ await this.initRunCommand(flags.profile, flags.verbose);
32
32
  try {
33
33
  const url = this.httpClient.buildUrl('/project');
34
34
  const projects = await this.httpClient.get(url);
@@ -8,6 +8,7 @@ export default class RunProjectsUpdate extends BaseRunCommand {
8
8
  description: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
9
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
12
13
  static description: string;
13
14
  static examples: string[];
@@ -46,7 +46,7 @@ Project updated successfully!
46
46
  async run() {
47
47
  const { args, flags } = await this.parse(RunProjectsUpdate);
48
48
  // Initialize (no project required)
49
- await this.initRunCommand(flags.profile);
49
+ await this.initRunCommand(flags.profile, flags.verbose);
50
50
  // Check if any update flags were provided
51
51
  if (!flags.name && flags.description === undefined) {
52
52
  this.error('At least one of --name or --description must be provided');
@@ -6,6 +6,7 @@ export default class RunSecretsDelete extends BaseRunCommand {
6
6
  static flags: {
7
7
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -29,7 +29,7 @@ Secret 'docker-registry' deleted successfully!
29
29
  async run() {
30
30
  const { args, flags } = await this.parse(RunSecretsDelete);
31
31
  // Initialize with project required
32
- await this.initRunCommandWithProject(flags.profile);
32
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
33
33
  // Confirm deletion unless --force is used
34
34
  if (!flags.force) {
35
35
  const readline = await import('node:readline');
@@ -6,6 +6,7 @@ export default class RunSecretsGet extends BaseRunCommand {
6
6
  static flags: {
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -29,7 +29,7 @@ export default class RunSecretsGet extends BaseRunCommand {
29
29
  async run() {
30
30
  const { args, flags } = await this.parse(RunSecretsGet);
31
31
  // Initialize with project required
32
- await this.initRunCommandWithProject(flags.profile);
32
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
33
33
  try {
34
34
  const url = this.httpClient.buildProjectUrl('/secret', { name: args.name });
35
35
  const result = await this.httpClient.get(url);
@@ -4,6 +4,7 @@ export default class RunSecretsList extends BaseRunCommand {
4
4
  static flags: {
5
5
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
6
6
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  };
8
9
  static description: string;
9
10
  static examples: string[];
@@ -26,7 +26,7 @@ service-account kubernetes.io/service-account-token -
26
26
  async run() {
27
27
  const { flags } = await this.parse(RunSecretsList);
28
28
  // Initialize with project required
29
- await this.initRunCommandWithProject(flags.profile);
29
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
30
30
  try {
31
31
  const url = this.httpClient.buildProjectUrl('/secret/key');
32
32
  const result = await this.httpClient.get(url);
@@ -8,6 +8,7 @@ export default class RunSecretsSet extends BaseRunCommand {
8
8
  value: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
9
9
  repo: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
12
13
  static description: string;
13
14
  static examples: string[];
@@ -38,7 +38,7 @@ Secret 'service-key' set successfully!
38
38
  async run() {
39
39
  const { args, flags } = await this.parse(RunSecretsSet);
40
40
  // Initialize with project required
41
- await this.initRunCommandWithProject(flags.profile);
41
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
42
42
  // Map short type to full type
43
43
  const typeMap = {
44
44
  'dockerconfigjson': 'kubernetes.io/dockerconfigjson',
@@ -6,6 +6,7 @@ export default class RunSessionsDelete extends BaseRunCommand {
6
6
  static flags: {
7
7
  force: import("@oclif/core/interfaces").BooleanFlag<boolean>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -29,7 +29,7 @@ Session deleted successfully!
29
29
  async run() {
30
30
  const { args, flags } = await this.parse(RunSessionsDelete);
31
31
  // Initialize with project required
32
- await this.initRunCommandWithProject(flags.profile);
32
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
33
33
  // Confirm deletion unless --force is used
34
34
  if (!flags.force) {
35
35
  const readline = await import('node:readline');
@@ -6,6 +6,7 @@ export default class RunSessionsGet extends BaseRunCommand {
6
6
  static flags: {
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -35,7 +35,7 @@ Session Details:
35
35
  async run() {
36
36
  const { args, flags } = await this.parse(RunSessionsGet);
37
37
  // Initialize (no project required for session details)
38
- await this.initRunCommand(flags.profile);
38
+ await this.initRunCommand(flags.profile, flags.verbose);
39
39
  try {
40
40
  const url = this.httpClient.buildSessionUrl(args.sessionId);
41
41
  const session = await this.httpClient.get(url);
@@ -4,6 +4,7 @@ export default class RunSessionsList extends BaseRunCommand {
4
4
  static flags: {
5
5
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
6
6
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
7
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
7
8
  };
8
9
  static description: string;
9
10
  static examples: string[];
@@ -26,7 +26,7 @@ xyz789-uvw456-rst123 stopped 2024-01-14T09:00:00Z
26
26
  async run() {
27
27
  const { flags } = await this.parse(RunSessionsList);
28
28
  // Initialize with project required
29
- await this.initRunCommandWithProject(flags.profile);
29
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
30
30
  try {
31
31
  const url = this.httpClient.buildProjectUrl('/run/session');
32
32
  const result = await this.httpClient.get(url);
@@ -6,6 +6,7 @@ export default class RunSessionsStart extends BaseRunCommand {
6
6
  static flags: {
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -31,7 +31,7 @@ Session started successfully!
31
31
  async run() {
32
32
  const { args, flags } = await this.parse(RunSessionsStart);
33
33
  // Initialize with project required
34
- await this.initRunCommandWithProject(flags.profile);
34
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
35
35
  try {
36
36
  const url = this.httpClient.buildProjectUrl(`/run/session/${args.sessionId}/start`);
37
37
  const session = await this.httpClient.post(url, {});
@@ -6,6 +6,7 @@ export default class RunSessionsStop extends BaseRunCommand {
6
6
  static flags: {
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -31,7 +31,7 @@ Session stopped successfully!
31
31
  async run() {
32
32
  const { args, flags } = await this.parse(RunSessionsStop);
33
33
  // Initialize with project required
34
- await this.initRunCommandWithProject(flags.profile);
34
+ await this.initRunCommandWithProject(flags.profile, flags.verbose);
35
35
  try {
36
36
  const url = this.httpClient.buildProjectUrl(`/run/session/${args.sessionId}/stop`);
37
37
  const session = await this.httpClient.post(url, {});
@@ -6,6 +6,7 @@ export default class RunSinkGet extends BaseRunCommand {
6
6
  static flags: {
7
7
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
8
8
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
10
  };
10
11
  static description: string;
11
12
  static examples: string[];
@@ -34,7 +34,7 @@ Sink Data:
34
34
  async run() {
35
35
  const { args, flags } = await this.parse(RunSinkGet);
36
36
  // Initialize (no project required for sink data)
37
- await this.initRunCommand(flags.profile);
37
+ await this.initRunCommand(flags.profile, flags.verbose);
38
38
  try {
39
39
  const url = this.httpClient.buildSessionUrl(args.sessionId, '/sink');
40
40
  const sinkData = await this.httpClient.get(url);
@@ -10,6 +10,7 @@ export default class StaticHostBuildCreate extends BaseCommand {
10
10
  description: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
11
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
12
12
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
13
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
13
14
  };
14
15
  static description: string;
15
16
  static examples: string[];
@@ -8,6 +8,7 @@ export default class StaticHostBuildGet extends BaseCommand {
8
8
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
9
9
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
10
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
12
13
  static description: string;
13
14
  static examples: string[];
@@ -9,6 +9,7 @@ export default class StaticHostBuildList extends BaseCommand {
9
9
  page: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
10
10
  per_page: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
11
11
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
12
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
12
13
  };
13
14
  static description: string;
14
15
  static examples: string[];
@@ -7,6 +7,7 @@ export default class StaticHostList extends BaseCommand {
7
7
  page: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
8
8
  per_page: import("@oclif/core/interfaces").OptionFlag<number, import("@oclif/core/interfaces").CustomOptions>;
9
9
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
11
  };
11
12
  static description: string;
12
13
  static examples: string[];
@@ -3,6 +3,7 @@ export default class WorkspaceList extends BaseCommand {
3
3
  static flags: {
4
4
  output: import("@oclif/core/interfaces").OptionFlag<string, import("@oclif/core/interfaces").CustomOptions>;
5
5
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
6
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
6
7
  };
7
8
  static description: string;
8
9
  static examples: string[];
@@ -8,6 +8,7 @@ export default class Pull extends BaseCommand {
8
8
  env: import("@oclif/core/interfaces").BooleanFlag<boolean>;
9
9
  records: import("@oclif/core/interfaces").BooleanFlag<boolean>;
10
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
12
13
  static description: string;
13
14
  static examples: string[];
@@ -8,6 +8,7 @@ export default class Push extends BaseCommand {
8
8
  static flags: {
9
9
  workspace: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
10
10
  profile: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
11
+ verbose: import("@oclif/core/interfaces").BooleanFlag<boolean>;
11
12
  };
12
13
  run(): Promise<void>;
13
14
  /**