@curviate/cli 0.30.0 → 0.31.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 +131 -0
- package/README.md +65 -12
- package/dist/{account-5KGM6EPR.js → account-DZRX4YOK.js} +28 -12
- package/dist/{chunk-GHT2DLZR.js → chunk-A73TUZBK.js} +4 -4
- package/dist/{chunk-LCIUD7S2.js → chunk-JRKM4OV2.js} +1 -1
- package/dist/{chunk-5KANHEBN.js → chunk-KQXYEQAD.js} +0 -56
- package/dist/{chunk-63X3VI3T.js → chunk-LKF5MZIP.js} +1 -1
- package/dist/chunk-PKSKQ3LN.js +68 -0
- package/dist/{chunk-AHYUM2XQ.js → chunk-SKJNLN37.js} +12 -2
- package/dist/chunk-TD2ZIXFR.js +67 -0
- package/dist/{chunk-KTY7R27U.js → chunk-TQJ77SL4.js} +3 -1
- package/dist/chunk-X3YWBMBC.js +151 -0
- package/dist/{chunk-TAOXJNQN.js → chunk-Y3H55OSY.js} +14 -12
- package/dist/cli.js +36 -22
- package/dist/{comment-BLG4WHST.js → comment-6JI4Q6QY.js} +17 -14
- package/dist/{company-ZT65QZ6F.js → company-RLU5SHUO.js} +25 -22
- package/dist/{config-5HB2J3RY.js → config-FUHT23SX.js} +2 -2
- package/dist/{connect-57AUN33D.js → connect-63NUITEZ.js} +22 -19
- package/dist/doctor-7TEE36NY.js +192 -0
- package/dist/{exit-codes-U5CHA6FT.js → exit-codes-RUKZC4WV.js} +1 -1
- package/dist/{feed-3AWI2URQ.js → feed-PAWXR56T.js} +12 -9
- package/dist/{group-DYC2NX5M.js → group-ZIIWI7JV.js} +12 -9
- package/dist/{inbox-ZRFIFOEP.js → inbox-GIPLWRHQ.js} +14 -11
- package/dist/{inboxes-XQ2B6X3Q.js → inboxes-ECGEMDH7.js} +12 -9
- package/dist/{job-NUT4QMH2.js → job-WPWIAVQY.js} +14 -11
- package/dist/{login-KNNEN4HP.js → login-3OAUY7TG.js} +3 -3
- package/dist/{message-KMNRUD4H.js → message-JQL2XABC.js} +9 -7
- package/dist/{notification-LEM57IBY.js → notification-URSGC7OR.js} +14 -11
- package/dist/{post-FXAANNUB.js → post-2HI6KL73.js} +17 -14
- package/dist/{profile-72V55PZM.js → profile-4BXLUYMH.js} +25 -22
- package/dist/{recruiter-JUNB5AUR.js → recruiter-OUXQ5XYU.js} +24 -18
- package/dist/{sales-nav-BALVVD35.js → sales-nav-MJAMCSBO.js} +22 -16
- package/dist/{search-QCXTK33P.js → search-M3R35BIB.js} +21 -18
- package/dist/setup-YV5PVIU5.js +419 -0
- package/dist/{webhook-D4QRWF7W.js → webhook-3TEYA3B2.js} +10 -7
- package/package.json +2 -2
- package/dist/chunk-2OG6M6ME.js +0 -89
- package/dist/{chunk-H4KV7MIN.js → chunk-YLSJ4HKU.js} +1 -1
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
slimProfile,
|
|
4
|
+
slimProfileMe
|
|
5
|
+
} from "./chunk-LJR4LJG6.js";
|
|
2
6
|
import {
|
|
3
7
|
RETRIEVAL_FLAGS,
|
|
4
8
|
hasRetrievalFlags,
|
|
@@ -8,42 +12,41 @@ import {
|
|
|
8
12
|
resolveMemberOrMeProviderId,
|
|
9
13
|
resolveMemberProviderId
|
|
10
14
|
} from "./chunk-6P52Q2GK.js";
|
|
15
|
+
import {
|
|
16
|
+
pageDelayFromFlags,
|
|
17
|
+
streamAll
|
|
18
|
+
} from "./chunk-LKF5MZIP.js";
|
|
11
19
|
import {
|
|
12
20
|
AttachError,
|
|
13
21
|
readAttachment,
|
|
14
22
|
toAttachmentPayload
|
|
15
23
|
} from "./chunk-BGZW6B7G.js";
|
|
16
|
-
import {
|
|
17
|
-
slimProfile,
|
|
18
|
-
slimProfileMe
|
|
19
|
-
} from "./chunk-LJR4LJG6.js";
|
|
20
|
-
import {
|
|
21
|
-
pageDelayFromFlags,
|
|
22
|
-
streamAll
|
|
23
|
-
} from "./chunk-63X3VI3T.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveIdentifier
|
|
26
26
|
} from "./chunk-UEAX6KUB.js";
|
|
27
|
-
import {
|
|
28
|
-
requireAccount
|
|
29
|
-
} from "./chunk-GHT2DLZR.js";
|
|
30
27
|
import {
|
|
31
28
|
buildPreviewOutput
|
|
32
29
|
} from "./chunk-R3VLWLVV.js";
|
|
33
30
|
import {
|
|
34
|
-
|
|
31
|
+
requireAccount
|
|
32
|
+
} from "./chunk-A73TUZBK.js";
|
|
33
|
+
import {
|
|
35
34
|
renderError,
|
|
36
35
|
renderSuccess,
|
|
37
|
-
renderUnexpectedError
|
|
36
|
+
renderUnexpectedError
|
|
37
|
+
} from "./chunk-KQXYEQAD.js";
|
|
38
|
+
import {
|
|
39
|
+
createClient,
|
|
38
40
|
resolveEffectiveConfig
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-TD2ZIXFR.js";
|
|
42
|
+
import "./chunk-PKSKQ3LN.js";
|
|
43
|
+
import "./chunk-X3YWBMBC.js";
|
|
44
|
+
import "./chunk-TQJ77SL4.js";
|
|
41
45
|
import {
|
|
42
46
|
GLOBAL_FLAGS,
|
|
43
47
|
READ_SINGLE_FLAGS,
|
|
44
48
|
WRITE_SINGLE_FLAGS
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-2OG6M6ME.js";
|
|
49
|
+
} from "./chunk-SKJNLN37.js";
|
|
47
50
|
|
|
48
51
|
// src/commands/profile.ts
|
|
49
52
|
import { defineCommand } from "citty";
|
|
@@ -211,7 +214,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
211
214
|
} catch (err) {
|
|
212
215
|
const { CurviateError } = await import("@curviate/sdk");
|
|
213
216
|
if (err instanceof CurviateError) {
|
|
214
|
-
const { getExitCode } = await import("./exit-codes-
|
|
217
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
215
218
|
renderError(err, outOpts, out);
|
|
216
219
|
process.exit(getExitCode(err.code));
|
|
217
220
|
}
|
|
@@ -237,7 +240,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
237
240
|
} catch (err) {
|
|
238
241
|
const { CurviateError } = await import("@curviate/sdk");
|
|
239
242
|
if (err instanceof CurviateError) {
|
|
240
|
-
const { getExitCode } = await import("./exit-codes-
|
|
243
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
241
244
|
renderError(err, outOpts, out);
|
|
242
245
|
process.exit(getExitCode(err.code));
|
|
243
246
|
}
|
|
@@ -365,7 +368,7 @@ async function runProfileGet(client, flags, out) {
|
|
|
365
368
|
} catch (err) {
|
|
366
369
|
const { CurviateError } = await import("@curviate/sdk");
|
|
367
370
|
if (err instanceof CurviateError) {
|
|
368
|
-
const { getExitCode } = await import("./exit-codes-
|
|
371
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
369
372
|
renderError(err, outOpts, out);
|
|
370
373
|
process.exit(getExitCode(err.code));
|
|
371
374
|
}
|
|
@@ -402,7 +405,7 @@ async function runProfileRelations(client, flags, out) {
|
|
|
402
405
|
} catch (err) {
|
|
403
406
|
const { CurviateError } = await import("@curviate/sdk");
|
|
404
407
|
if (err instanceof CurviateError) {
|
|
405
|
-
const { getExitCode } = await import("./exit-codes-
|
|
408
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
406
409
|
renderError(err, outOpts, out);
|
|
407
410
|
process.exit(getExitCode(err.code));
|
|
408
411
|
}
|
|
@@ -442,7 +445,7 @@ async function runProfileEndorse(client, flags, out) {
|
|
|
442
445
|
async function handleSdkError(err, outOpts, out) {
|
|
443
446
|
const { CurviateError } = await import("@curviate/sdk");
|
|
444
447
|
if (err instanceof CurviateError) {
|
|
445
|
-
const { getExitCode } = await import("./exit-codes-
|
|
448
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
446
449
|
renderError(err, outOpts, out);
|
|
447
450
|
process.exit(getExitCode(err.code));
|
|
448
451
|
}
|
|
@@ -3,49 +3,52 @@ import {
|
|
|
3
3
|
DEFAULT_FILTER_READERS,
|
|
4
4
|
assembleFilters,
|
|
5
5
|
splitCsv
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
AttachError,
|
|
9
|
-
readAttachment,
|
|
10
|
-
toAttachmentPayload
|
|
11
|
-
} from "./chunk-BGZW6B7G.js";
|
|
6
|
+
} from "./chunk-JRKM4OV2.js";
|
|
12
7
|
import {
|
|
13
8
|
slimJob
|
|
14
9
|
} from "./chunk-LJR4LJG6.js";
|
|
15
10
|
import {
|
|
16
11
|
pageDelayFromFlags,
|
|
17
12
|
streamAll
|
|
18
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LKF5MZIP.js";
|
|
19
14
|
import {
|
|
20
15
|
BinaryOutputError,
|
|
21
16
|
writeBinaryOutput
|
|
22
17
|
} from "./chunk-UWO2D4HW.js";
|
|
18
|
+
import {
|
|
19
|
+
AttachError,
|
|
20
|
+
readAttachment,
|
|
21
|
+
toAttachmentPayload
|
|
22
|
+
} from "./chunk-BGZW6B7G.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveIdentifier,
|
|
25
25
|
resolveJobIdentifier
|
|
26
26
|
} from "./chunk-UEAX6KUB.js";
|
|
27
|
-
import {
|
|
28
|
-
requireAccount
|
|
29
|
-
} from "./chunk-GHT2DLZR.js";
|
|
30
27
|
import {
|
|
31
28
|
buildPreviewOutput
|
|
32
29
|
} from "./chunk-R3VLWLVV.js";
|
|
33
30
|
import {
|
|
34
|
-
|
|
31
|
+
requireAccount
|
|
32
|
+
} from "./chunk-A73TUZBK.js";
|
|
33
|
+
import {
|
|
35
34
|
renderError,
|
|
36
35
|
renderSuccess,
|
|
37
|
-
renderUnexpectedError
|
|
36
|
+
renderUnexpectedError
|
|
37
|
+
} from "./chunk-KQXYEQAD.js";
|
|
38
|
+
import {
|
|
39
|
+
createClient,
|
|
38
40
|
resolveEffectiveConfig
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-TD2ZIXFR.js";
|
|
42
|
+
import "./chunk-PKSKQ3LN.js";
|
|
43
|
+
import "./chunk-X3YWBMBC.js";
|
|
44
|
+
import "./chunk-TQJ77SL4.js";
|
|
41
45
|
import {
|
|
42
46
|
GLOBAL_FLAGS,
|
|
43
47
|
READ_SINGLE_FLAGS,
|
|
44
48
|
WRITE_FLAGS,
|
|
45
49
|
WRITE_SINGLE_FLAGS,
|
|
46
50
|
isStdinToken
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-2OG6M6ME.js";
|
|
51
|
+
} from "./chunk-SKJNLN37.js";
|
|
49
52
|
|
|
50
53
|
// src/commands/recruiter.ts
|
|
51
54
|
import { defineCommand } from "citty";
|
|
@@ -77,7 +80,7 @@ function normalizeAttachPaths(attach) {
|
|
|
77
80
|
async function handleSdkError(err, outOpts, out) {
|
|
78
81
|
const { CurviateError } = await import("@curviate/sdk");
|
|
79
82
|
if (err instanceof CurviateError) {
|
|
80
|
-
const { getExitCode } = await import("./exit-codes-
|
|
83
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
81
84
|
renderError(err, outOpts, out);
|
|
82
85
|
process.exit(getExitCode(err.code));
|
|
83
86
|
}
|
|
@@ -1623,7 +1626,10 @@ var recruiterApplicantCommand = defineCommand({
|
|
|
1623
1626
|
}
|
|
1624
1627
|
});
|
|
1625
1628
|
var recruiterCommand = defineCommand({
|
|
1626
|
-
meta: {
|
|
1629
|
+
meta: {
|
|
1630
|
+
name: "recruiter",
|
|
1631
|
+
description: "Beta. LinkedIn Recruiter operations. Needs the LinkedIn account's own Recruiter subscription; no Curviate add-on. Beta operations can require consent: a human enables beta in Settings, or pass --beta for this call."
|
|
1632
|
+
},
|
|
1627
1633
|
args: { ...GLOBAL_FLAGS },
|
|
1628
1634
|
subCommands: {
|
|
1629
1635
|
message: recruiterMessageCommand,
|
|
@@ -3,39 +3,42 @@ import {
|
|
|
3
3
|
DEFAULT_FILTER_READERS,
|
|
4
4
|
assembleFilters,
|
|
5
5
|
splitCsv
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JRKM4OV2.js";
|
|
7
|
+
import {
|
|
8
|
+
pageDelayFromFlags,
|
|
9
|
+
streamAll
|
|
10
|
+
} from "./chunk-LKF5MZIP.js";
|
|
7
11
|
import {
|
|
8
12
|
AttachError,
|
|
9
13
|
readAttachment,
|
|
10
14
|
toAttachmentPayload
|
|
11
15
|
} from "./chunk-BGZW6B7G.js";
|
|
12
|
-
import {
|
|
13
|
-
pageDelayFromFlags,
|
|
14
|
-
streamAll
|
|
15
|
-
} from "./chunk-63X3VI3T.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveIdentifier
|
|
18
18
|
} from "./chunk-UEAX6KUB.js";
|
|
19
|
-
import {
|
|
20
|
-
requireAccount
|
|
21
|
-
} from "./chunk-GHT2DLZR.js";
|
|
22
19
|
import {
|
|
23
20
|
buildPreviewOutput
|
|
24
21
|
} from "./chunk-R3VLWLVV.js";
|
|
25
22
|
import {
|
|
26
|
-
|
|
23
|
+
requireAccount
|
|
24
|
+
} from "./chunk-A73TUZBK.js";
|
|
25
|
+
import {
|
|
27
26
|
renderError,
|
|
28
27
|
renderSuccess,
|
|
29
|
-
renderUnexpectedError
|
|
28
|
+
renderUnexpectedError
|
|
29
|
+
} from "./chunk-KQXYEQAD.js";
|
|
30
|
+
import {
|
|
31
|
+
createClient,
|
|
30
32
|
resolveEffectiveConfig
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-TD2ZIXFR.js";
|
|
34
|
+
import "./chunk-PKSKQ3LN.js";
|
|
35
|
+
import "./chunk-X3YWBMBC.js";
|
|
36
|
+
import "./chunk-TQJ77SL4.js";
|
|
33
37
|
import {
|
|
34
38
|
GLOBAL_FLAGS,
|
|
35
39
|
READ_SINGLE_FLAGS,
|
|
36
40
|
WRITE_FLAGS
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-2OG6M6ME.js";
|
|
41
|
+
} from "./chunk-SKJNLN37.js";
|
|
39
42
|
|
|
40
43
|
// src/commands/sales-nav.ts
|
|
41
44
|
import { defineCommand } from "citty";
|
|
@@ -65,7 +68,7 @@ function normalizeAttachPaths(attach) {
|
|
|
65
68
|
async function handleSdkError(err, outOpts, out) {
|
|
66
69
|
const { CurviateError } = await import("@curviate/sdk");
|
|
67
70
|
if (err instanceof CurviateError) {
|
|
68
|
-
const { getExitCode } = await import("./exit-codes-
|
|
71
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
69
72
|
renderError(err, outOpts, out);
|
|
70
73
|
process.exit(getExitCode(err.code));
|
|
71
74
|
}
|
|
@@ -817,7 +820,10 @@ var salesNavSaveAccountCommand = defineCommand({
|
|
|
817
820
|
}
|
|
818
821
|
});
|
|
819
822
|
var salesNavCommand = defineCommand({
|
|
820
|
-
meta: {
|
|
823
|
+
meta: {
|
|
824
|
+
name: "sales-nav",
|
|
825
|
+
description: "Beta. Sales Navigator operations. Needs the LinkedIn account's own Sales Navigator subscription; no Curviate add-on. Beta operations can require consent: a human enables beta in Settings, or pass --beta for this call."
|
|
826
|
+
},
|
|
821
827
|
args: { ...GLOBAL_FLAGS },
|
|
822
828
|
subCommands: {
|
|
823
829
|
message: salesNavMessageCommand,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
assembleFilters,
|
|
5
5
|
splitCsv,
|
|
6
6
|
splitCsvNumbers
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-JRKM4OV2.js";
|
|
8
8
|
import {
|
|
9
9
|
slimSearchCompanies,
|
|
10
10
|
slimSearchCompaniesItem,
|
|
@@ -18,22 +18,25 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
pageDelayFromFlags,
|
|
20
20
|
streamAll
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LKF5MZIP.js";
|
|
22
22
|
import {
|
|
23
23
|
requireAccount
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-A73TUZBK.js";
|
|
25
25
|
import {
|
|
26
|
-
createClient,
|
|
27
26
|
renderError,
|
|
28
27
|
renderSuccess,
|
|
29
|
-
renderUnexpectedError
|
|
28
|
+
renderUnexpectedError
|
|
29
|
+
} from "./chunk-KQXYEQAD.js";
|
|
30
|
+
import {
|
|
31
|
+
createClient,
|
|
30
32
|
resolveEffectiveConfig
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-TD2ZIXFR.js";
|
|
34
|
+
import "./chunk-PKSKQ3LN.js";
|
|
35
|
+
import "./chunk-X3YWBMBC.js";
|
|
36
|
+
import "./chunk-TQJ77SL4.js";
|
|
33
37
|
import {
|
|
34
38
|
GLOBAL_FLAGS
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-2OG6M6ME.js";
|
|
39
|
+
} from "./chunk-SKJNLN37.js";
|
|
37
40
|
|
|
38
41
|
// src/commands/search.ts
|
|
39
42
|
import { defineCommand } from "citty";
|
|
@@ -219,7 +222,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
|
|
|
219
222
|
} catch (err) {
|
|
220
223
|
const { CurviateError } = await import("@curviate/sdk");
|
|
221
224
|
if (err instanceof CurviateError) {
|
|
222
|
-
const { getExitCode } = await import("./exit-codes-
|
|
225
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
223
226
|
renderError(err, outOpts, out);
|
|
224
227
|
process.exit(getExitCode(err.code));
|
|
225
228
|
}
|
|
@@ -260,7 +263,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
|
|
|
260
263
|
} catch (err) {
|
|
261
264
|
const { CurviateError } = await import("@curviate/sdk");
|
|
262
265
|
if (err instanceof CurviateError) {
|
|
263
|
-
const { getExitCode } = await import("./exit-codes-
|
|
266
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
264
267
|
renderError(err, outOpts, out);
|
|
265
268
|
process.exit(getExitCode(err.code));
|
|
266
269
|
}
|
|
@@ -301,7 +304,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
|
|
|
301
304
|
} catch (err) {
|
|
302
305
|
const { CurviateError } = await import("@curviate/sdk");
|
|
303
306
|
if (err instanceof CurviateError) {
|
|
304
|
-
const { getExitCode } = await import("./exit-codes-
|
|
307
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
305
308
|
renderError(err, outOpts, out);
|
|
306
309
|
process.exit(getExitCode(err.code));
|
|
307
310
|
}
|
|
@@ -342,7 +345,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
|
|
|
342
345
|
} catch (err) {
|
|
343
346
|
const { CurviateError } = await import("@curviate/sdk");
|
|
344
347
|
if (err instanceof CurviateError) {
|
|
345
|
-
const { getExitCode } = await import("./exit-codes-
|
|
348
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
346
349
|
renderError(err, outOpts, out);
|
|
347
350
|
process.exit(getExitCode(err.code));
|
|
348
351
|
}
|
|
@@ -375,7 +378,7 @@ async function runSearchParameters(client, flags, out) {
|
|
|
375
378
|
} catch (err) {
|
|
376
379
|
const { CurviateError } = await import("@curviate/sdk");
|
|
377
380
|
if (err instanceof CurviateError) {
|
|
378
|
-
const { getExitCode } = await import("./exit-codes-
|
|
381
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
379
382
|
renderError(err, outOpts, out);
|
|
380
383
|
process.exit(getExitCode(err.code));
|
|
381
384
|
}
|
|
@@ -415,7 +418,7 @@ async function runSearchGroups(client, flags, out) {
|
|
|
415
418
|
} catch (err) {
|
|
416
419
|
const { CurviateError } = await import("@curviate/sdk");
|
|
417
420
|
if (err instanceof CurviateError) {
|
|
418
|
-
const { getExitCode } = await import("./exit-codes-
|
|
421
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
419
422
|
renderError(err, outOpts, out);
|
|
420
423
|
process.exit(getExitCode(err.code));
|
|
421
424
|
}
|
|
@@ -457,7 +460,7 @@ async function runSearchServices(client, flags, out) {
|
|
|
457
460
|
} catch (err) {
|
|
458
461
|
const { CurviateError } = await import("@curviate/sdk");
|
|
459
462
|
if (err instanceof CurviateError) {
|
|
460
|
-
const { getExitCode } = await import("./exit-codes-
|
|
463
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
461
464
|
renderError(err, outOpts, out);
|
|
462
465
|
process.exit(getExitCode(err.code));
|
|
463
466
|
}
|
|
@@ -484,7 +487,7 @@ async function runSearchServiceParameters(client, flags, out) {
|
|
|
484
487
|
} catch (err) {
|
|
485
488
|
const { CurviateError } = await import("@curviate/sdk");
|
|
486
489
|
if (err instanceof CurviateError) {
|
|
487
|
-
const { getExitCode } = await import("./exit-codes-
|
|
490
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
488
491
|
renderError(err, outOpts, out);
|
|
489
492
|
process.exit(getExitCode(err.code));
|
|
490
493
|
}
|
|
@@ -521,7 +524,7 @@ async function runSearchFromUrl(client, flags, out) {
|
|
|
521
524
|
} catch (err) {
|
|
522
525
|
const { CurviateError } = await import("@curviate/sdk");
|
|
523
526
|
if (err instanceof CurviateError) {
|
|
524
|
-
const { getExitCode } = await import("./exit-codes-
|
|
527
|
+
const { getExitCode } = await import("./exit-codes-RUKZC4WV.js");
|
|
525
528
|
renderError(err, outOpts, out);
|
|
526
529
|
process.exit(getExitCode(err.code));
|
|
527
530
|
}
|