@curviate/cli 0.10.0 → 0.12.0

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.
@@ -24,10 +24,10 @@ import {
24
24
  renderSuccess,
25
25
  renderUnexpectedError,
26
26
  resolveEffectiveConfig
27
- } from "./chunk-47SYFQRF.js";
27
+ } from "./chunk-JXF47TRY.js";
28
28
  import {
29
29
  GLOBAL_FLAGS
30
- } from "./chunk-TDYIQHQX.js";
30
+ } from "./chunk-4JHGVY7R.js";
31
31
 
32
32
  // src/commands/search.ts
33
33
  import { defineCommand } from "citty";
@@ -222,7 +222,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
222
222
  } catch (err) {
223
223
  const { CurviateError } = await import("@curviate/sdk");
224
224
  if (err instanceof CurviateError) {
225
- const { getExitCode } = await import("./exit-codes-NFIR57ZA.js");
225
+ const { getExitCode } = await import("./exit-codes-ZTY2NY3X.js");
226
226
  renderError(err, outOpts, out);
227
227
  process.exit(getExitCode(err.code));
228
228
  }
@@ -264,7 +264,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
264
264
  } catch (err) {
265
265
  const { CurviateError } = await import("@curviate/sdk");
266
266
  if (err instanceof CurviateError) {
267
- const { getExitCode } = await import("./exit-codes-NFIR57ZA.js");
267
+ const { getExitCode } = await import("./exit-codes-ZTY2NY3X.js");
268
268
  renderError(err, outOpts, out);
269
269
  process.exit(getExitCode(err.code));
270
270
  }
@@ -306,7 +306,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
306
306
  } catch (err) {
307
307
  const { CurviateError } = await import("@curviate/sdk");
308
308
  if (err instanceof CurviateError) {
309
- const { getExitCode } = await import("./exit-codes-NFIR57ZA.js");
309
+ const { getExitCode } = await import("./exit-codes-ZTY2NY3X.js");
310
310
  renderError(err, outOpts, out);
311
311
  process.exit(getExitCode(err.code));
312
312
  }
@@ -348,7 +348,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
348
348
  } catch (err) {
349
349
  const { CurviateError } = await import("@curviate/sdk");
350
350
  if (err instanceof CurviateError) {
351
- const { getExitCode } = await import("./exit-codes-NFIR57ZA.js");
351
+ const { getExitCode } = await import("./exit-codes-ZTY2NY3X.js");
352
352
  renderError(err, outOpts, out);
353
353
  process.exit(getExitCode(err.code));
354
354
  }
@@ -372,7 +372,7 @@ async function runSearchParameters(client, flags, out) {
372
372
  } catch (err) {
373
373
  const { CurviateError } = await import("@curviate/sdk");
374
374
  if (err instanceof CurviateError) {
375
- const { getExitCode } = await import("./exit-codes-NFIR57ZA.js");
375
+ const { getExitCode } = await import("./exit-codes-ZTY2NY3X.js");
376
376
  renderError(err, outOpts, out);
377
377
  process.exit(getExitCode(err.code));
378
378
  }
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
- import {
3
- streamAll
4
- } from "./chunk-GXTZION6.js";
5
2
  import {
6
3
  buildPreviewOutput
7
4
  } from "./chunk-R3VLWLVV.js";
5
+ import {
6
+ streamAll
7
+ } from "./chunk-GXTZION6.js";
8
8
  import {
9
9
  createClient,
10
10
  renderError,
11
11
  renderSuccess,
12
12
  renderUnexpectedError,
13
13
  resolveEffectiveConfig
14
- } from "./chunk-47SYFQRF.js";
14
+ } from "./chunk-JXF47TRY.js";
15
15
  import {
16
16
  GLOBAL_FLAGS
17
- } from "./chunk-TDYIQHQX.js";
17
+ } from "./chunk-4JHGVY7R.js";
18
18
 
19
19
  // src/commands/webhook.ts
20
20
  import { defineCommand } from "citty";
@@ -47,7 +47,7 @@ function resolveOutputOpts(flags) {
47
47
  async function handleError(err, outOpts, out) {
48
48
  const { CurviateError } = await import("@curviate/sdk");
49
49
  if (err instanceof CurviateError) {
50
- const { getExitCode } = await import("./exit-codes-NFIR57ZA.js");
50
+ const { getExitCode } = await import("./exit-codes-ZTY2NY3X.js");
51
51
  renderError(err, outOpts, out);
52
52
  process.exit(getExitCode(err.code));
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curviate/cli",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "private": false,
5
5
  "description": "Official command-line interface for the Curviate API.",
6
6
  "license": "MIT",
@@ -40,8 +40,9 @@
40
40
  "clean": "rm -rf dist *.tsbuildinfo"
41
41
  },
42
42
  "dependencies": {
43
- "@curviate/sdk": "^0.10.0",
44
- "citty": "^0.1.6"
43
+ "@curviate/sdk": "^0.12.0",
44
+ "citty": "^0.1.6",
45
+ "open": "^10.1.0"
45
46
  },
46
47
  "devDependencies": {
47
48
  "@types/node": "^22.15.21",