@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.
- package/CHANGELOG.md +44 -1
- package/README.md +75 -5
- package/dist/account-NZBO6Y5I.js +1401 -0
- package/dist/{chunk-TDYIQHQX.js → chunk-4JHGVY7R.js} +3 -1
- package/dist/{exit-codes-NFIR57ZA.js → chunk-HMAGEMF7.js} +5 -1
- package/dist/{chunk-47SYFQRF.js → chunk-JXF47TRY.js} +1 -1
- package/dist/chunk-MKXA2LAR.js +51 -0
- package/dist/{chunk-CHFKVAEI.js → chunk-U7Y4EXHT.js} +1 -0
- package/dist/cli.js +18 -17
- package/dist/company-RU2CA5DY.js +337 -0
- package/dist/{config-2GBLD4GN.js → config-Q2AEWSEC.js} +1 -1
- package/dist/{connect-2OAOLYQO.js → connect-QT6ZOS75.js} +10 -10
- package/dist/exit-codes-ZTY2NY3X.js +11 -0
- package/dist/{inbox-AFVIF6ZU.js → inbox-DN7X7CM2.js} +3 -3
- package/dist/{job-QCKWY257.js → job-FGGQEXSU.js} +3 -3
- package/dist/{login-POKHNDYX.js → login-BBVQLXM7.js} +4 -49
- package/dist/{message-MP4TJJXS.js → message-6K5E3CUF.js} +4 -4
- package/dist/{post-Q3KR3TN3.js → post-2JQZ3OSF.js} +7 -7
- package/dist/{profile-2YE3IC3O.js → profile-DD5GMGNL.js} +10 -10
- package/dist/{recruiter-2CETQNCU.js → recruiter-XHVMQWK6.js} +6 -6
- package/dist/{sales-nav-SG6IXCTR.js → sales-nav-QTSTJMKA.js} +292 -14
- package/dist/{search-5BBFRE6T.js → search-ZGTS45BT.js} +7 -7
- package/dist/{webhook-7BJUYU4H.js → webhook-XPWBI675.js} +6 -6
- package/package.json +4 -3
- package/dist/account-XV3MU5S5.js +0 -649
- package/dist/company-QB7VCLXJ.js +0 -92
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
renderSuccess,
|
|
25
25
|
renderUnexpectedError,
|
|
26
26
|
resolveEffectiveConfig
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-JXF47TRY.js";
|
|
28
28
|
import {
|
|
29
29
|
GLOBAL_FLAGS
|
|
30
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
14
|
+
} from "./chunk-JXF47TRY.js";
|
|
15
15
|
import {
|
|
16
16
|
GLOBAL_FLAGS
|
|
17
|
-
} from "./chunk-
|
|
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-
|
|
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.
|
|
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.
|
|
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",
|