@curviate/cli 0.47.0 → 0.49.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 +231 -1
- package/README.md +136 -88
- package/dist/{account-RFJ63QYL.js → account-2BH2Q6VG.js} +41 -31
- package/dist/chunk-3RCW7URJ.js +41 -0
- package/dist/{chunk-UJOTQPL6.js → chunk-5ZGTU4VD.js} +47 -14
- package/dist/chunk-D2S5OCYU.js +38 -0
- package/dist/{chunk-HOQ7EUHJ.js → chunk-FDJMAF7D.js} +1 -0
- package/dist/{chunk-ERBYEC5P.js → chunk-JYKYD57J.js} +1 -1
- package/dist/chunk-MGB6FE4A.js +58 -0
- package/dist/chunk-NNV2OYEF.js +23 -0
- package/dist/{chunk-76SWLAZ6.js → chunk-RXWODUWA.js} +43 -1
- package/dist/{chunk-V3MVOVQT.js → chunk-SA2QHAXG.js} +8 -1
- package/dist/chunk-TEAWYLPO.js +1493 -0
- package/dist/{chunk-PD2I5TYC.js → chunk-V7FJWTZW.js} +3 -3
- package/dist/{chunk-TC4ZPUWI.js → chunk-Y7MZZRYR.js} +21 -80
- package/dist/{chunk-FXYK2GTO.js → chunk-Z7OQSWBD.js} +38 -33
- package/dist/chunk-ZYURL5VK.js +83 -0
- package/dist/cli.js +79 -98
- package/dist/{comment-MCXE7B7V.js → comment-MRDPDA33.js} +29 -24
- package/dist/{company-EUUN372H.js → company-2AEHSGHA.js} +57 -52
- package/dist/{config-K4G3VSBA.js → config-NRBKHXES.js} +13 -5
- package/dist/{connect-2AL7XVJO.js → connect-4XEBV5V3.js} +42 -38
- package/dist/core-RGU2SCBN.js +46 -0
- package/dist/{doctor-WPYI7X2T.js → doctor-BZ4DA7DV.js} +9 -5
- package/dist/document-RKHRWXNT.js +27 -0
- package/dist/{draft-G65DVXT7.js → draft-C5N6EOO5.js} +27 -22
- package/dist/enrollment-BNQOUKI7.js +472 -0
- package/dist/examples-NIMSIXMV.js +53 -0
- package/dist/{exit-codes-AW6KHDDN.js → exit-codes-TLMKTLRI.js} +1 -1
- package/dist/{feed-HV24WME4.js → feed-DFUU7SUJ.js} +15 -11
- package/dist/{group-HADXNVJW.js → group-CSD2OWOZ.js} +17 -13
- package/dist/{inbox-G3EE54OB.js → inbox-SNSPWI7J.js} +23 -19
- package/dist/{inboxes-237XOBTP.js → inboxes-RIRHPS4H.js} +18 -14
- package/dist/{job-LIN6RWD7.js → job-6PNXXZNF.js} +31 -27
- package/dist/{login-OHAHNBRW.js → login-Y7JBAHCW.js} +10 -5
- package/dist/{message-U2O2JQSW.js → message-2IK4MBBG.js} +10 -8
- package/dist/motion-7ATUXO6R.js +946 -0
- package/dist/{notification-3VG32LWM.js → notification-VYK5NDEB.js} +19 -15
- package/dist/{post-ECDK2KJL.js → post-AN6T2OJF.js} +35 -30
- package/dist/{profile-JOHS6SDW.js → profile-UQY64642.js} +46 -42
- package/dist/{recruiter-7VXEIXN3.js → recruiter-OY4RN5HH.js} +122 -119
- package/dist/{sales-nav-K4BMBH7R.js → sales-nav-KLODLYMW.js} +36 -30
- package/dist/{search-C2UYO6PI.js → search-NWP5S6CF.js} +68 -58
- package/dist/{setup-GYEZFDEN.js → setup-YPPFLH2N.js} +14 -9
- package/dist/{webhook-KCOQOH7D.js → webhook-OHKBL3YS.js} +51 -55
- package/package.json +2 -2
- package/dist/chunk-KJ24DIAJ.js +0 -60
- package/dist/examples-IJL3A6SZ.js +0 -18
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
DEFAULT_FILTER_READERS,
|
|
4
4
|
assembleFilters,
|
|
5
5
|
splitCsv
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3RCW7URJ.js";
|
|
7
7
|
import {
|
|
8
8
|
AttachError,
|
|
9
9
|
readAttachment,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-UEAX6KUB.js";
|
|
15
15
|
import {
|
|
16
16
|
requireAccount
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-V7FJWTZW.js";
|
|
18
18
|
import {
|
|
19
19
|
buildPreviewOutput
|
|
20
20
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,17 +31,23 @@ import {
|
|
|
31
31
|
resolveEffectiveConfig,
|
|
32
32
|
streamAll,
|
|
33
33
|
writeNdjsonItem
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-SA2QHAXG.js";
|
|
35
|
+
import "./chunk-RXWODUWA.js";
|
|
36
36
|
import {
|
|
37
37
|
createClient
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5ZGTU4VD.js";
|
|
39
39
|
import {
|
|
40
40
|
GLOBAL_FLAGS,
|
|
41
41
|
READ_SINGLE_FLAGS,
|
|
42
42
|
WRITE_FLAGS,
|
|
43
43
|
readOnly
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-Y7MZZRYR.js";
|
|
45
|
+
import {
|
|
46
|
+
DESCRIPTIONS
|
|
47
|
+
} from "./chunk-D2S5OCYU.js";
|
|
48
|
+
import "./chunk-TEAWYLPO.js";
|
|
49
|
+
import "./chunk-FDJMAF7D.js";
|
|
50
|
+
import "./chunk-ZYURL5VK.js";
|
|
45
51
|
|
|
46
52
|
// src/commands/sales-nav.ts
|
|
47
53
|
import { defineCommand } from "citty";
|
|
@@ -65,7 +71,7 @@ function normalizeAttachPaths(attach) {
|
|
|
65
71
|
async function handleSdkError(err, outOpts, out) {
|
|
66
72
|
const { CurviateError } = await import("@curviate/sdk");
|
|
67
73
|
if (err instanceof CurviateError) {
|
|
68
|
-
const { getExitCode } = await import("./exit-codes-
|
|
74
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
69
75
|
renderError(err, outOpts, out);
|
|
70
76
|
process.exit(getExitCode(err));
|
|
71
77
|
}
|
|
@@ -507,7 +513,7 @@ var salesNavMessageNewCommand = defineCommand({
|
|
|
507
513
|
name: "new",
|
|
508
514
|
description: "Start a new Sales Navigator chat.",
|
|
509
515
|
examples: [
|
|
510
|
-
`curviate sales-nav message new --to ACwAAA1234567 --subject "Quick question" "Hi Jane, a quick question about your team's tooling."`
|
|
516
|
+
`curviate core sales-nav message new --to ACwAAA1234567 --subject "Quick question" "Hi Jane, a quick question about your team's tooling."`
|
|
511
517
|
]
|
|
512
518
|
},
|
|
513
519
|
args: {
|
|
@@ -549,7 +555,7 @@ var salesNavMessageCommand = defineCommand({
|
|
|
549
555
|
new: salesNavMessageNewCommand
|
|
550
556
|
},
|
|
551
557
|
async run() {
|
|
552
|
-
process.stderr.write('Usage: curviate sales-nav message new --to <id> "<text>" [--attach <file>...]\n');
|
|
558
|
+
process.stderr.write('Usage: curviate core sales-nav message new --to <id> "<text>" [--attach <file>...]\n');
|
|
553
559
|
}
|
|
554
560
|
});
|
|
555
561
|
var salesNavSearchPeopleCommand = defineCommand({
|
|
@@ -557,15 +563,15 @@ var salesNavSearchPeopleCommand = defineCommand({
|
|
|
557
563
|
name: "people",
|
|
558
564
|
description: "Search Sales Navigator member profiles.",
|
|
559
565
|
examples: [
|
|
560
|
-
'curviate sales-nav search people --keywords "head of data"',
|
|
561
|
-
"curviate sales-nav search people --filters-file filters.json"
|
|
566
|
+
'curviate core sales-nav search people --keywords "head of data"',
|
|
567
|
+
"curviate core sales-nav search people --filters-file filters.json"
|
|
562
568
|
]
|
|
563
569
|
},
|
|
564
570
|
args: {
|
|
565
571
|
...readOnly(GLOBAL_FLAGS),
|
|
566
572
|
keywords: { type: "string", description: "Keyword search string." },
|
|
567
573
|
filters: { type: "string", stdinArg: true, description: "Filter body as a JSON object (escape hatch for the full filter surface); '-' reads JSON from stdin." },
|
|
568
|
-
"filters-file": { type: "string", description: "
|
|
574
|
+
"filters-file": { type: "string", stdinArg: true, description: "The filter body as a JSON file: a path, or - to read it from stdin." },
|
|
569
575
|
"first-name": { type: "string", description: "First name to match." },
|
|
570
576
|
"last-name": { type: "string", description: "Last name to match." },
|
|
571
577
|
groups: { type: "string", description: "Group ids (comma-separated)." },
|
|
@@ -594,14 +600,14 @@ var salesNavSearchCompaniesCommand = defineCommand({
|
|
|
594
600
|
name: "companies",
|
|
595
601
|
description: "Search Sales Navigator companies.",
|
|
596
602
|
examples: [
|
|
597
|
-
"curviate sales-nav search companies --keywords fintech"
|
|
603
|
+
"curviate core sales-nav search companies --keywords fintech"
|
|
598
604
|
]
|
|
599
605
|
},
|
|
600
606
|
args: {
|
|
601
607
|
...readOnly(GLOBAL_FLAGS),
|
|
602
608
|
keywords: { type: "string", description: "Keyword search string." },
|
|
603
609
|
filters: { type: "string", stdinArg: true, description: "Filter body as a JSON object (escape hatch for the full filter surface); '-' reads JSON from stdin." },
|
|
604
|
-
"filters-file": { type: "string", description: "
|
|
610
|
+
"filters-file": { type: "string", stdinArg: true, description: "The filter body as a JSON file: a path, or - to read it from stdin." }
|
|
605
611
|
},
|
|
606
612
|
async run({ args }) {
|
|
607
613
|
const flags = args;
|
|
@@ -626,7 +632,7 @@ var salesNavSearchParametersCommand = defineCommand({
|
|
|
626
632
|
name: "parameters",
|
|
627
633
|
description: "Resolve Sales Navigator filter parameter IDs. Paginated: --cursor pages manually, --all streams every page as NDJSON.",
|
|
628
634
|
examples: [
|
|
629
|
-
"curviate sales-nav search parameters --type REGION --keywords Berlin"
|
|
635
|
+
"curviate core sales-nav search parameters --type REGION --keywords Berlin"
|
|
630
636
|
]
|
|
631
637
|
},
|
|
632
638
|
args: {
|
|
@@ -661,7 +667,7 @@ var salesNavSearchCommand = defineCommand({
|
|
|
661
667
|
name: "search",
|
|
662
668
|
description: "Sales Navigator search operations. Also runs a pasted Sales Navigator search/list URL directly.",
|
|
663
669
|
examples: [
|
|
664
|
-
'curviate sales-nav search "https://www.linkedin.com/sales/search/people?query=(keywords%3Aai)"'
|
|
670
|
+
'curviate core sales-nav search "https://www.linkedin.com/sales/search/people?query=(keywords%3Aai)"'
|
|
665
671
|
]
|
|
666
672
|
},
|
|
667
673
|
args: {
|
|
@@ -681,7 +687,7 @@ var salesNavSearchCommand = defineCommand({
|
|
|
681
687
|
const flags = args;
|
|
682
688
|
if (!flags.url) {
|
|
683
689
|
process.stderr.write(
|
|
684
|
-
"Usage: curviate sales-nav search <url>\n curviate sales-nav search people [--keywords <k>]\n curviate sales-nav search companies [--keywords <k>]\n curviate sales-nav search parameters --type <t>\n"
|
|
690
|
+
"Usage: curviate core sales-nav search <url>\n curviate core sales-nav search people [--keywords <k>]\n curviate core sales-nav search companies [--keywords <k>]\n curviate core sales-nav search parameters --type <t>\n"
|
|
685
691
|
);
|
|
686
692
|
return;
|
|
687
693
|
}
|
|
@@ -706,7 +712,7 @@ var salesNavProfileCommand = defineCommand({
|
|
|
706
712
|
name: "profile",
|
|
707
713
|
description: "Get a Sales Navigator enriched member profile.",
|
|
708
714
|
examples: [
|
|
709
|
-
"curviate sales-nav profile https://www.linkedin.com/in/janesmith"
|
|
715
|
+
"curviate core sales-nav profile https://www.linkedin.com/in/janesmith"
|
|
710
716
|
]
|
|
711
717
|
},
|
|
712
718
|
args: {
|
|
@@ -737,7 +743,7 @@ var salesNavSaveLeadCommand = defineCommand({
|
|
|
737
743
|
name: "save-lead",
|
|
738
744
|
description: "Save a Sales Navigator member into a lead list.",
|
|
739
745
|
examples: [
|
|
740
|
-
"curviate sales-nav save-lead ACwAAA1234567 --list 987654"
|
|
746
|
+
"curviate core sales-nav save-lead ACwAAA1234567 --list 987654"
|
|
741
747
|
]
|
|
742
748
|
},
|
|
743
749
|
args: {
|
|
@@ -769,7 +775,7 @@ var salesNavAccountListsCommand = defineCommand({
|
|
|
769
775
|
name: "account-lists",
|
|
770
776
|
description: "List the saved-account (company) lists on the operator's Sales Navigator seat.",
|
|
771
777
|
examples: [
|
|
772
|
-
"curviate sales-nav account-lists"
|
|
778
|
+
"curviate core sales-nav account-lists"
|
|
773
779
|
]
|
|
774
780
|
},
|
|
775
781
|
args: { ...readOnly(GLOBAL_FLAGS) },
|
|
@@ -796,7 +802,7 @@ var salesNavLeadListsCommand = defineCommand({
|
|
|
796
802
|
name: "lead-lists",
|
|
797
803
|
description: "List the saved-lead (member) lists on the operator's Sales Navigator seat.",
|
|
798
804
|
examples: [
|
|
799
|
-
"curviate sales-nav lead-lists"
|
|
805
|
+
"curviate core sales-nav lead-lists"
|
|
800
806
|
]
|
|
801
807
|
},
|
|
802
808
|
args: { ...readOnly(GLOBAL_FLAGS) },
|
|
@@ -823,13 +829,13 @@ var salesNavBrowseAccountListCommand = defineCommand({
|
|
|
823
829
|
name: "browse-account-list",
|
|
824
830
|
description: "Browse the saved accounts (companies) in one account list.",
|
|
825
831
|
examples: [
|
|
826
|
-
"curviate sales-nav browse-account-list 987654",
|
|
827
|
-
"curviate sales-nav browse-account-list 987654 --sort-by DATE_ADDED --sort-order DESCENDING"
|
|
832
|
+
"curviate core sales-nav browse-account-list 987654",
|
|
833
|
+
"curviate core sales-nav browse-account-list 987654 --sort-by DATE_ADDED --sort-order DESCENDING"
|
|
828
834
|
]
|
|
829
835
|
},
|
|
830
836
|
args: {
|
|
831
837
|
...readOnly(GLOBAL_FLAGS),
|
|
832
|
-
listId: { type: "positional", description: "The account-list id (from `sales-nav account-lists`)." },
|
|
838
|
+
listId: { type: "positional", description: "The account-list id (from `curviate core sales-nav account-lists`)." },
|
|
833
839
|
filter: { type: "string", description: "Restrict to a saved-account subset: STARRED, GROWTH_ALERTS, or RISK_ALERTS." },
|
|
834
840
|
"sort-by": { type: "string", description: "Sort field: DATE_ADDED or NAME. Defaults to NAME." },
|
|
835
841
|
"sort-order": { type: "string", description: "Sort direction: ASCENDING or DESCENDING. Defaults to ASCENDING." }
|
|
@@ -857,13 +863,13 @@ var salesNavBrowseLeadListCommand = defineCommand({
|
|
|
857
863
|
name: "browse-lead-list",
|
|
858
864
|
description: "Browse the saved leads (members) in one lead list.",
|
|
859
865
|
examples: [
|
|
860
|
-
"curviate sales-nav browse-lead-list 987654",
|
|
861
|
-
"curviate sales-nav browse-lead-list 987654 --spotlight RECENT_POSITION_CHANGE"
|
|
866
|
+
"curviate core sales-nav browse-lead-list 987654",
|
|
867
|
+
"curviate core sales-nav browse-lead-list 987654 --spotlight RECENT_POSITION_CHANGE"
|
|
862
868
|
]
|
|
863
869
|
},
|
|
864
870
|
args: {
|
|
865
871
|
...readOnly(GLOBAL_FLAGS),
|
|
866
|
-
listId: { type: "positional", description: "The lead-list id (from `sales-nav lead-lists`)." },
|
|
872
|
+
listId: { type: "positional", description: "The lead-list id (from `curviate core sales-nav lead-lists`)." },
|
|
867
873
|
spotlight: { type: "string", description: "Restrict to a spotlighted lead subset: RECENT_POSITION_CHANGE, RECENTLY_POSTED_ON_LINKEDIN, FOLLOW_YOUR_COMPANY, or SHARE_EXPERIENCE." },
|
|
868
874
|
"sort-by": { type: "string", description: "Sort field: DATE_ADDED, ACCOUNT, NAME, or OUTREACH_ACTIVITY. Defaults to DATE_ADDED." },
|
|
869
875
|
"sort-order": { type: "string", description: "Sort direction: ASCENDING or DESCENDING. Defaults to DESCENDING." }
|
|
@@ -891,7 +897,7 @@ var salesNavSaveAccountCommand = defineCommand({
|
|
|
891
897
|
name: "save-account",
|
|
892
898
|
description: "Save a LinkedIn company into an account list.",
|
|
893
899
|
examples: [
|
|
894
|
-
"curviate sales-nav save-account 1234567 --list 987654"
|
|
900
|
+
"curviate core sales-nav save-account 1234567 --list 987654"
|
|
895
901
|
]
|
|
896
902
|
},
|
|
897
903
|
args: {
|
|
@@ -921,7 +927,7 @@ var salesNavSaveAccountCommand = defineCommand({
|
|
|
921
927
|
var salesNavCommand = defineCommand({
|
|
922
928
|
meta: {
|
|
923
929
|
name: "sales-nav",
|
|
924
|
-
description: "
|
|
930
|
+
description: DESCRIPTIONS["sales-nav"]
|
|
925
931
|
},
|
|
926
932
|
args: { ...GLOBAL_FLAGS },
|
|
927
933
|
subCommands: {
|
|
@@ -937,7 +943,7 @@ var salesNavCommand = defineCommand({
|
|
|
937
943
|
},
|
|
938
944
|
async run() {
|
|
939
945
|
process.stderr.write(
|
|
940
|
-
'Usage: curviate sales-nav search people [--keywords <k>]\n curviate sales-nav search companies [--keywords <k>]\n curviate sales-nav search parameters --type <t>\n curviate sales-nav search <url>\n curviate sales-nav message new --to <id> "<text>"\n curviate sales-nav profile <identifier>\n curviate sales-nav save-lead --list <id> <user_id>\n curviate sales-nav account-lists --account <id>\n curviate sales-nav lead-lists --account <id>\n curviate sales-nav browse-account-list <list_id> --account <id>\n curviate sales-nav browse-lead-list <list_id> --account <id>\n curviate sales-nav save-account --list <id> <company_id> --account <id>\n'
|
|
946
|
+
'Usage: curviate core sales-nav search people [--keywords <k>]\n curviate core sales-nav search companies [--keywords <k>]\n curviate core sales-nav search parameters --type <t>\n curviate core sales-nav search <url>\n curviate core sales-nav message new --to <id> "<text>"\n curviate core sales-nav profile <identifier>\n curviate core sales-nav save-lead --list <id> <user_id>\n curviate core sales-nav account-lists --account <id>\n curviate core sales-nav lead-lists --account <id>\n curviate core sales-nav browse-account-list <list_id> --account <id>\n curviate core sales-nav browse-lead-list <list_id> --account <id>\n curviate core sales-nav save-account --list <id> <company_id> --account <id>\n'
|
|
941
947
|
);
|
|
942
948
|
}
|
|
943
949
|
});
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
DEFAULT_FILTER_READERS,
|
|
4
4
|
assembleFilters,
|
|
5
|
-
splitCsv
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
splitCsv
|
|
6
|
+
} from "./chunk-3RCW7URJ.js";
|
|
7
|
+
import {
|
|
8
|
+
requireAccount
|
|
9
|
+
} from "./chunk-V7FJWTZW.js";
|
|
8
10
|
import {
|
|
9
11
|
slimSearchCompanies,
|
|
10
12
|
slimSearchCompaniesItem,
|
|
@@ -16,8 +18,9 @@ import {
|
|
|
16
18
|
slimSearchPostsItem
|
|
17
19
|
} from "./chunk-LCGXJGPB.js";
|
|
18
20
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
intFlag,
|
|
22
|
+
intListFlag
|
|
23
|
+
} from "./chunk-NNV2OYEF.js";
|
|
21
24
|
import {
|
|
22
25
|
pageDelayFromFlags,
|
|
23
26
|
readCursorFlag,
|
|
@@ -30,15 +33,21 @@ import {
|
|
|
30
33
|
resolveEffectiveConfig,
|
|
31
34
|
streamAll,
|
|
32
35
|
writeNdjsonItem
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-SA2QHAXG.js";
|
|
37
|
+
import "./chunk-RXWODUWA.js";
|
|
35
38
|
import {
|
|
36
39
|
createClient
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5ZGTU4VD.js";
|
|
38
41
|
import {
|
|
39
42
|
GLOBAL_FLAGS,
|
|
40
43
|
readOnly
|
|
41
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-Y7MZZRYR.js";
|
|
45
|
+
import {
|
|
46
|
+
DESCRIPTIONS
|
|
47
|
+
} from "./chunk-D2S5OCYU.js";
|
|
48
|
+
import "./chunk-TEAWYLPO.js";
|
|
49
|
+
import "./chunk-FDJMAF7D.js";
|
|
50
|
+
import "./chunk-ZYURL5VK.js";
|
|
42
51
|
|
|
43
52
|
// src/commands/search.ts
|
|
44
53
|
import { defineCommand } from "citty";
|
|
@@ -60,7 +69,8 @@ var FILTER_FLAGS = {
|
|
|
60
69
|
},
|
|
61
70
|
"filters-file": {
|
|
62
71
|
type: "string",
|
|
63
|
-
|
|
72
|
+
stdinArg: true,
|
|
73
|
+
description: "The filter body as a JSON file: a path, or - to read it from stdin (named flags win on conflict)."
|
|
64
74
|
}
|
|
65
75
|
};
|
|
66
76
|
function buildOutputStreams() {
|
|
@@ -94,7 +104,7 @@ var NAMED_FLAG_MAPPERS = {
|
|
|
94
104
|
if (flags.company) body["current_company"] = splitCsv(flags.company);
|
|
95
105
|
if (flags["past-company"]) body["past_company"] = splitCsv(flags["past-company"]);
|
|
96
106
|
if (flags.school) body["school"] = splitCsv(flags.school);
|
|
97
|
-
if (flags["network-distance"]) body["network_distance"] =
|
|
107
|
+
if (flags["network-distance"] !== void 0) body["network_distance"] = intListFlag("network-distance", flags["network-distance"], 1, 3);
|
|
98
108
|
if (flags["connections-of"]) body["connections_of"] = splitCsv(flags["connections-of"]);
|
|
99
109
|
if (flags["followers-of"]) body["followers_of"] = splitCsv(flags["followers-of"]);
|
|
100
110
|
if (flags.title) {
|
|
@@ -140,8 +150,8 @@ var NAMED_FLAG_MAPPERS = {
|
|
|
140
150
|
if (flags["job-type"]) body["job_type"] = splitCsv(flags["job-type"]);
|
|
141
151
|
if (flags.company) body["company"] = splitCsv(flags.company);
|
|
142
152
|
if (flags["sort-by"]) body["sort_by"] = flags["sort-by"];
|
|
143
|
-
if (flags["date-posted"] !== void 0
|
|
144
|
-
body["date_posted"] =
|
|
153
|
+
if (flags["date-posted"] !== void 0) {
|
|
154
|
+
body["date_posted"] = intFlag("date-posted", flags["date-posted"]);
|
|
145
155
|
}
|
|
146
156
|
if (flags.region) body["region"] = flags.region;
|
|
147
157
|
if (flags.title) body["role"] = splitCsv(flags.title);
|
|
@@ -176,7 +186,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
|
|
|
176
186
|
for (const f of PEOPLE_INVALID_FLAGS) {
|
|
177
187
|
if (flags[f]) {
|
|
178
188
|
out.stderr.write(
|
|
179
|
-
`error: --${f} is not valid for \`search people\` (classic LinkedIn search). Use \`search jobs\` or \`sales-nav search people\` for this filter.
|
|
189
|
+
`error: --${f} is not valid for \`curviate core search people\` (classic LinkedIn search). Use \`curviate core search jobs\` or \`curviate core sales-nav search people\` for this filter.
|
|
180
190
|
`
|
|
181
191
|
);
|
|
182
192
|
process.exit(2);
|
|
@@ -214,7 +224,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
|
|
|
214
224
|
} catch (err) {
|
|
215
225
|
const { CurviateError } = await import("@curviate/sdk");
|
|
216
226
|
if (err instanceof CurviateError) {
|
|
217
|
-
const { getExitCode } = await import("./exit-codes-
|
|
227
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
218
228
|
renderError(err, outOpts, out);
|
|
219
229
|
process.exit(getExitCode(err));
|
|
220
230
|
}
|
|
@@ -256,7 +266,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
|
|
|
256
266
|
} catch (err) {
|
|
257
267
|
const { CurviateError } = await import("@curviate/sdk");
|
|
258
268
|
if (err instanceof CurviateError) {
|
|
259
|
-
const { getExitCode } = await import("./exit-codes-
|
|
269
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
260
270
|
renderError(err, outOpts, out);
|
|
261
271
|
process.exit(getExitCode(err));
|
|
262
272
|
}
|
|
@@ -298,7 +308,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
|
|
|
298
308
|
} catch (err) {
|
|
299
309
|
const { CurviateError } = await import("@curviate/sdk");
|
|
300
310
|
if (err instanceof CurviateError) {
|
|
301
|
-
const { getExitCode } = await import("./exit-codes-
|
|
311
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
302
312
|
renderError(err, outOpts, out);
|
|
303
313
|
process.exit(getExitCode(err));
|
|
304
314
|
}
|
|
@@ -340,7 +350,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
|
|
|
340
350
|
} catch (err) {
|
|
341
351
|
const { CurviateError } = await import("@curviate/sdk");
|
|
342
352
|
if (err instanceof CurviateError) {
|
|
343
|
-
const { getExitCode } = await import("./exit-codes-
|
|
353
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
344
354
|
renderError(err, outOpts, out);
|
|
345
355
|
process.exit(getExitCode(err));
|
|
346
356
|
}
|
|
@@ -388,7 +398,7 @@ async function runSearchParameters(client, flags, out) {
|
|
|
388
398
|
} catch (err) {
|
|
389
399
|
const { CurviateError } = await import("@curviate/sdk");
|
|
390
400
|
if (err instanceof CurviateError) {
|
|
391
|
-
const { getExitCode } = await import("./exit-codes-
|
|
401
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
392
402
|
renderError(err, outOpts, out);
|
|
393
403
|
process.exit(getExitCode(err));
|
|
394
404
|
}
|
|
@@ -430,7 +440,7 @@ async function runSearchGroups(client, flags, out) {
|
|
|
430
440
|
} catch (err) {
|
|
431
441
|
const { CurviateError } = await import("@curviate/sdk");
|
|
432
442
|
if (err instanceof CurviateError) {
|
|
433
|
-
const { getExitCode } = await import("./exit-codes-
|
|
443
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
434
444
|
renderError(err, outOpts, out);
|
|
435
445
|
process.exit(getExitCode(err));
|
|
436
446
|
}
|
|
@@ -449,8 +459,8 @@ async function runSearchServices(client, flags, out) {
|
|
|
449
459
|
if (flags.keywords) body["keywords"] = flags.keywords;
|
|
450
460
|
if (flags["service-category"]) body["service_category"] = splitCsv(flags["service-category"]);
|
|
451
461
|
if (flags.location) body["location"] = splitCsv(flags.location);
|
|
452
|
-
if (flags.connections) {
|
|
453
|
-
body["connections"] =
|
|
462
|
+
if (flags.connections !== void 0) {
|
|
463
|
+
body["connections"] = intListFlag("connections", flags.connections, 1, 3);
|
|
454
464
|
}
|
|
455
465
|
if (flags.language) body["language"] = splitCsv(flags.language);
|
|
456
466
|
if (flags.limit) body["limit"] = parseInt(flags.limit, 10);
|
|
@@ -474,7 +484,7 @@ async function runSearchServices(client, flags, out) {
|
|
|
474
484
|
} catch (err) {
|
|
475
485
|
const { CurviateError } = await import("@curviate/sdk");
|
|
476
486
|
if (err instanceof CurviateError) {
|
|
477
|
-
const { getExitCode } = await import("./exit-codes-
|
|
487
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
478
488
|
renderError(err, outOpts, out);
|
|
479
489
|
process.exit(getExitCode(err));
|
|
480
490
|
}
|
|
@@ -516,7 +526,7 @@ async function runSearchServiceParameters(client, flags, out) {
|
|
|
516
526
|
} catch (err) {
|
|
517
527
|
const { CurviateError } = await import("@curviate/sdk");
|
|
518
528
|
if (err instanceof CurviateError) {
|
|
519
|
-
const { getExitCode } = await import("./exit-codes-
|
|
529
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
520
530
|
renderError(err, outOpts, out);
|
|
521
531
|
process.exit(getExitCode(err));
|
|
522
532
|
}
|
|
@@ -555,7 +565,7 @@ async function runSearchFromUrl(client, flags, out) {
|
|
|
555
565
|
} catch (err) {
|
|
556
566
|
const { CurviateError } = await import("@curviate/sdk");
|
|
557
567
|
if (err instanceof CurviateError) {
|
|
558
|
-
const { getExitCode } = await import("./exit-codes-
|
|
568
|
+
const { getExitCode } = await import("./exit-codes-TLMKTLRI.js");
|
|
559
569
|
renderError(err, outOpts, out);
|
|
560
570
|
process.exit(getExitCode(err));
|
|
561
571
|
}
|
|
@@ -568,9 +578,9 @@ var searchPeopleCommand = defineCommand({
|
|
|
568
578
|
name: "people",
|
|
569
579
|
description: "Search members with structured filters.",
|
|
570
580
|
examples: [
|
|
571
|
-
'curviate search people --keywords "AI engineer"',
|
|
572
|
-
'curviate search people --keywords "AI engineer" --location 106967730',
|
|
573
|
-
"curviate search people --filters-file filters.json"
|
|
581
|
+
'curviate core search people --keywords "AI engineer"',
|
|
582
|
+
'curviate core search people --keywords "AI engineer" --location 106967730',
|
|
583
|
+
"curviate core search people --filters-file filters.json"
|
|
574
584
|
]
|
|
575
585
|
},
|
|
576
586
|
args: {
|
|
@@ -583,8 +593,8 @@ var searchPeopleCommand = defineCommand({
|
|
|
583
593
|
"past-company": { type: "string", description: "Past company ids (comma-separated)." },
|
|
584
594
|
school: { type: "string", description: "School ids (comma-separated)." },
|
|
585
595
|
"network-distance": { type: "string", description: "Network distance, 1-3 (comma-separated)." },
|
|
586
|
-
"connections-of": { type: "string", description: 'member id(s), comma-separated (resolve: `curviate search parameters --type RELATION --keywords "<name>"`)' },
|
|
587
|
-
"followers-of": { type: "string", description: 'member id(s), comma-separated (resolve: `curviate search parameters --type PEOPLE --keywords "<name>"`)' },
|
|
596
|
+
"connections-of": { type: "string", description: 'member id(s), comma-separated (resolve: `curviate core search parameters --type RELATION --keywords "<name>"`)' },
|
|
597
|
+
"followers-of": { type: "string", description: 'member id(s), comma-separated (resolve: `curviate core search parameters --type PEOPLE --keywords "<name>"`)' },
|
|
588
598
|
// People-specific filter flags
|
|
589
599
|
title: { type: "string", description: "Job title keyword filter (maps to advanced_keywords.title)." },
|
|
590
600
|
"profile-language": { type: "string", description: "Profile language codes (comma-separated, e.g. en,de)." }
|
|
@@ -612,8 +622,8 @@ var searchCompaniesCommand = defineCommand({
|
|
|
612
622
|
name: "companies",
|
|
613
623
|
description: "Search companies.",
|
|
614
624
|
examples: [
|
|
615
|
-
'curviate search companies --keywords "developer tools"',
|
|
616
|
-
"curviate search companies --keywords robotics --headcount 11-50,51-200"
|
|
625
|
+
'curviate core search companies --keywords "developer tools"',
|
|
626
|
+
"curviate core search companies --keywords robotics --headcount 11-50,51-200"
|
|
617
627
|
]
|
|
618
628
|
},
|
|
619
629
|
args: {
|
|
@@ -649,10 +659,10 @@ var searchCompaniesCommand = defineCommand({
|
|
|
649
659
|
var searchPostsCommand = defineCommand({
|
|
650
660
|
meta: {
|
|
651
661
|
name: "posts",
|
|
652
|
-
description: "Search posts. Each result's text can repeat fragments around links, mentions and hashtags; use `curviate post get <id>` for the clean body.",
|
|
662
|
+
description: "Search posts. Each result's text can repeat fragments around links, mentions and hashtags; use `curviate core post get <id>` for the clean body.",
|
|
653
663
|
examples: [
|
|
654
|
-
'curviate search posts --keywords "agent infrastructure"',
|
|
655
|
-
'curviate search posts --keywords "agent infrastructure" --date-posted past_week'
|
|
664
|
+
'curviate core search posts --keywords "agent infrastructure"',
|
|
665
|
+
'curviate core search posts --keywords "agent infrastructure" --date-posted past_week'
|
|
656
666
|
]
|
|
657
667
|
},
|
|
658
668
|
args: {
|
|
@@ -662,13 +672,13 @@ var searchPostsCommand = defineCommand({
|
|
|
662
672
|
"sort-by": { type: "string", description: "Sort order (e.g. relevance, date)." },
|
|
663
673
|
"date-posted": { type: "string", description: "time window: past_day, past_week, or past_month (hyphens also accepted: past-day, past-week, past-month)" },
|
|
664
674
|
"content-type": { type: "string", description: "content type: videos, images, live_videos, collaborative_articles, documents" },
|
|
665
|
-
"posted-by-member": { type: "string", description: "member id(s), comma-separated (resolve: `curviate search parameters --type PEOPLE`); merges into posted_by" },
|
|
666
|
-
"posted-by-company": { type: "string", description: "company id(s), comma-separated (resolve: `curviate search parameters --type COMPANY`); merges into posted_by" },
|
|
675
|
+
"posted-by-member": { type: "string", description: "member id(s), comma-separated (resolve: `curviate core search parameters --type PEOPLE`); merges into posted_by" },
|
|
676
|
+
"posted-by-company": { type: "string", description: "company id(s), comma-separated (resolve: `curviate core search parameters --type COMPANY`); merges into posted_by" },
|
|
667
677
|
"posted-by-me": { type: "boolean", description: "only posts authored by you; merges into posted_by" },
|
|
668
|
-
"mentioning-member": { type: "string", description: "member id(s) mentioned in the post, comma-separated (resolve: `curviate search parameters --type PEOPLE`); merges into mentioning" },
|
|
669
|
-
"mentioning-company": { type: "string", description: "company id(s) mentioned in the post, comma-separated (resolve: `curviate search parameters --type COMPANY`); merges into mentioning" },
|
|
670
|
-
"author-industry": { type: "string", description: "author's industry id(s), comma-separated (resolve: `curviate search parameters --type INDUSTRY`); merges into author" },
|
|
671
|
-
"author-company": { type: "string", description: "author's company id(s), comma-separated (resolve: `curviate search parameters --type COMPANY`); merges into author" },
|
|
678
|
+
"mentioning-member": { type: "string", description: "member id(s) mentioned in the post, comma-separated (resolve: `curviate core search parameters --type PEOPLE`); merges into mentioning" },
|
|
679
|
+
"mentioning-company": { type: "string", description: "company id(s) mentioned in the post, comma-separated (resolve: `curviate core search parameters --type COMPANY`); merges into mentioning" },
|
|
680
|
+
"author-industry": { type: "string", description: "author's industry id(s), comma-separated (resolve: `curviate core search parameters --type INDUSTRY`); merges into author" },
|
|
681
|
+
"author-company": { type: "string", description: "author's company id(s), comma-separated (resolve: `curviate core search parameters --type COMPANY`); merges into author" },
|
|
672
682
|
"author-keywords": { type: "string", description: "author keyword filter (free text); merges into author" }
|
|
673
683
|
},
|
|
674
684
|
async run({ args }) {
|
|
@@ -694,8 +704,8 @@ var searchJobsCommand = defineCommand({
|
|
|
694
704
|
name: "jobs",
|
|
695
705
|
description: "Search jobs.",
|
|
696
706
|
examples: [
|
|
697
|
-
'curviate search jobs --keywords "AI engineer"',
|
|
698
|
-
'curviate search jobs --keywords "AI engineer" --location 106967730 --presence remote'
|
|
707
|
+
'curviate core search jobs --keywords "AI engineer"',
|
|
708
|
+
'curviate core search jobs --keywords "AI engineer" --location 106967730 --presence remote'
|
|
699
709
|
]
|
|
700
710
|
},
|
|
701
711
|
args: {
|
|
@@ -703,7 +713,7 @@ var searchJobsCommand = defineCommand({
|
|
|
703
713
|
keywords: { type: "string", description: "Full-text keyword search." },
|
|
704
714
|
...FILTER_FLAGS,
|
|
705
715
|
// On jobs, --location maps to the geo region filter (not a location array, different API shape for jobs vs people)
|
|
706
|
-
location: { type: "string", description: "geo region id (single id; resolve via `curviate search parameters --type LOCATION`); maps to region filter" },
|
|
716
|
+
location: { type: "string", description: "geo region id (single id; resolve via `curviate core search parameters --type LOCATION`); maps to region filter" },
|
|
707
717
|
industry: { type: "string", description: "Industry ids (comma-separated)." },
|
|
708
718
|
seniority: { type: "string", description: "seniority level, closed enum: executive|director|mid_senior|associate|entry|intern (comma-separated)" },
|
|
709
719
|
function: { type: "string", description: "Job function ids (comma-separated)." },
|
|
@@ -714,7 +724,7 @@ var searchJobsCommand = defineCommand({
|
|
|
714
724
|
region: { type: "string", description: "alias for --location (same body field: region)" },
|
|
715
725
|
title: {
|
|
716
726
|
type: "string",
|
|
717
|
-
description: "job title id(s), comma-separated (resolve: `curviate search parameters --type JOB_TITLE`); ID-based targeting, unlike `curviate search people --title`, which is free-text"
|
|
727
|
+
description: "job title id(s), comma-separated (resolve: `curviate core search parameters --type JOB_TITLE`); ID-based targeting, unlike `curviate core search people --title`, which is free-text"
|
|
718
728
|
},
|
|
719
729
|
presence: { type: "string", description: "work presence, comma-separated: on_site, hybrid, remote" },
|
|
720
730
|
benefits: { type: "string", description: "benefit ids, comma-separated" },
|
|
@@ -751,8 +761,8 @@ var searchParametersCommand = defineCommand({
|
|
|
751
761
|
name: "parameters",
|
|
752
762
|
description: "Resolve human-readable terms to opaque filter IDs. Paginated: --cursor pages manually, --all streams every page as NDJSON.",
|
|
753
763
|
examples: [
|
|
754
|
-
"curviate search parameters --type LOCATION --keywords Berlin",
|
|
755
|
-
"curviate search parameters --type COMPANY --keywords Acme"
|
|
764
|
+
"curviate core search parameters --type LOCATION --keywords Berlin",
|
|
765
|
+
"curviate core search parameters --type COMPANY --keywords Acme"
|
|
756
766
|
]
|
|
757
767
|
},
|
|
758
768
|
args: {
|
|
@@ -787,7 +797,7 @@ var searchGroupsCommand = defineCommand({
|
|
|
787
797
|
name: "groups",
|
|
788
798
|
description: "Keyword search for LinkedIn groups. A no-match search returns an empty list, not an error.",
|
|
789
799
|
examples: [
|
|
790
|
-
'curviate search groups "gtm engineering"'
|
|
800
|
+
'curviate core search groups "gtm engineering"'
|
|
791
801
|
]
|
|
792
802
|
},
|
|
793
803
|
args: {
|
|
@@ -815,10 +825,10 @@ var searchGroupsCommand = defineCommand({
|
|
|
815
825
|
var searchServicesCommand = defineCommand({
|
|
816
826
|
meta: {
|
|
817
827
|
name: "services",
|
|
818
|
-
description: "Search Services Marketplace providers with structured filters. At least one of --keywords, --service-category, or --location is required. Resolve --service-category/--location values with
|
|
828
|
+
description: "Search Services Marketplace providers with structured filters. At least one of --keywords, --service-category, or --location is required. Resolve --service-category/--location values with `curviate core search service-parameters` first, both take opaque ids, not free text.",
|
|
819
829
|
examples: [
|
|
820
|
-
"curviate search services --keywords marketing",
|
|
821
|
-
"curviate search services --service-category 100 --location 106967730"
|
|
830
|
+
"curviate core search services --keywords marketing",
|
|
831
|
+
"curviate core search services --service-category 100 --location 106967730"
|
|
822
832
|
],
|
|
823
833
|
requires: [
|
|
824
834
|
"At least one of --keywords, --service-category or --location."
|
|
@@ -827,8 +837,8 @@ var searchServicesCommand = defineCommand({
|
|
|
827
837
|
args: {
|
|
828
838
|
...readOnly(GLOBAL_FLAGS),
|
|
829
839
|
keywords: { type: "string", description: "Free-text keyword match." },
|
|
830
|
-
"service-category": { type: "string", description: "Opaque service-category ids (comma-separated; resolve via `curviate search service-parameters --type service_category`)." },
|
|
831
|
-
location: { type: "string", description: "Opaque location ids (comma-separated; resolve via `curviate search service-parameters --type location`)." },
|
|
840
|
+
"service-category": { type: "string", description: "Opaque service-category ids (comma-separated; resolve via `curviate core search service-parameters --type service_category`)." },
|
|
841
|
+
location: { type: "string", description: "Opaque location ids (comma-separated; resolve via `curviate core search service-parameters --type location`)." },
|
|
832
842
|
connections: { type: "string", description: "Connection degree filter, comma-separated: 1 (1st), 2 (2nd), 3 (3rd+)." },
|
|
833
843
|
language: { type: "string", description: "Profile-language ISO 639-1 codes, comma-separated (e.g. en,de,es,fr)." }
|
|
834
844
|
},
|
|
@@ -853,9 +863,9 @@ var searchServicesCommand = defineCommand({
|
|
|
853
863
|
var searchServiceParametersCommand = defineCommand({
|
|
854
864
|
meta: {
|
|
855
865
|
name: "service-parameters",
|
|
856
|
-
description: "Resolve human-readable service-filter terms into the opaque ids
|
|
866
|
+
description: "Resolve human-readable service-filter terms into the opaque ids `curviate core search services` accepts. Paginated: --cursor pages manually, --all streams every page as NDJSON.",
|
|
857
867
|
examples: [
|
|
858
|
-
"curviate search service-parameters --type service_category --keywords marketing"
|
|
868
|
+
"curviate core search service-parameters --type service_category --keywords marketing"
|
|
859
869
|
]
|
|
860
870
|
},
|
|
861
871
|
args: {
|
|
@@ -887,9 +897,9 @@ var searchServiceParametersCommand = defineCommand({
|
|
|
887
897
|
var searchCommand = defineCommand({
|
|
888
898
|
meta: {
|
|
889
899
|
name: "search",
|
|
890
|
-
description:
|
|
900
|
+
description: DESCRIPTIONS.search,
|
|
891
901
|
examples: [
|
|
892
|
-
'curviate search "https://www.linkedin.com/search/results/people/?keywords=ai%20engineer"'
|
|
902
|
+
'curviate core search "https://www.linkedin.com/search/results/people/?keywords=ai%20engineer"'
|
|
893
903
|
]
|
|
894
904
|
},
|
|
895
905
|
args: {
|
|
@@ -914,7 +924,7 @@ var searchCommand = defineCommand({
|
|
|
914
924
|
const flags = args;
|
|
915
925
|
if (!flags.url) {
|
|
916
926
|
process.stderr.write(
|
|
917
|
-
"Usage: curviate search <url>\n curviate search people [--keywords <k>]\n curviate search companies [--keywords <k>]\n curviate search posts [--keywords <k>]\n curviate search jobs [--keywords <k>]\n curviate search parameters --type <t> --keywords <k>\n curviate search groups <query>\n curviate search services [--keywords <k>]\n curviate search service-parameters --keywords <k> [--type <t>]\n"
|
|
927
|
+
"Usage: curviate core search <url>\n curviate core search people [--keywords <k>]\n curviate core search companies [--keywords <k>]\n curviate core search posts [--keywords <k>]\n curviate core search jobs [--keywords <k>]\n curviate core search parameters --type <t> --keywords <k>\n curviate core search groups <query>\n curviate core search services [--keywords <k>]\n curviate core search service-parameters --keywords <k> [--type <t>]\n"
|
|
918
928
|
);
|
|
919
929
|
process.exit(2);
|
|
920
930
|
}
|
|
@@ -1,25 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
readlineSync
|
|
4
|
-
} from "./chunk-YLSJ4HKU.js";
|
|
5
2
|
import {
|
|
6
3
|
readablePage,
|
|
7
4
|
resolveEffectiveConfig
|
|
8
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SA2QHAXG.js";
|
|
9
6
|
import {
|
|
10
7
|
getExitCode
|
|
11
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RXWODUWA.js";
|
|
9
|
+
import {
|
|
10
|
+
readlineSync
|
|
11
|
+
} from "./chunk-YLSJ4HKU.js";
|
|
12
12
|
import {
|
|
13
13
|
createClient,
|
|
14
14
|
getConfigPath,
|
|
15
15
|
writeProfile
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-5ZGTU4VD.js";
|
|
17
|
+
import {
|
|
18
|
+
GLOBAL_FLAGS
|
|
19
|
+
} from "./chunk-Y7MZZRYR.js";
|
|
20
|
+
import {
|
|
21
|
+
DESCRIPTIONS
|
|
22
|
+
} from "./chunk-D2S5OCYU.js";
|
|
17
23
|
import {
|
|
18
|
-
GLOBAL_FLAGS,
|
|
19
24
|
defaultReadStdin,
|
|
20
25
|
isStdinToken,
|
|
21
26
|
resolveTextOrStdin
|
|
22
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZYURL5VK.js";
|
|
23
28
|
|
|
24
29
|
// src/commands/setup.ts
|
|
25
30
|
import { defineCommand } from "citty";
|
|
@@ -381,7 +386,7 @@ async function finishExchange(baseUrl, material, code, profileName, opts, io) {
|
|
|
381
386
|
var setupCommand = defineCommand({
|
|
382
387
|
meta: {
|
|
383
388
|
name: "setup",
|
|
384
|
-
description:
|
|
389
|
+
description: DESCRIPTIONS.setup,
|
|
385
390
|
examples: [
|
|
386
391
|
"curviate setup",
|
|
387
392
|
"curviate setup --json",
|