@curviate/cli 0.54.0 → 0.55.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 +24 -0
- package/README.md +34 -17
- package/dist/{account-DW5N5MJ6.js → account-6L33JFZS.js} +98 -116
- package/dist/{analytics-T2K3OWVQ.js → analytics-HGJGXRAM.js} +5 -5
- package/dist/{beta-consent-O736ONE7.js → beta-consent-LIND4PPN.js} +4 -4
- package/dist/{billing-NTBL32EX.js → billing-QKPP5NPR.js} +5 -5
- package/dist/{chunk-5B4T6BMN.js → chunk-AMMAA62Z.js} +44 -44
- package/dist/{chunk-FBLCSVIU.js → chunk-BC4N5X3N.js} +47 -47
- package/dist/{chunk-N4IYTFIY.js → chunk-EA5LJ4CS.js} +1 -1
- package/dist/{chunk-A3UNS44U.js → chunk-FHSGANM6.js} +10 -10
- package/dist/chunk-J34JU27C.js +94 -0
- package/dist/{chunk-62YAYAUI.js → chunk-JKXGL7PT.js} +9 -9
- package/dist/{chunk-FUX3BRYP.js → chunk-JXDEV33Z.js} +1 -1
- package/dist/{chunk-V3HHYTBY.js → chunk-KLXDFFHT.js} +1 -1
- package/dist/{chunk-HOMRAZ6S.js → chunk-LGUZ52BU.js} +2 -2
- package/dist/{chunk-Q57PZJLX.js → chunk-OYZ27Q3B.js} +88 -88
- package/dist/{chunk-UFHT2KZG.js → chunk-Q5Z7FMXI.js} +2 -2
- package/dist/{chunk-R4HS2MWM.js → chunk-QBY6L77D.js} +14 -12
- package/dist/{chunk-KXJJFHSD.js → chunk-R7USRN52.js} +1 -1
- package/dist/{chunk-QW5K5DTC.js → chunk-RDKTHFQ6.js} +25 -6
- package/dist/{chunk-N76WNJ5T.js → chunk-S234PC5E.js} +1 -1
- package/dist/{chunk-ACKKHLUH.js → chunk-Z3RPQ5K4.js} +2 -2
- package/dist/cli.js +27 -25
- package/dist/{comment-ATVJOTWV.js → comment-IIKLEAEK.js} +8 -8
- package/dist/{company-BRKFROPE.js → company-CX5TZNB5.js} +11 -11
- package/dist/{config-E223SS5K.js → config-Y4FC7QKM.js} +2 -2
- package/dist/{connect-XVDQ5FTT.js → connect-GUUBX23F.js} +15 -15
- package/dist/{contact-4HOUOVD7.js → contact-OCYSFRTS.js} +8 -8
- package/dist/{contact-groups-ENA3VGGL.js → contact-groups-HWJSYRFJ.js} +85 -85
- package/dist/{contact-import-4EKVDFPV.js → contact-import-CTWSFT64.js} +10 -10
- package/dist/core-37XZS2RG.js +46 -0
- package/dist/{do-not-contact-S2WGHSQL.js → do-not-contact-6UVY3UKT.js} +29 -29
- package/dist/{doctor-OFIUGRUG.js → doctor-6CB6DCY3.js} +4 -4
- package/dist/{document-MDE2WJYX.js → document-ADK4GZA7.js} +1 -1
- package/dist/domain-BUJMHYIV.js +70 -0
- package/dist/{draft-DD3DTXBM.js → draft-SII6E6Z6.js} +4 -4
- package/dist/{enrollment-ESCHKQ5X.js → enrollment-OXGR5WVI.js} +38 -38
- package/dist/{examples-KAMXHRLE.js → examples-77WVMKZQ.js} +2 -2
- package/dist/{exit-codes-CYQHN4NE.js → exit-codes-ZSOLAXQO.js} +1 -1
- package/dist/{export-GUAGB7TF.js → export-D32J5GRN.js} +5 -5
- package/dist/{feed-ZC4FY4BA.js → feed-HOFHCP6W.js} +6 -6
- package/dist/{group-42ZE7K3K.js → group-AMYOAGNS.js} +6 -6
- package/dist/{inbox-2YS7CTXH.js → inbox-NS2LB2WQ.js} +9 -9
- package/dist/{inboxes-5RB3BGCQ.js → inboxes-XWUZJ5PN.js} +6 -6
- package/dist/{incoming-ATZN6JJA.js → incoming-UIWRL6QS.js} +13 -13
- package/dist/{job-WD3Z3P3Q.js → job-TKGPXU26.js} +10 -10
- package/dist/{login-JQ57YHEJ.js → login-B2YWX2JP.js} +2 -2
- package/dist/mailbox-LLSGX2FF.js +406 -0
- package/dist/{message-WGS2IIDC.js → message-M4THMNRZ.js} +7 -7
- package/dist/{motion-BRVBJJJP.js → motion-2OUGYR3O.js} +147 -147
- package/dist/{network-CODIWCJQ.js → network-MFWKXTEV.js} +5 -5
- package/dist/{notification-RLVF4NLJ.js → notification-5K4TCYQA.js} +6 -6
- package/dist/{notifications-HGEHM5KW.js → notifications-2GKUJB7C.js} +6 -6
- package/dist/{post-3GH2IPO6.js → post-BHH7YKGM.js} +8 -8
- package/dist/{profile-6RFJQMIB.js → profile-GKMRRKZF.js} +15 -15
- package/dist/{recruiter-GK3UNS62.js → recruiter-J53ZSD4P.js} +17 -17
- package/dist/{sales-nav-SLS3ABF4.js → sales-nav-6I5SYTRX.js} +15 -15
- package/dist/{search-45WRT5T3.js → search-HS2YAA33.js} +17 -17
- package/dist/{setup-5QZOM2Q2.js → setup-IYVOGVC6.js} +4 -4
- package/dist/{team-WM3RKOQ2.js → team-N6ILUHAD.js} +6 -6
- package/dist/{tier-5AMLO5KE.js → tier-QWXKFESB.js} +4 -4
- package/dist/{unibox-TTCF7YVO.js → unibox-D4WIHIZX.js} +34 -34
- package/dist/{webhook-UCCCSKDO.js → webhook-PKWGZZO2.js} +18 -18
- package/package.json +2 -2
- package/dist/core-6VDDV2NM.js +0 -46
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import {
|
|
3
3
|
chunkRows,
|
|
4
4
|
csvRecords
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-AMMAA62Z.js";
|
|
6
|
+
import "./chunk-OYZ27Q3B.js";
|
|
7
|
+
import "./chunk-Z3RPQ5K4.js";
|
|
8
8
|
import {
|
|
9
9
|
writeAtomic
|
|
10
10
|
} from "./chunk-GOICALYQ.js";
|
|
11
11
|
import {
|
|
12
12
|
sendChunked
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Q5Z7FMXI.js";
|
|
14
14
|
import {
|
|
15
15
|
fail,
|
|
16
16
|
outputOpts,
|
|
17
17
|
rootClient,
|
|
18
18
|
usage
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-LGUZ52BU.js";
|
|
20
20
|
import {
|
|
21
21
|
buildPreviewOutput
|
|
22
22
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
readablePage,
|
|
32
32
|
rejectPaginationModifiersWithoutAll,
|
|
33
33
|
streamAll
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-R7USRN52.js";
|
|
35
35
|
import {
|
|
36
36
|
renderSuccess,
|
|
37
37
|
writeNdjsonItem
|
|
38
38
|
} from "./chunk-QM57YDJE.js";
|
|
39
39
|
import {
|
|
40
40
|
downloadBinary
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-S234PC5E.js";
|
|
42
42
|
import {
|
|
43
43
|
GLOBAL_FLAGS,
|
|
44
44
|
READ_SINGLE_FLAGS,
|
|
@@ -47,15 +47,15 @@ import {
|
|
|
47
47
|
} from "./chunk-QLKGOIWS.js";
|
|
48
48
|
import {
|
|
49
49
|
DESCRIPTIONS
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-QBY6L77D.js";
|
|
51
51
|
import {
|
|
52
52
|
readFileFlag
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-JKXGL7PT.js";
|
|
54
54
|
import "./chunk-FDJMAF7D.js";
|
|
55
55
|
import {
|
|
56
56
|
isStdinToken
|
|
57
57
|
} from "./chunk-ZYURL5VK.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-RDKTHFQ6.js";
|
|
59
59
|
|
|
60
60
|
// src/commands/do-not-contact.ts
|
|
61
61
|
import { defineCommand } from "citty";
|
|
@@ -99,9 +99,9 @@ async function runGet(c, f) {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
async function runAdd(c, f) {
|
|
102
|
-
if (f.
|
|
103
|
-
for (const [flag, v] of [["
|
|
104
|
-
const body = f.
|
|
102
|
+
if (f.lead === void 0 === (f["linkedin-url"] === void 0)) usage("name the person with exactly one of --lead (con_...) or --linkedin-url.");
|
|
103
|
+
for (const [flag, v] of [["lead", f.lead], ["linkedin-url", f["linkedin-url"]]]) if (v !== void 0 && v.trim() === "") usage(`--${flag} was given an empty value.`);
|
|
104
|
+
const body = f.lead !== void 0 ? { lead_id: f.lead } : { linkedin_url: f["linkedin-url"] };
|
|
105
105
|
const why = reason(f, false);
|
|
106
106
|
if (why) body["reason"] = why;
|
|
107
107
|
if (f.preview) return preview("doNotContact.add", {}, body);
|
|
@@ -227,11 +227,11 @@ var REASON_ARG = { type: "string", description: `Why: ${REASONS.join(" | ")}.` }
|
|
|
227
227
|
var listCmd = defineCommand({
|
|
228
228
|
meta: {
|
|
229
229
|
name: "list",
|
|
230
|
-
description: "List your Team's do-not-contact list, newest first. No
|
|
230
|
+
description: "List your Team's do-not-contact list, newest first. No Campaign contacts a person on it and writes toward them are refused (exit 10); a reply in a conversation they wrote in stays allowed. An entry whose Lead was deleted still applies.",
|
|
231
231
|
risk: "read",
|
|
232
232
|
examples: ["curviate do-not-contact list", "curviate do-not-contact list --query jane"]
|
|
233
233
|
},
|
|
234
|
-
args: { ...readOnly(GLOBAL_FLAGS), limit: { ...GLOBAL_FLAGS.limit, description: "Entries per page (1 to 100). The API returns no total: count with --all." }, query: { type: "string", description: "Only entries whose
|
|
234
|
+
args: { ...readOnly(GLOBAL_FLAGS), limit: { ...GLOBAL_FLAGS.limit, description: "Entries per page (1 to 100). The API returns no total: count with --all." }, query: { type: "string", description: "Only entries whose Lead name matches this text." } },
|
|
235
235
|
run: online(runList)
|
|
236
236
|
});
|
|
237
237
|
var getCmd = defineCommand({
|
|
@@ -242,23 +242,23 @@ var getCmd = defineCommand({
|
|
|
242
242
|
var addCmd = defineCommand({
|
|
243
243
|
meta: {
|
|
244
244
|
name: "add",
|
|
245
|
-
description: "Put one person on the list, by
|
|
245
|
+
description: "Put one person on the list, by Lead id or LinkedIn URL (a URL of someone who is not a Lead yet creates the Lead from stored data). No Campaign contacts them afterwards and writes toward them are refused. One person per call; for many, `do-not-contact import`. Any member may add. Needs Automate.",
|
|
246
246
|
risk: "write",
|
|
247
247
|
rules: {
|
|
248
|
-
changes: "The person joins the list;
|
|
248
|
+
changes: "The person joins the list; Campaigns skip them and writes toward them are refused.",
|
|
249
249
|
visible_to: "Your Team.",
|
|
250
250
|
budget_rows: [],
|
|
251
251
|
retry: "Safe: a person already on the list answers with their existing entry.",
|
|
252
252
|
undo: "`curviate do-not-contact remove <id>` (Owners and Managers)."
|
|
253
253
|
},
|
|
254
|
-
errors: { TIER_REQUIRED: "your plan does not include Do-not-contact writes (Automate).", RESOURCE_NOT_FOUND: "no
|
|
254
|
+
errors: { TIER_REQUIRED: "your plan does not include Do-not-contact writes (Automate).", RESOURCE_NOT_FOUND: "no Lead has this id." },
|
|
255
255
|
seeAlso: ["curviate do-not-contact list", "curviate do-not-contact import"],
|
|
256
|
-
examples: ["curviate do-not-contact add --
|
|
256
|
+
examples: ["curviate do-not-contact add --lead con_YOUR_LEAD_ID --reason asked_to_stop", "curviate do-not-contact add --linkedin-url https://www.linkedin.com/in/jane-doe"]
|
|
257
257
|
},
|
|
258
258
|
args: {
|
|
259
259
|
...WRITE_SINGLE_FLAGS,
|
|
260
|
-
|
|
261
|
-
"linkedin-url": { type: "string", description: "The person's LinkedIn profile URL, in any spelling. Not with --
|
|
260
|
+
lead: { type: "string", description: "The Lead (con_...). Not with --linkedin-url." },
|
|
261
|
+
"linkedin-url": { type: "string", description: "The person's LinkedIn profile URL, in any spelling. Not with --lead." },
|
|
262
262
|
reason: REASON_ARG
|
|
263
263
|
},
|
|
264
264
|
run: online(runAdd)
|
|
@@ -284,11 +284,11 @@ var updateCmd = defineCommand({
|
|
|
284
284
|
var removeCmd = defineCommand({
|
|
285
285
|
meta: {
|
|
286
286
|
name: "remove",
|
|
287
|
-
description: "Take a person off the list:
|
|
287
|
+
description: "Take a person off the list: Campaigns and writes may reach them again. Owners and Managers only.",
|
|
288
288
|
risk: "high",
|
|
289
289
|
rules: {
|
|
290
|
-
changes: "The entry is deleted;
|
|
291
|
-
visible_to: "The person, if a
|
|
290
|
+
changes: "The entry is deleted; Campaigns may enroll the person and writes toward them are allowed again.",
|
|
291
|
+
visible_to: "The person, if a Campaign or write then reaches them on LinkedIn.",
|
|
292
292
|
budget_rows: [],
|
|
293
293
|
retry: "Safe: a second call answers RESOURCE_NOT_FOUND.",
|
|
294
294
|
undo: "`curviate do-not-contact add` again.",
|
|
@@ -304,7 +304,7 @@ var removeCmd = defineCommand({
|
|
|
304
304
|
var exportCmd = defineCommand({
|
|
305
305
|
meta: {
|
|
306
306
|
name: "export",
|
|
307
|
-
description: "Download your Team's whole do-not-contact list as csv, json or ndjson (default): LinkedIn URL (empty once the
|
|
307
|
+
description: "Download your Team's whole do-not-contact list as csv, json or ndjson (default): LinkedIn URL (empty once the Lead was deleted), reason, who added it, when. The file imports as it is. The data goes to stdout or --output and nothing else does; the count goes to stderr. --output is written whole or not at all, with mode 0600. Owners and Managers only.",
|
|
308
308
|
risk: "read",
|
|
309
309
|
output: ["The data only. No --json: use --format json."],
|
|
310
310
|
errors: { INSUFFICIENT_ROLE: "exporting is for Owners and Managers." },
|
|
@@ -326,16 +326,16 @@ var exportCmd = defineCommand({
|
|
|
326
326
|
var importCmd = defineCommand({
|
|
327
327
|
meta: {
|
|
328
328
|
name: "import",
|
|
329
|
-
description: "Put the people of a CSV, JSON or NDJSON file on the list: a linkedin_url per row and an optional reason (a do-not-contact export works as it is). Each row works as `add`: someone who is not a
|
|
329
|
+
description: "Put the people of a CSV, JSON or NDJSON file on the list: a linkedin_url per row and an optional reason (a do-not-contact export works as it is). Each row works as `add`: someone who is not a Lead yet becomes one from stored data, and a person already listed is reported unchanged and keeps their reason. A bad URL or reason skips its row and the server says why. A file over 10,000 rows is sent in several requests. Any member may import. Needs Automate.",
|
|
330
330
|
risk: "write",
|
|
331
331
|
rules: {
|
|
332
|
-
changes: "The people join the list;
|
|
332
|
+
changes: "The people join the list; Campaigns skip them and writes toward them are refused. Nothing is sent to LinkedIn or to the people.",
|
|
333
333
|
visible_to: "Your Team.",
|
|
334
334
|
budget_rows: [],
|
|
335
335
|
retry: "Safe to repeat: a person already listed is reported unchanged. A run stopped part way: run it again.",
|
|
336
336
|
undo: "`curviate do-not-contact remove <id>` per person (Owners and Managers)."
|
|
337
337
|
},
|
|
338
|
-
errors: { TIER_REQUIRED: "your plan does not include Do-not-contact writes (Automate).",
|
|
338
|
+
errors: { TIER_REQUIRED: "your plan does not include Do-not-contact writes (Automate).", LEAD_LIMIT_REACHED: "the Team is at its Lead cap; rows that would add a Lead past it are skipped." },
|
|
339
339
|
output: ["One report: `total_rows`, summed `counts` (created, unchanged, skipped) and `skipped` rows with their number in the file, a reason and the field."],
|
|
340
340
|
seeAlso: ["curviate do-not-contact export", "curviate do-not-contact list"],
|
|
341
341
|
examples: ["curviate do-not-contact import --file do-not-contact.csv", "curviate do-not-contact import --file - --format ndjson"]
|
|
@@ -351,7 +351,7 @@ var doNotContactCommand = defineCommand({
|
|
|
351
351
|
meta: { name: "do-not-contact", description: DESCRIPTIONS["do-not-contact"] },
|
|
352
352
|
subCommands: { list: listCmd, get: getCmd, add: addCmd, update: updateCmd, remove: removeCmd, export: exportCmd, import: importCmd },
|
|
353
353
|
async run() {
|
|
354
|
-
const { showHelp } = await import("./examples-
|
|
354
|
+
const { showHelp } = await import("./examples-77WVMKZQ.js");
|
|
355
355
|
await showHelp(doNotContactCommand, ["curviate", "do-not-contact"]);
|
|
356
356
|
}
|
|
357
357
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-R7USRN52.js";
|
|
5
5
|
import "./chunk-QM57YDJE.js";
|
|
6
6
|
import {
|
|
7
7
|
createClient,
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
readConfigFile,
|
|
11
11
|
resolveEffectiveConfig,
|
|
12
12
|
withoutUserinfo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-S234PC5E.js";
|
|
14
14
|
import {
|
|
15
15
|
GLOBAL_FLAGS
|
|
16
16
|
} from "./chunk-QLKGOIWS.js";
|
|
17
17
|
import {
|
|
18
18
|
DESCRIPTIONS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QBY6L77D.js";
|
|
20
20
|
import "./chunk-ZYURL5VK.js";
|
|
21
21
|
import {
|
|
22
22
|
getExitCode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RDKTHFQ6.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/doctor.ts
|
|
26
26
|
import { defineCommand } from "citty";
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
fail,
|
|
4
|
+
outputOpts,
|
|
5
|
+
rootClient,
|
|
6
|
+
usage
|
|
7
|
+
} from "./chunk-LGUZ52BU.js";
|
|
8
|
+
import {
|
|
9
|
+
buildPreviewOutput
|
|
10
|
+
} from "./chunk-TCUYH5GO.js";
|
|
11
|
+
import {
|
|
12
|
+
readableObject
|
|
13
|
+
} from "./chunk-R7USRN52.js";
|
|
14
|
+
import {
|
|
15
|
+
renderSuccess
|
|
16
|
+
} from "./chunk-QM57YDJE.js";
|
|
17
|
+
import "./chunk-S234PC5E.js";
|
|
18
|
+
import {
|
|
19
|
+
READ_SINGLE_FLAGS,
|
|
20
|
+
readOnly
|
|
21
|
+
} from "./chunk-QLKGOIWS.js";
|
|
22
|
+
import {
|
|
23
|
+
DESCRIPTIONS
|
|
24
|
+
} from "./chunk-QBY6L77D.js";
|
|
25
|
+
import "./chunk-ZYURL5VK.js";
|
|
26
|
+
|
|
27
|
+
// src/commands/domain.ts
|
|
28
|
+
import { defineCommand } from "citty";
|
|
29
|
+
var checkCmd = defineCommand({
|
|
30
|
+
meta: {
|
|
31
|
+
name: "check",
|
|
32
|
+
description: "A sending domain's checks as last run (daily): mx, spf, dkim, dmarc and tracking, each pass, fail or unknown (a failed lookup, or a DKIM selector not known yet, is never a fail), with the tracking record to add and any blocklists. --now runs them now: DNS lookups only, nothing is sent and no Mailbox is contacted. A check warns and never stops sending. A domain none of your Team's Mailboxes is on is DOMAIN_NOT_FOUND.",
|
|
33
|
+
risk: "read",
|
|
34
|
+
output: ["The domain with its checks. Without --now the answer is the last daily run; with --now, the run just made."],
|
|
35
|
+
errors: { DOMAIN_NOT_FOUND: "none of your Team's Mailboxes is on this domain (another Team's domain answers the same)." },
|
|
36
|
+
seeAlso: ["curviate mailbox list"],
|
|
37
|
+
examples: ["curviate domain check acme.example", "curviate domain check acme.example --now"]
|
|
38
|
+
},
|
|
39
|
+
args: {
|
|
40
|
+
...readOnly(READ_SINGLE_FLAGS),
|
|
41
|
+
domain: { type: "positional", description: "The domain, for example acme.example: the part of a Mailbox address after the @." },
|
|
42
|
+
now: { type: "boolean", description: "Run the checks now instead of reading the last daily run." }
|
|
43
|
+
},
|
|
44
|
+
async run({ args }) {
|
|
45
|
+
const f = args;
|
|
46
|
+
const domain = String(f.domain ?? "").trim();
|
|
47
|
+
if (domain === "") usage("name the domain, for example acme.example.");
|
|
48
|
+
if (f.preview) {
|
|
49
|
+
process.stdout.write(JSON.stringify(buildPreviewOutput({ method: "domains.check", args: { domain }, body: f.now ? { now: true } : {} })) + "\n");
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
const c = await rootClient(f);
|
|
53
|
+
try {
|
|
54
|
+
renderSuccess(readableObject(await c.domains.check(domain, { now: f.now === true })), outputOpts(f), process);
|
|
55
|
+
} catch (err) {
|
|
56
|
+
await fail(err, f);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
var domainCommand = defineCommand({
|
|
61
|
+
meta: { name: "domain", description: DESCRIPTIONS["domain"] },
|
|
62
|
+
subCommands: { check: checkCmd },
|
|
63
|
+
async run() {
|
|
64
|
+
const { showHelp } = await import("./examples-77WVMKZQ.js");
|
|
65
|
+
await showHelp(domainCommand, ["curviate", "domain"]);
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
export {
|
|
69
|
+
domainCommand
|
|
70
|
+
};
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-R7USRN52.js";
|
|
24
24
|
import {
|
|
25
25
|
renderError,
|
|
26
26
|
renderSuccess,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
createClient,
|
|
32
32
|
resolveEffectiveConfig
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-S234PC5E.js";
|
|
34
34
|
import {
|
|
35
35
|
GLOBAL_FLAGS,
|
|
36
36
|
READ_SINGLE_FLAGS,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-QLKGOIWS.js";
|
|
40
40
|
import {
|
|
41
41
|
DESCRIPTIONS
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-QBY6L77D.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveTextOrStdin
|
|
45
45
|
} from "./chunk-ZYURL5VK.js";
|
|
@@ -73,7 +73,7 @@ function rejectAllOnNonPaginated(all, out) {
|
|
|
73
73
|
async function handleError(err, outOpts, out) {
|
|
74
74
|
const { CurviateError } = await import("@curviate/sdk");
|
|
75
75
|
if (err instanceof CurviateError) {
|
|
76
|
-
const { getExitCode } = await import("./exit-codes-
|
|
76
|
+
const { getExitCode } = await import("./exit-codes-ZSOLAXQO.js");
|
|
77
77
|
renderError(err, outOpts, out);
|
|
78
78
|
process.exit(getExitCode(err));
|
|
79
79
|
}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
outputOpts,
|
|
6
6
|
rootClient,
|
|
7
7
|
usage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LGUZ52BU.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-R7USRN52.js";
|
|
24
24
|
import {
|
|
25
25
|
renderSuccess,
|
|
26
26
|
writeNdjsonItem
|
|
27
27
|
} from "./chunk-QM57YDJE.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-S234PC5E.js";
|
|
29
29
|
import {
|
|
30
30
|
GLOBAL_FLAGS,
|
|
31
31
|
READ_SINGLE_FLAGS,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./chunk-QLKGOIWS.js";
|
|
35
35
|
import {
|
|
36
36
|
DESCRIPTIONS
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QBY6L77D.js";
|
|
38
38
|
import "./chunk-ZYURL5VK.js";
|
|
39
39
|
|
|
40
40
|
// src/commands/enrollment.ts
|
|
@@ -53,8 +53,8 @@ function filters(f) {
|
|
|
53
53
|
if (typeof v !== "string" || v.trim() === "") usage(`--${String(flag)} was given an empty value.`);
|
|
54
54
|
q[key] = v;
|
|
55
55
|
};
|
|
56
|
-
one("
|
|
57
|
-
one("
|
|
56
|
+
one("campaign", "campaign_id");
|
|
57
|
+
one("lead", "lead_id");
|
|
58
58
|
one("done-step", "done_step");
|
|
59
59
|
one("outcome", "outcome");
|
|
60
60
|
one("variant", "variant_id");
|
|
@@ -182,8 +182,8 @@ async function runBulk(c, f) {
|
|
|
182
182
|
if (!ACTIONS.includes(action)) usage(`--action takes one of ${ACTIONS.join(", ")}.`);
|
|
183
183
|
const ids = listFlag("id", f.id);
|
|
184
184
|
const filter = filters(f);
|
|
185
|
-
if (ids.length > 0 === (f.
|
|
186
|
-
if (ids.length && Object.keys(filter).length) usage("the list filters apply with --
|
|
185
|
+
if (ids.length > 0 === (f.campaign !== void 0)) usage("name the Enrollments either with --id (repeatable, or a comma list) or with --campaign and its filters, not both.");
|
|
186
|
+
if (ids.length && Object.keys(filter).length) usage("the list filters apply with --campaign, not with --id.");
|
|
187
187
|
const body = { action, ...ids.length ? { ids } : { filter } };
|
|
188
188
|
if (f.at !== void 0) body["at"] = f.at;
|
|
189
189
|
if (f.name !== void 0) body["name"] = f.name;
|
|
@@ -206,7 +206,7 @@ async function runBulk(c, f) {
|
|
|
206
206
|
}
|
|
207
207
|
const firstError = results.find((r) => r.outcome !== "ok");
|
|
208
208
|
if (firstError) {
|
|
209
|
-
const { getExitCode } = await import("./exit-codes-
|
|
209
|
+
const { getExitCode } = await import("./exit-codes-ZSOLAXQO.js");
|
|
210
210
|
process.stderr.write(`error: ${results.filter((r) => r.outcome !== "ok").length} of ${results.length} Enrollments were refused; each refusal is listed.
|
|
211
211
|
`);
|
|
212
212
|
process.exit(getExitCode(firstError.error?.code ?? "INTERNAL"));
|
|
@@ -222,8 +222,8 @@ var NOT_ACTIVE = { ENROLLMENT_NOT_ACTIVE: "the Enrollment's status does not take
|
|
|
222
222
|
var IN_FLIGHT = { STEP_IN_FLIGHT: "a Step of the Enrollment is being sent right now; read it again in a minute, then retry." };
|
|
223
223
|
var SEE = ["curviate enrollment get", "curviate enrollment list"];
|
|
224
224
|
var FILTER_ARGS = {
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
campaign: { type: "string", description: "Only this Campaign's Enrollments (mot_...)." },
|
|
226
|
+
lead: { type: "string", description: "Only this Lead's Enrollments (con_...)." },
|
|
227
227
|
status: { type: "string", description: "Comma list of pending, active, paused, finished, skipped." },
|
|
228
228
|
step: { type: "string", description: "Only Enrollments now at one of these Step ids: repeatable or a comma list." },
|
|
229
229
|
version: { type: "string", description: "Only Enrollments running this Sequence version (1 or more)." },
|
|
@@ -231,18 +231,18 @@ var FILTER_ARGS = {
|
|
|
231
231
|
outcome: { type: "string", description: "With --done-step: executed, skipped, failed, accepted, not_accepted, replied, no_reply or seen." },
|
|
232
232
|
reason: { type: "string", description: "Comma list of reason codes (skip, finish or Step reasons; narrowed to --done-step when given)." },
|
|
233
233
|
variant: { type: "string", description: "Only Enrollments given this variant id." },
|
|
234
|
-
relationship: { type: "string", description: "Comma list of connected, not_connected, invite_pending, unknown: the
|
|
234
|
+
relationship: { type: "string", description: "Comma list of connected, not_connected, invite_pending, unknown: the Lead's relationship to the Account when it started." }
|
|
235
235
|
};
|
|
236
236
|
var listCmd = defineCommand({
|
|
237
237
|
meta: {
|
|
238
238
|
name: "list",
|
|
239
|
-
description: "List Enrollments, newest first, filtered by
|
|
239
|
+
description: "List Enrollments, newest first, filtered by Campaign, Lead, status, current Step, or how a Step ended. Each counts once per Lead, Campaign and Account. A pending Enrollment waiting in its Campaign's pool has no account_id (null) until an Account takes it; --accounts leaves such Enrollments out.",
|
|
240
240
|
risk: "read",
|
|
241
241
|
output: ["Each reason code comes with its sentence beside it (`skip_reason` and `skip_message`, `finish_reason` and `finish_message`)."],
|
|
242
242
|
examples: [
|
|
243
|
-
"curviate enrollment list --
|
|
244
|
-
"curviate enrollment list --
|
|
245
|
-
"curviate enrollment list --
|
|
243
|
+
"curviate enrollment list --campaign mot_YOUR_CAMPAIGN_ID",
|
|
244
|
+
"curviate enrollment list --campaign mot_YOUR_CAMPAIGN_ID --done-step opener --outcome failed",
|
|
245
|
+
"curviate enrollment list --campaign mot_YOUR_CAMPAIGN_ID --reason already_connected,known_chat --relationship connected"
|
|
246
246
|
]
|
|
247
247
|
},
|
|
248
248
|
args: {
|
|
@@ -274,7 +274,7 @@ var pauseCmd = defineCommand({
|
|
|
274
274
|
retry: "A second pause answers ENROLLMENT_NOT_ACTIVE; nothing changes.",
|
|
275
275
|
undo: "`curviate enrollment resume <enrollment_id>`."
|
|
276
276
|
},
|
|
277
|
-
errors: { ...NOT_ACTIVE, ...IN_FLIGHT,
|
|
277
|
+
errors: { ...NOT_ACTIVE, ...IN_FLIGHT, CAMPAIGN_STATUS_CONFLICT: "the Campaign is archived or past its end.", ...ROLE },
|
|
278
278
|
examples: ["curviate enrollment pause enr_YOUR_ENROLLMENT_ID"]
|
|
279
279
|
},
|
|
280
280
|
args: { ...WRITE_SINGLE_FLAGS, id: ID },
|
|
@@ -287,13 +287,13 @@ var resumeCmd = defineCommand({
|
|
|
287
287
|
risk: "high",
|
|
288
288
|
rules: {
|
|
289
289
|
changes: "The Enrollment runs again from its Account; with --at, from the named Step.",
|
|
290
|
-
visible_to: "The
|
|
290
|
+
visible_to: "The Lead, once its next Step reaches LinkedIn.",
|
|
291
291
|
budget_rows: [],
|
|
292
292
|
retry: "With --at, every call jumps again and may send again: read `curviate enrollment get <enrollment_id>` first.",
|
|
293
293
|
undo: "`curviate enrollment pause <enrollment_id>`; what was sent stays sent.",
|
|
294
|
-
blast_radius: "One Enrollment: one
|
|
294
|
+
blast_radius: "One Enrollment: one Lead, from one Account."
|
|
295
295
|
},
|
|
296
|
-
errors: { ...NOT_ACTIVE, ...IN_FLIGHT,
|
|
296
|
+
errors: { ...NOT_ACTIVE, ...IN_FLIGHT, CAMPAIGN_STATUS_CONFLICT: "the Campaign is archived or past its end.", ...ROLE },
|
|
297
297
|
seeAlso: ["curviate enrollment retry", "curviate enrollment get"],
|
|
298
298
|
examples: ["curviate enrollment resume enr_YOUR_ENROLLMENT_ID", "curviate enrollment resume enr_YOUR_ENROLLMENT_ID --at bump"]
|
|
299
299
|
},
|
|
@@ -311,7 +311,7 @@ var retryCmd = defineCommand({
|
|
|
311
311
|
risk: "high",
|
|
312
312
|
rules: {
|
|
313
313
|
changes: "Resumes the Enrollment at its failed Step, which runs again when its Account may send.",
|
|
314
|
-
visible_to: "The
|
|
314
|
+
visible_to: "The Lead, if the Step reaches LinkedIn.",
|
|
315
315
|
budget_rows: [],
|
|
316
316
|
retry: "Safe: with nothing failed it answers NOTHING_TO_RETRY and sends nothing.",
|
|
317
317
|
undo: "`curviate enrollment pause <enrollment_id>` before the Step runs; what was sent stays sent.",
|
|
@@ -321,7 +321,7 @@ var retryCmd = defineCommand({
|
|
|
321
321
|
NOTHING_TO_RETRY: "nothing to retry: the Enrollment's latest Step outcome is not failed.",
|
|
322
322
|
...IN_FLIGHT,
|
|
323
323
|
...NOT_ACTIVE,
|
|
324
|
-
|
|
324
|
+
CAMPAIGN_STATUS_CONFLICT: "the Campaign is archived or past its end.",
|
|
325
325
|
...ROLE
|
|
326
326
|
},
|
|
327
327
|
output: ["The re-run's record, {step_id, outcome, reason, message}. Exit 7 when the wait runs out first: the Step is resumed; read it later."],
|
|
@@ -364,7 +364,7 @@ var eventMeta = (name, description, example) => ({
|
|
|
364
364
|
risk: "write",
|
|
365
365
|
rules: {
|
|
366
366
|
changes: "Records the event; a Step waiting for it continues. Fires no webhook.",
|
|
367
|
-
visible_to: "Your Team; the
|
|
367
|
+
visible_to: "Your Team; the Lead once the next Step runs.",
|
|
368
368
|
budget_rows: [],
|
|
369
369
|
retry: "A second event is recorded again; a Step already past the wait ignores it.",
|
|
370
370
|
undo: "Cannot be undone; pause or stop the Enrollment to keep its next Step from running."
|
|
@@ -375,7 +375,7 @@ var eventMeta = (name, description, example) => ({
|
|
|
375
375
|
var eventCmd = defineCommand({
|
|
376
376
|
meta: eventMeta(
|
|
377
377
|
"event",
|
|
378
|
-
"Send a custom event to an active or paused Enrollment whose Sequence waits for it, for example once your agent wrote the researched text to the
|
|
378
|
+
"Send a custom event to an active or paused Enrollment whose Sequence waits for it, for example once your agent wrote the researched text to the Lead's custom fields. Input only: fires no webhook. Needs Automate.",
|
|
379
379
|
"curviate enrollment event enr_YOUR_ENROLLMENT_ID research_ready"
|
|
380
380
|
),
|
|
381
381
|
args: EVENT_ARGS,
|
|
@@ -396,62 +396,62 @@ var signalCmd = defineCommand({
|
|
|
396
396
|
var reassignCmd = defineCommand({
|
|
397
397
|
meta: {
|
|
398
398
|
name: "reassign",
|
|
399
|
-
description: "Move an Enrollment to another sending Account of its
|
|
399
|
+
description: "Move an Enrollment to another sending Account of its Campaign; it restarts there at the first Step of its version (one you paused stays paused). Refused, nothing changed, when its Account already engaged the person, the target already holds them, or the target has a chat with them. Needs Automate.",
|
|
400
400
|
risk: "high",
|
|
401
401
|
rules: {
|
|
402
402
|
changes: "The Enrollment restarts on the target Account; Steps already skipped are named in warnings.",
|
|
403
|
-
visible_to: "The
|
|
403
|
+
visible_to: "The Lead, once the target Account's first Step reaches LinkedIn.",
|
|
404
404
|
budget_rows: [],
|
|
405
405
|
retry: "A second call to the same Account answers ALREADY_ENROLLED_ON_ACCOUNT.",
|
|
406
406
|
undo: "Reassign it back while the target has not engaged the person yet.",
|
|
407
|
-
blast_radius: "One Enrollment: one
|
|
407
|
+
blast_radius: "One Enrollment: one Lead, from one Account."
|
|
408
408
|
},
|
|
409
409
|
errors: {
|
|
410
|
-
ACCOUNT_NOT_FOUND: "the target is not a sending Account of the
|
|
410
|
+
ACCOUNT_NOT_FOUND: "the target is not a sending Account of the Campaign.",
|
|
411
411
|
...NOT_ACTIVE,
|
|
412
412
|
...IN_FLIGHT,
|
|
413
413
|
ACCOUNT_ALREADY_ENGAGED: "its current Account already did something the person can see.",
|
|
414
|
-
ALREADY_ENROLLED_ON_ACCOUNT: "the target already holds this
|
|
414
|
+
ALREADY_ENROLLED_ON_ACCOUNT: "the target already holds this Lead in the Campaign, or is the current Account.",
|
|
415
415
|
KNOWN_CHAT: "the target already has a chat with the person.",
|
|
416
416
|
...ROLE
|
|
417
417
|
},
|
|
418
|
-
seeAlso: ["curviate enrollment get", "curviate
|
|
418
|
+
seeAlso: ["curviate enrollment get", "curviate campaign get"],
|
|
419
419
|
examples: ["curviate enrollment reassign enr_YOUR_ENROLLMENT_ID --account acc_YOUR_ACCOUNT_ID"]
|
|
420
420
|
},
|
|
421
421
|
args: {
|
|
422
422
|
...WRITE_SINGLE_FLAGS,
|
|
423
423
|
id: ID,
|
|
424
|
-
account: { type: "string", required: true, description: "The target sending Account of the
|
|
424
|
+
account: { type: "string", required: true, description: "The target sending Account of the Campaign (acc_...). Never defaulted." }
|
|
425
425
|
},
|
|
426
426
|
run: online(single("reassign", (f) => ({ account_id: required("account", f.account, "the target Account (acc_...)") })))
|
|
427
427
|
});
|
|
428
428
|
var bulkCmd = defineCommand({
|
|
429
429
|
meta: {
|
|
430
430
|
name: "bulk",
|
|
431
|
-
description: "Pause, resume, stop, retry, send an event to or reassign many Enrollments in one call, named with --id or matched by --
|
|
431
|
+
description: "Pause, resume, stop, retry, send an event to or reassign many Enrollments in one call, named with --id or matched by --campaign and the list filters. Each is decided alone, as its own command would be; not atomic. Up to 1000 items: ids, or Enrollments the filters match. List with the same filters first to see the matches.",
|
|
432
432
|
risk: "high",
|
|
433
433
|
rules: {
|
|
434
434
|
changes: "Each Enrollment gets the action as its single command would.",
|
|
435
|
-
visible_to: "The
|
|
435
|
+
visible_to: "The Leads whose next Step reaches LinkedIn.",
|
|
436
436
|
budget_rows: [],
|
|
437
437
|
retry: "A retried call is a new call: each Enrollment answers again on its own (a second stop is ENROLLMENT_NOT_ACTIVE for it).",
|
|
438
438
|
undo: "Per Enrollment, as its single command says; what was sent stays sent.",
|
|
439
|
-
blast_radius: "Up to 1000 items (Enrollments), every
|
|
439
|
+
blast_radius: "Up to 1000 items (Enrollments), every Lead and Account they cover."
|
|
440
440
|
},
|
|
441
441
|
errors: { ...NOT_ACTIVE, NOTHING_TO_RETRY: "retry, per Enrollment: nothing failed.", ...IN_FLIGHT, ...ROLE },
|
|
442
442
|
output: ["One line per Enrollment, `<enrollment_id> ok` or `<enrollment_id> error <code>: <message>`; with --json (or piped) the API's answer. Exit 0 when every one is ok, else the first refusal's exit."],
|
|
443
443
|
seeAlso: SEE,
|
|
444
444
|
examples: [
|
|
445
445
|
"curviate enrollment bulk --action stop --id enr_A,enr_B",
|
|
446
|
-
"curviate enrollment bulk --action retry --
|
|
446
|
+
"curviate enrollment bulk --action retry --campaign mot_YOUR_CAMPAIGN_ID --done-step opener --outcome failed"
|
|
447
447
|
]
|
|
448
448
|
},
|
|
449
449
|
args: {
|
|
450
450
|
...WRITE_SINGLE_FLAGS,
|
|
451
451
|
action: { type: "string", required: true, description: `One of ${ACTIONS.join(", ")}.` },
|
|
452
|
-
id: { type: "string", description: "An Enrollment id (enr_...); repeatable, or a comma list. Not with --
|
|
452
|
+
id: { type: "string", description: "An Enrollment id (enr_...); repeatable, or a comma list. Not with --campaign." },
|
|
453
453
|
...FILTER_ARGS,
|
|
454
|
-
|
|
454
|
+
campaign: { type: "string", description: "Act on this Campaign's Enrollments (mot_...) that the other filters match. Not with --id." },
|
|
455
455
|
at: { type: "string", description: "With --action resume: jump to this Step id (not guarded, see `curviate enrollment resume`)." },
|
|
456
456
|
name: { type: "string", description: "With --action event: the event name." },
|
|
457
457
|
account: { type: "string", description: "With --action reassign: the target sending Account (acc_...). Never defaulted." }
|
|
@@ -473,7 +473,7 @@ var enrollmentCommand = defineCommand({
|
|
|
473
473
|
bulk: bulkCmd
|
|
474
474
|
},
|
|
475
475
|
async run() {
|
|
476
|
-
const { showHelp } = await import("./examples-
|
|
476
|
+
const { showHelp } = await import("./examples-77WVMKZQ.js");
|
|
477
477
|
await showHelp(enrollmentCommand, ["curviate", "enrollment"]);
|
|
478
478
|
}
|
|
479
479
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
EXIT_CODE_MAP
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RDKTHFQ6.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/examples.ts
|
|
7
7
|
import { renderUsage } from "citty";
|
|
@@ -22,7 +22,7 @@ function renderRules(rules) {
|
|
|
22
22
|
}
|
|
23
23
|
async function renderSections(cmd) {
|
|
24
24
|
const meta = typeof cmd.meta === "function" ? await cmd.meta() : await cmd.meta;
|
|
25
|
-
const { renderDocument } = meta?.document ? await import("./document-
|
|
25
|
+
const { renderDocument } = meta?.document ? await import("./document-ADK4GZA7.js") : { renderDocument: () => [] };
|
|
26
26
|
const body = {
|
|
27
27
|
DOCUMENT: meta?.document ? renderDocument(meta.document) : void 0,
|
|
28
28
|
RULES: renderRules(meta?.rules),
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
outputOpts,
|
|
8
8
|
rootClient,
|
|
9
9
|
usage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LGUZ52BU.js";
|
|
11
11
|
import {
|
|
12
12
|
renderSuccess
|
|
13
13
|
} from "./chunk-QM57YDJE.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadBinary
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S234PC5E.js";
|
|
17
17
|
import {
|
|
18
18
|
GLOBAL_FLAGS,
|
|
19
19
|
READ_SINGLE_FLAGS,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-QLKGOIWS.js";
|
|
22
22
|
import {
|
|
23
23
|
DESCRIPTIONS
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QBY6L77D.js";
|
|
25
25
|
import "./chunk-ZYURL5VK.js";
|
|
26
26
|
|
|
27
27
|
// src/commands/export.ts
|
|
@@ -29,7 +29,7 @@ import { defineCommand } from "citty";
|
|
|
29
29
|
var ERRORS = {
|
|
30
30
|
EXPORT_NOT_READY: "the export is queued, running or failed: read its status with `curviate export get <export_id>`.",
|
|
31
31
|
EXPORT_EXPIRED: "the file has expired: run the export again.",
|
|
32
|
-
EXPORT_REMOVED: "the export was removed because a
|
|
32
|
+
EXPORT_REMOVED: "the export was removed because a Lead was deleted: run it again."
|
|
33
33
|
};
|
|
34
34
|
async function runGet(c, f) {
|
|
35
35
|
try {
|
|
@@ -87,7 +87,7 @@ var exportCommand = defineCommand({
|
|
|
87
87
|
meta: { name: "export", description: DESCRIPTIONS.export },
|
|
88
88
|
subCommands: { get: getCmd, download: downloadCmd },
|
|
89
89
|
async run() {
|
|
90
|
-
const { showHelp } = await import("./examples-
|
|
90
|
+
const { showHelp } = await import("./examples-77WVMKZQ.js");
|
|
91
91
|
await showHelp(exportCommand, ["curviate", "export"]);
|
|
92
92
|
}
|
|
93
93
|
});
|