@curviate/cli 0.45.0 → 0.46.1
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 +77 -0
- package/dist/{account-FDPUPVFB.js → account-O5UX5UAH.js} +90 -36
- package/dist/{chunk-BLJGV6ST.js → chunk-2FECYCAC.js} +3 -3
- package/dist/{chunk-XZJQQJBE.js → chunk-76E3O6HY.js} +11 -0
- package/dist/{chunk-PCZH5QJA.js → chunk-DGIDAO2H.js} +1 -1
- package/dist/{chunk-B5NIX4G6.js → chunk-FXF5FF3W.js} +6 -0
- package/dist/{chunk-EGDDVF3Q.js → chunk-LCGXJGPB.js} +7 -11
- package/dist/{chunk-FD4AANAA.js → chunk-LD6WPZZM.js} +3 -3
- package/dist/cli.js +20 -20
- package/dist/{comment-G4EXIIAQ.js → comment-BKGVJYS2.js} +6 -6
- package/dist/{company-IOSYYCXY.js → company-F2AZTDPK.js} +6 -6
- package/dist/{connect-GHABKXB2.js → connect-TX6PT7NV.js} +10 -10
- package/dist/{doctor-ICAEETCL.js → doctor-USTZQ75D.js} +2 -2
- package/dist/{exit-codes-YSFFFWMS.js → exit-codes-TMAIV7EM.js} +1 -1
- package/dist/{feed-XC5235UF.js → feed-ANBPRGFQ.js} +5 -5
- package/dist/{group-JDP2HVSV.js → group-HFF7LDDQ.js} +4 -4
- package/dist/{inbox-W3KR65VD.js → inbox-XQMGW6RT.js} +4 -4
- package/dist/{inboxes-XYS3IRT6.js → inboxes-CILMIVVD.js} +4 -4
- package/dist/{job-OJB4VSI2.js → job-TOJDDJ2P.js} +5 -5
- package/dist/{message-VZHXBKTO.js → message-WCBNBPAJ.js} +4 -4
- package/dist/{notification-RIUSYJV6.js → notification-CJ3LEHFL.js} +4 -4
- package/dist/{post-ZQIYCN7A.js → post-OQWJRL4B.js} +13 -12
- package/dist/{profile-COLBPBGO.js → profile-GT6ZD37M.js} +10 -10
- package/dist/{recruiter-4KFVMKZQ.js → recruiter-ZKWG6QG3.js} +5 -5
- package/dist/{sales-nav-IOBEJ4OP.js → sales-nav-WV3YHYD6.js} +4 -4
- package/dist/{search-3MRQE6VC.js → search-VAZEQ2WJ.js} +14 -14
- package/dist/{setup-BPNLAHPC.js → setup-GGXMHXAF.js} +2 -2
- package/dist/{webhook-ND7XZ7FW.js → webhook-5M47UX6U.js} +9 -4
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
slimInviteReceivedItem,
|
|
5
5
|
slimInviteSent,
|
|
6
6
|
slimInviteSentItem
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LCGXJGPB.js";
|
|
8
8
|
import {
|
|
9
9
|
nearestSubcommand
|
|
10
10
|
} from "./chunk-HOQ7EUHJ.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-UEAX6KUB.js";
|
|
14
14
|
import {
|
|
15
15
|
requireAccount
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2FECYCAC.js";
|
|
17
17
|
import {
|
|
18
18
|
buildPreviewOutput
|
|
19
19
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
resolveEffectiveConfig,
|
|
30
30
|
streamAll,
|
|
31
31
|
writeNdjsonItem
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-FXF5FF3W.js";
|
|
33
|
+
import "./chunk-76E3O6HY.js";
|
|
34
34
|
import {
|
|
35
35
|
createClient
|
|
36
36
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -82,7 +82,7 @@ async function runConnectSend(client, flags, out) {
|
|
|
82
82
|
} catch (err) {
|
|
83
83
|
const { CurviateError } = await import("@curviate/sdk");
|
|
84
84
|
if (err instanceof CurviateError) {
|
|
85
|
-
const { getExitCode } = await import("./exit-codes-
|
|
85
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
86
86
|
renderError(err, outOpts, out);
|
|
87
87
|
process.exit(getExitCode(err));
|
|
88
88
|
}
|
|
@@ -121,7 +121,7 @@ async function runConnectSent(client, flags, out) {
|
|
|
121
121
|
} catch (err) {
|
|
122
122
|
const { CurviateError } = await import("@curviate/sdk");
|
|
123
123
|
if (err instanceof CurviateError) {
|
|
124
|
-
const { getExitCode } = await import("./exit-codes-
|
|
124
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
125
125
|
renderError(err, outOpts, out);
|
|
126
126
|
process.exit(getExitCode(err));
|
|
127
127
|
}
|
|
@@ -160,7 +160,7 @@ async function runConnectReceived(client, flags, out) {
|
|
|
160
160
|
} catch (err) {
|
|
161
161
|
const { CurviateError } = await import("@curviate/sdk");
|
|
162
162
|
if (err instanceof CurviateError) {
|
|
163
|
-
const { getExitCode } = await import("./exit-codes-
|
|
163
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
164
164
|
renderError(err, outOpts, out);
|
|
165
165
|
process.exit(getExitCode(err));
|
|
166
166
|
}
|
|
@@ -189,7 +189,7 @@ async function runConnectAccept(client, flags, out) {
|
|
|
189
189
|
} catch (err) {
|
|
190
190
|
const { CurviateError } = await import("@curviate/sdk");
|
|
191
191
|
if (err instanceof CurviateError) {
|
|
192
|
-
const { getExitCode } = await import("./exit-codes-
|
|
192
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
193
193
|
renderError(err, outOpts, out);
|
|
194
194
|
process.exit(getExitCode(err));
|
|
195
195
|
}
|
|
@@ -218,7 +218,7 @@ async function runConnectDecline(client, flags, out) {
|
|
|
218
218
|
} catch (err) {
|
|
219
219
|
const { CurviateError } = await import("@curviate/sdk");
|
|
220
220
|
if (err instanceof CurviateError) {
|
|
221
|
-
const { getExitCode } = await import("./exit-codes-
|
|
221
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
222
222
|
renderError(err, outOpts, out);
|
|
223
223
|
process.exit(getExitCode(err));
|
|
224
224
|
}
|
|
@@ -247,7 +247,7 @@ async function runConnectCancel(client, flags, out) {
|
|
|
247
247
|
} catch (err) {
|
|
248
248
|
const { CurviateError } = await import("@curviate/sdk");
|
|
249
249
|
if (err instanceof CurviateError) {
|
|
250
|
-
const { getExitCode } = await import("./exit-codes-
|
|
250
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
251
251
|
renderError(err, outOpts, out);
|
|
252
252
|
process.exit(getExitCode(err));
|
|
253
253
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2FECYCAC.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readCursorFlag,
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
resolveEffectiveConfig,
|
|
15
15
|
streamAll,
|
|
16
16
|
writeNdjsonItem
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-FXF5FF3W.js";
|
|
18
|
+
import "./chunk-76E3O6HY.js";
|
|
19
19
|
import {
|
|
20
20
|
createClient
|
|
21
21
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -43,7 +43,7 @@ function resolveOutputOpts(flags) {
|
|
|
43
43
|
async function handleSdkError(err, outOpts, out) {
|
|
44
44
|
const { CurviateError } = await import("@curviate/sdk");
|
|
45
45
|
if (err instanceof CurviateError) {
|
|
46
|
-
const { getExitCode } = await import("./exit-codes-
|
|
46
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
47
47
|
renderError(err, outOpts, out);
|
|
48
48
|
process.exit(getExitCode(err));
|
|
49
49
|
}
|
|
@@ -91,7 +91,7 @@ var FEED_ARGS = {
|
|
|
91
91
|
var feedHomeCommand = defineCommand({
|
|
92
92
|
meta: {
|
|
93
93
|
name: "home",
|
|
94
|
-
description: "Read the connected account's LinkedIn home feed as agent-actionable posts. On the default recent sort
|
|
94
|
+
description: "Read the connected account's LinkedIn home feed as agent-actionable posts. Every post carries its text and created_at. On the default recent sort every engagement count is null (unknown, not zero) and only the author's name resolves; --sort relevant fills engagement and the author's ids.",
|
|
95
95
|
examples: [
|
|
96
96
|
"curviate feed home",
|
|
97
97
|
"curviate feed home --sort relevant",
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-UEAX6KUB.js";
|
|
5
5
|
import {
|
|
6
6
|
requireAccount
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2FECYCAC.js";
|
|
8
8
|
import {
|
|
9
9
|
pageDelayFromFlags,
|
|
10
10
|
readCursorFlag,
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
resolveEffectiveConfig,
|
|
19
19
|
streamAll,
|
|
20
20
|
writeNdjsonItem
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-FXF5FF3W.js";
|
|
22
|
+
import "./chunk-76E3O6HY.js";
|
|
23
23
|
import {
|
|
24
24
|
createClient
|
|
25
25
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -54,7 +54,7 @@ function resolveOutputOpts(flags) {
|
|
|
54
54
|
async function handleSdkError(err, outOpts, out) {
|
|
55
55
|
const { CurviateError } = await import("@curviate/sdk");
|
|
56
56
|
if (err instanceof CurviateError) {
|
|
57
|
-
const { getExitCode } = await import("./exit-codes-
|
|
57
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
58
58
|
renderError(err, outOpts, out);
|
|
59
59
|
process.exit(getExitCode(err));
|
|
60
60
|
}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-UEAX6KUB.js";
|
|
9
9
|
import {
|
|
10
10
|
requireAccount
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2FECYCAC.js";
|
|
12
12
|
import {
|
|
13
13
|
buildPreviewOutput
|
|
14
14
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
resolveEffectiveConfig,
|
|
26
26
|
streamAll,
|
|
27
27
|
writeNdjsonItem
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-FXF5FF3W.js";
|
|
29
|
+
import "./chunk-76E3O6HY.js";
|
|
30
30
|
import {
|
|
31
31
|
createClient
|
|
32
32
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -97,7 +97,7 @@ function validateInboxFolder(raw, out) {
|
|
|
97
97
|
async function handleSdkError(err, outOpts, out) {
|
|
98
98
|
const { CurviateError } = await import("@curviate/sdk");
|
|
99
99
|
if (err instanceof CurviateError) {
|
|
100
|
-
const { getExitCode } = await import("./exit-codes-
|
|
100
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
101
101
|
renderError(err, outOpts, out);
|
|
102
102
|
process.exit(getExitCode(err));
|
|
103
103
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2FECYCAC.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readCursorFlag,
|
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
resolveEffectiveConfig,
|
|
16
16
|
streamAll,
|
|
17
17
|
writeNdjsonItem
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-FXF5FF3W.js";
|
|
19
|
+
import "./chunk-76E3O6HY.js";
|
|
20
20
|
import {
|
|
21
21
|
createClient
|
|
22
22
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -51,7 +51,7 @@ function resolveOutputOpts(flags) {
|
|
|
51
51
|
async function handleSdkError(err, outOpts, out) {
|
|
52
52
|
const { CurviateError } = await import("@curviate/sdk");
|
|
53
53
|
if (err instanceof CurviateError) {
|
|
54
|
-
const { getExitCode } = await import("./exit-codes-
|
|
54
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
55
55
|
renderError(err, outOpts, out);
|
|
56
56
|
process.exit(getExitCode(err));
|
|
57
57
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
slimJob
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LCGXJGPB.js";
|
|
5
5
|
import {
|
|
6
6
|
BinaryOutputError,
|
|
7
7
|
writeBinaryOutput
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-UEAX6KUB.js";
|
|
12
12
|
import {
|
|
13
13
|
requireAccount
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2FECYCAC.js";
|
|
15
15
|
import {
|
|
16
16
|
buildPreviewOutput
|
|
17
17
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -30,8 +30,8 @@ import {
|
|
|
30
30
|
resolveEffectiveConfig,
|
|
31
31
|
streamAll,
|
|
32
32
|
writeNdjsonItem
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-FXF5FF3W.js";
|
|
34
|
+
import "./chunk-76E3O6HY.js";
|
|
35
35
|
import {
|
|
36
36
|
createClient,
|
|
37
37
|
downloadBinary
|
|
@@ -97,7 +97,7 @@ function requireEnum(value, allowed, flag, out) {
|
|
|
97
97
|
async function handleSdkError(err, outOpts, out) {
|
|
98
98
|
const { CurviateError } = await import("@curviate/sdk");
|
|
99
99
|
if (err instanceof CurviateError) {
|
|
100
|
-
const { getExitCode } = await import("./exit-codes-
|
|
100
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
101
101
|
renderError(err, outOpts, out);
|
|
102
102
|
process.exit(getExitCode(err));
|
|
103
103
|
}
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
runMessageSend,
|
|
14
14
|
sentAsNotice,
|
|
15
15
|
willSendAsNotice
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LD6WPZZM.js";
|
|
17
17
|
import "./chunk-UWO2D4HW.js";
|
|
18
18
|
import "./chunk-HOQ7EUHJ.js";
|
|
19
19
|
import "./chunk-BGZW6B7G.js";
|
|
20
20
|
import "./chunk-UEAX6KUB.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-2FECYCAC.js";
|
|
22
22
|
import "./chunk-TCUYH5GO.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-FXF5FF3W.js";
|
|
24
|
+
import "./chunk-76E3O6HY.js";
|
|
25
25
|
import "./chunk-UJOTQPL6.js";
|
|
26
26
|
import "./chunk-TC4ZPUWI.js";
|
|
27
27
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2FECYCAC.js";
|
|
5
5
|
import {
|
|
6
6
|
buildPreviewOutput
|
|
7
7
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
resolveEffectiveConfig,
|
|
18
18
|
streamAll,
|
|
19
19
|
writeNdjsonItem
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-FXF5FF3W.js";
|
|
21
|
+
import "./chunk-76E3O6HY.js";
|
|
22
22
|
import {
|
|
23
23
|
createClient
|
|
24
24
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -47,7 +47,7 @@ function resolveOutputOpts(flags) {
|
|
|
47
47
|
async function handleSdkError(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-TMAIV7EM.js");
|
|
51
51
|
renderError(err, outOpts, out);
|
|
52
52
|
process.exit(getExitCode(err));
|
|
53
53
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DGIDAO2H.js";
|
|
5
5
|
import {
|
|
6
6
|
AttachError,
|
|
7
7
|
readAttachment,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import "./chunk-UEAX6KUB.js";
|
|
11
11
|
import {
|
|
12
12
|
requireAccount
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2FECYCAC.js";
|
|
14
14
|
import {
|
|
15
15
|
buildPreviewOutput
|
|
16
16
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
resolveEffectiveConfig,
|
|
28
28
|
streamAll,
|
|
29
29
|
writeNdjsonItem
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
} from "./chunk-FXF5FF3W.js";
|
|
31
|
+
import "./chunk-76E3O6HY.js";
|
|
32
32
|
import {
|
|
33
33
|
createClient
|
|
34
34
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -77,7 +77,7 @@ function normalizeAttachPaths(attach) {
|
|
|
77
77
|
async function handleSdkError(err, outOpts, out) {
|
|
78
78
|
const { CurviateError } = await import("@curviate/sdk");
|
|
79
79
|
if (err instanceof CurviateError) {
|
|
80
|
-
const { getExitCode } = await import("./exit-codes-
|
|
80
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
81
81
|
renderError(err, outOpts, out);
|
|
82
82
|
process.exit(getExitCode(err));
|
|
83
83
|
}
|
|
@@ -382,6 +382,7 @@ async function runPostUserReactions(client, flags, out) {
|
|
|
382
382
|
await handleSdkError(err, outOpts, out);
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
+
var POST_ID_FORMS = "Post id in any form the CLI returns: the `id` from search posts or a post read, a bare numeric activity id, urn:li:activity|ugcPost|share:N, or a full LinkedIn post URL (activity-, ugcPost- or share- slug).";
|
|
385
386
|
var postGetCommand = defineCommand({
|
|
386
387
|
meta: {
|
|
387
388
|
name: "get",
|
|
@@ -395,7 +396,7 @@ var postGetCommand = defineCommand({
|
|
|
395
396
|
...readOnly(READ_SINGLE_FLAGS),
|
|
396
397
|
postId: {
|
|
397
398
|
type: "positional",
|
|
398
|
-
description:
|
|
399
|
+
description: POST_ID_FORMS + " POSTID is always the post's id. To list comments on a post, use 'comment list <post_id>'."
|
|
399
400
|
}
|
|
400
401
|
},
|
|
401
402
|
async run({ args }) {
|
|
@@ -466,7 +467,7 @@ var postReactCommand = defineCommand({
|
|
|
466
467
|
...WRITE_FLAGS,
|
|
467
468
|
postId: {
|
|
468
469
|
type: "positional",
|
|
469
|
-
description:
|
|
470
|
+
description: POST_ID_FORMS + " POSTID is always the post's id."
|
|
470
471
|
},
|
|
471
472
|
reaction: {
|
|
472
473
|
type: "positional",
|
|
@@ -514,7 +515,7 @@ var postReactionsCommand = defineCommand({
|
|
|
514
515
|
...readOnly(GLOBAL_FLAGS),
|
|
515
516
|
postId: {
|
|
516
517
|
type: "positional",
|
|
517
|
-
description:
|
|
518
|
+
description: POST_ID_FORMS + " POSTID is always the post's id."
|
|
518
519
|
}
|
|
519
520
|
},
|
|
520
521
|
async run({ args }) {
|
|
@@ -561,7 +562,7 @@ var postDeleteCommand = defineCommand({
|
|
|
561
562
|
},
|
|
562
563
|
args: {
|
|
563
564
|
...WRITE_SINGLE_FLAGS,
|
|
564
|
-
postId: { type: "positional", description:
|
|
565
|
+
postId: { type: "positional", description: POST_ID_FORMS }
|
|
565
566
|
},
|
|
566
567
|
async run({ args }) {
|
|
567
568
|
await withClient(args, runPostDelete);
|
|
@@ -577,7 +578,7 @@ var postUnreactCommand = defineCommand({
|
|
|
577
578
|
},
|
|
578
579
|
args: {
|
|
579
580
|
...WRITE_SINGLE_FLAGS,
|
|
580
|
-
postId: { type: "positional", description:
|
|
581
|
+
postId: { type: "positional", description: POST_ID_FORMS },
|
|
581
582
|
reaction: { type: "positional", description: "Reaction to remove: like|celebrate|support|love|insightful|funny." }
|
|
582
583
|
},
|
|
583
584
|
async run({ args }) {
|
|
@@ -607,7 +608,7 @@ var postSaveCommand = defineCommand({
|
|
|
607
608
|
},
|
|
608
609
|
args: {
|
|
609
610
|
...WRITE_SINGLE_FLAGS,
|
|
610
|
-
postId: { type: "positional", description:
|
|
611
|
+
postId: { type: "positional", description: POST_ID_FORMS }
|
|
611
612
|
},
|
|
612
613
|
async run({ args }) {
|
|
613
614
|
await withClient(args, runPostSave);
|
|
@@ -623,7 +624,7 @@ var postUnsaveCommand = defineCommand({
|
|
|
623
624
|
},
|
|
624
625
|
args: {
|
|
625
626
|
...WRITE_SINGLE_FLAGS,
|
|
626
|
-
postId: { type: "positional", description:
|
|
627
|
+
postId: { type: "positional", description: POST_ID_FORMS }
|
|
627
628
|
},
|
|
628
629
|
async run({ args }) {
|
|
629
630
|
await withClient(args, runPostUnsave);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
slimProfile,
|
|
5
5
|
slimProfileMe,
|
|
6
6
|
withRequestedSections
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-LCGXJGPB.js";
|
|
8
8
|
import {
|
|
9
9
|
RETRIEVAL_FLAGS,
|
|
10
10
|
hasRetrievalFlags,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
resolveMemberOrMeProviderId,
|
|
15
15
|
resolveMemberProviderId
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DGIDAO2H.js";
|
|
17
17
|
import {
|
|
18
18
|
AttachError,
|
|
19
19
|
readAttachment,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-UEAX6KUB.js";
|
|
25
25
|
import {
|
|
26
26
|
requireAccount
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2FECYCAC.js";
|
|
28
28
|
import {
|
|
29
29
|
buildPreviewOutput
|
|
30
30
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -42,8 +42,8 @@ import {
|
|
|
42
42
|
resolveEffectiveConfig,
|
|
43
43
|
streamAll,
|
|
44
44
|
writeNdjsonItem
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-FXF5FF3W.js";
|
|
46
|
+
import "./chunk-76E3O6HY.js";
|
|
47
47
|
import {
|
|
48
48
|
createClient
|
|
49
49
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -180,7 +180,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
180
180
|
} catch (err) {
|
|
181
181
|
const { CurviateError } = await import("@curviate/sdk");
|
|
182
182
|
if (err instanceof CurviateError) {
|
|
183
|
-
const { getExitCode } = await import("./exit-codes-
|
|
183
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
184
184
|
renderError(err, outOpts, out);
|
|
185
185
|
process.exit(getExitCode(err));
|
|
186
186
|
}
|
|
@@ -207,7 +207,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
207
207
|
} catch (err) {
|
|
208
208
|
const { CurviateError } = await import("@curviate/sdk");
|
|
209
209
|
if (err instanceof CurviateError) {
|
|
210
|
-
const { getExitCode } = await import("./exit-codes-
|
|
210
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
211
211
|
renderError(err, outOpts, out);
|
|
212
212
|
process.exit(getExitCode(err));
|
|
213
213
|
}
|
|
@@ -339,7 +339,7 @@ async function runProfileGet(client, flags, out) {
|
|
|
339
339
|
} catch (err) {
|
|
340
340
|
const { CurviateError } = await import("@curviate/sdk");
|
|
341
341
|
if (err instanceof CurviateError) {
|
|
342
|
-
const { getExitCode } = await import("./exit-codes-
|
|
342
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
343
343
|
renderError(err, outOpts, out);
|
|
344
344
|
process.exit(getExitCode(err));
|
|
345
345
|
}
|
|
@@ -377,7 +377,7 @@ async function runProfileRelations(client, flags, out) {
|
|
|
377
377
|
} catch (err) {
|
|
378
378
|
const { CurviateError } = await import("@curviate/sdk");
|
|
379
379
|
if (err instanceof CurviateError) {
|
|
380
|
-
const { getExitCode } = await import("./exit-codes-
|
|
380
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
381
381
|
renderError(err, outOpts, out);
|
|
382
382
|
process.exit(getExitCode(err));
|
|
383
383
|
}
|
|
@@ -417,7 +417,7 @@ async function runProfileEndorse(client, flags, out) {
|
|
|
417
417
|
async function handleSdkError(err, outOpts, out) {
|
|
418
418
|
const { CurviateError } = await import("@curviate/sdk");
|
|
419
419
|
if (err instanceof CurviateError) {
|
|
420
|
-
const { getExitCode } = await import("./exit-codes-
|
|
420
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
421
421
|
renderError(err, outOpts, out);
|
|
422
422
|
process.exit(getExitCode(err));
|
|
423
423
|
}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-KJ24DIAJ.js";
|
|
7
7
|
import {
|
|
8
8
|
slimJob
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LCGXJGPB.js";
|
|
10
10
|
import {
|
|
11
11
|
BinaryOutputError,
|
|
12
12
|
writeBinaryOutput
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-UEAX6KUB.js";
|
|
23
23
|
import {
|
|
24
24
|
requireAccount
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2FECYCAC.js";
|
|
26
26
|
import {
|
|
27
27
|
buildPreviewOutput
|
|
28
28
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
resolveEffectiveConfig,
|
|
40
40
|
streamAll,
|
|
41
41
|
writeNdjsonItem
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-FXF5FF3W.js";
|
|
43
|
+
import "./chunk-76E3O6HY.js";
|
|
44
44
|
import {
|
|
45
45
|
createClient,
|
|
46
46
|
downloadBinary
|
|
@@ -79,7 +79,7 @@ function normalizeAttachPaths(attach) {
|
|
|
79
79
|
async function handleSdkError(err, outOpts, out) {
|
|
80
80
|
const { CurviateError } = await import("@curviate/sdk");
|
|
81
81
|
if (err instanceof CurviateError) {
|
|
82
|
-
const { getExitCode } = await import("./exit-codes-
|
|
82
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
83
83
|
renderError(err, outOpts, out);
|
|
84
84
|
process.exit(getExitCode(err));
|
|
85
85
|
}
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-UEAX6KUB.js";
|
|
15
15
|
import {
|
|
16
16
|
requireAccount
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2FECYCAC.js";
|
|
18
18
|
import {
|
|
19
19
|
buildPreviewOutput
|
|
20
20
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
resolveEffectiveConfig,
|
|
32
32
|
streamAll,
|
|
33
33
|
writeNdjsonItem
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-FXF5FF3W.js";
|
|
35
|
+
import "./chunk-76E3O6HY.js";
|
|
36
36
|
import {
|
|
37
37
|
createClient
|
|
38
38
|
} from "./chunk-UJOTQPL6.js";
|
|
@@ -65,7 +65,7 @@ function normalizeAttachPaths(attach) {
|
|
|
65
65
|
async function handleSdkError(err, outOpts, out) {
|
|
66
66
|
const { CurviateError } = await import("@curviate/sdk");
|
|
67
67
|
if (err instanceof CurviateError) {
|
|
68
|
-
const { getExitCode } = await import("./exit-codes-
|
|
68
|
+
const { getExitCode } = await import("./exit-codes-TMAIV7EM.js");
|
|
69
69
|
renderError(err, outOpts, out);
|
|
70
70
|
process.exit(getExitCode(err));
|
|
71
71
|
}
|