@curviate/cli 0.40.0 → 0.42.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/dist/{account-LTXAUBBP.js → account-PFK5YROZ.js} +81 -26
  3. package/dist/{chunk-OTBJATDE.js → chunk-B5NIX4G6.js} +6 -1
  4. package/dist/{chunk-LD5KJSCT.js → chunk-BLJGV6ST.js} +2 -2
  5. package/dist/{chunk-6W7364S3.js → chunk-KJ24DIAJ.js} +1 -1
  6. package/dist/{chunk-T6G5AASF.js → chunk-OUMMWC7G.js} +79 -26
  7. package/dist/{chunk-BGVK73VI.js → chunk-PCZH5QJA.js} +1 -1
  8. package/dist/{chunk-XDQHNUEU.js → chunk-TC4ZPUWI.js} +12 -6
  9. package/dist/{chunk-DCZR4M7G.js → chunk-UJOTQPL6.js} +1 -1
  10. package/dist/cli.js +64 -53
  11. package/dist/{comment-2CSBSBOH.js → comment-G4EXIIAQ.js} +83 -29
  12. package/dist/{company-ZUIUR5UN.js → company-WX5QOASS.js} +104 -50
  13. package/dist/{config-RUBXWFQ3.js → config-K4G3VSBA.js} +44 -9
  14. package/dist/{connect-LSXKNEL2.js → connect-IYTFL7NT.js} +44 -21
  15. package/dist/{doctor-FHOHIQPX.js → doctor-ICAEETCL.js} +8 -4
  16. package/dist/examples-IJL3A6SZ.js +18 -0
  17. package/dist/{feed-UUHB2FXI.js → feed-XC5235UF.js} +16 -14
  18. package/dist/{group-NUCO3P2W.js → group-JDP2HVSV.js} +31 -20
  19. package/dist/{inbox-DEZTGTPO.js → inbox-W3KR65VD.js} +51 -24
  20. package/dist/{inboxes-F3NIQQRK.js → inboxes-XYS3IRT6.js} +23 -17
  21. package/dist/{job-YMGO3WJH.js → job-XW3WM57J.js} +112 -34
  22. package/dist/{login-YTVPIN27.js → login-OHAHNBRW.js} +7 -3
  23. package/dist/{message-RSBUXI64.js → message-5XC7U4JC.js} +5 -5
  24. package/dist/{notification-EJ35OD3Q.js → notification-RIUSYJV6.js} +26 -16
  25. package/dist/{post-VHVQ56A7.js → post-LSEBRQYK.js} +96 -32
  26. package/dist/{profile-3CBNI42H.js → profile-NHTYGX7K.js} +130 -43
  27. package/dist/{recruiter-M7XUFYNR.js → recruiter-4SDAROK4.js} +219 -67
  28. package/dist/{sales-nav-S47OCEUC.js → sales-nav-77NP3UXV.js} +102 -42
  29. package/dist/{search-UWI37MKG.js → search-XDOQZAVG.js} +80 -39
  30. package/dist/{setup-3EQRACT6.js → setup-BPNLAHPC.js} +9 -4
  31. package/dist/{webhook-I4U4C4XE.js → webhook-XOPRW63N.js} +62 -23
  32. package/package.json +3 -2
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-UEAX6KUB.js";
12
12
  import {
13
13
  requireAccount
14
- } from "./chunk-LD5KJSCT.js";
14
+ } from "./chunk-BLJGV6ST.js";
15
15
  import {
16
16
  buildPreviewOutput
17
17
  } from "./chunk-TCUYH5GO.js";
@@ -21,6 +21,7 @@ import {
21
21
  pageDelayFromFlags,
22
22
  readCursorFlag,
23
23
  readMaxPagesFlag,
24
+ readableObject,
24
25
  readablePage,
25
26
  rejectPaginationModifiersWithoutAll,
26
27
  renderError,
@@ -29,17 +30,18 @@ import {
29
30
  resolveEffectiveConfig,
30
31
  streamAll,
31
32
  writeNdjsonItem
32
- } from "./chunk-OTBJATDE.js";
33
+ } from "./chunk-B5NIX4G6.js";
33
34
  import "./chunk-XZJQQJBE.js";
34
35
  import {
35
36
  createClient,
36
37
  downloadBinary
37
- } from "./chunk-DCZR4M7G.js";
38
+ } from "./chunk-UJOTQPL6.js";
38
39
  import {
39
40
  GLOBAL_FLAGS,
40
41
  READ_SINGLE_FLAGS,
41
- WRITE_SINGLE_FLAGS
42
- } from "./chunk-XDQHNUEU.js";
42
+ WRITE_SINGLE_FLAGS,
43
+ readOnly
44
+ } from "./chunk-TC4ZPUWI.js";
43
45
 
44
46
  // src/commands/job.ts
45
47
  import { defineCommand } from "citty";
@@ -69,12 +71,6 @@ function buildOutputStreams() {
69
71
  stderr: { write: (s) => process.stderr.write(s) }
70
72
  };
71
73
  }
72
- function rejectPreviewOnRead(preview, out) {
73
- if (preview) {
74
- out.stderr.write("error: --preview is only valid on write commands (mutations). Reads just run.\n");
75
- process.exit(2);
76
- }
77
- }
78
74
  function resolveOutputOpts(flags) {
79
75
  return {
80
76
  json: (flags.json ?? false) || !process.stdout.isTTY,
@@ -124,20 +120,19 @@ function buildApplyMethod(flags, out) {
124
120
  return { method, website_url: url };
125
121
  }
126
122
  async function runJobGet(client, flags, out) {
127
- rejectPreviewOnRead(flags.preview, out);
128
123
  const accountId = await requireAccount(client, flags, out);
129
124
  const resolvedId = resolveJobIdentifier(flags.id ?? "");
130
125
  const ns = client.account(accountId);
131
126
  const outOpts = resolveOutputOpts(flags);
132
127
  try {
133
128
  const result = await ns.jobs.get(resolvedId);
129
+ readableObject(result);
134
130
  renderSuccess(result, { ...outOpts, slim: slimJob }, out);
135
131
  } catch (err) {
136
132
  await handleSdkError(err, outOpts, out);
137
133
  }
138
134
  }
139
135
  async function runJobList(client, flags, out) {
140
- rejectPreviewOnRead(flags.preview, out);
141
136
  const state = requireFlag(flags.state, "--state", out);
142
137
  if (state === "ALL") {
143
138
  if (!flags.all && flags["max-pages"] !== void 0) {
@@ -255,20 +250,19 @@ async function runJobListAllStates(ns, flags, out, outOpts, opts) {
255
250
  }
256
251
  }
257
252
  async function runJobBudget(client, flags, out) {
258
- rejectPreviewOnRead(flags.preview, out);
259
253
  const accountId = await requireAccount(client, flags, out);
260
254
  const jobId = resolveJobIdentifier(flags.id ?? "");
261
255
  const ns = client.account(accountId);
262
256
  const outOpts = resolveOutputOpts(flags);
263
257
  try {
264
258
  const result = await ns.jobs.getBudget(jobId);
259
+ readableObject(result);
265
260
  renderSuccess(result, outOpts, out);
266
261
  } catch (err) {
267
262
  await handleSdkError(err, outOpts, out);
268
263
  }
269
264
  }
270
265
  async function runJobApplicants(client, flags, out) {
271
- rejectPreviewOnRead(flags.preview, out);
272
266
  rejectPaginationModifiersWithoutAll(flags, out);
273
267
  const accountId = await requireAccount(client, flags, out);
274
268
  const jobId = resolveJobIdentifier(flags.id ?? "");
@@ -305,7 +299,6 @@ async function runJobApplicants(client, flags, out) {
305
299
  }
306
300
  }
307
301
  async function runJobApplicantGet(client, flags, out) {
308
- rejectPreviewOnRead(flags.preview, out);
309
302
  const accountId = await requireAccount(client, flags, out);
310
303
  const jobId = resolveJobIdentifier(flags.id ?? "");
311
304
  const applicantId = flags.applicantId ?? "";
@@ -313,13 +306,13 @@ async function runJobApplicantGet(client, flags, out) {
313
306
  const outOpts = resolveOutputOpts(flags);
314
307
  try {
315
308
  const result = await ns.jobs.getApplicant(jobId, applicantId);
309
+ readableObject(result);
316
310
  renderSuccess(result, outOpts, out);
317
311
  } catch (err) {
318
312
  await handleSdkError(err, outOpts, out);
319
313
  }
320
314
  }
321
315
  async function runJobApplicantResume(client, flags, out, isTTY) {
322
- rejectPreviewOnRead(flags.preview, out);
323
316
  const accountId = await requireAccount(client, flags, out);
324
317
  const jobId = resolveJobIdentifier(flags.id ?? "");
325
318
  const applicantId = flags.applicantId ?? "";
@@ -494,9 +487,16 @@ var JOB_BODY_FLAGS = {
494
487
  skills: { type: "string", description: "Comma-separated skill parameter ids (optional)." }
495
488
  };
496
489
  var jobGetCommand = defineCommand({
497
- meta: { name: "get", description: "Retrieve one public LinkedIn job posting's full detail." },
490
+ meta: {
491
+ name: "get",
492
+ description: "Retrieve one public LinkedIn job posting's full detail.",
493
+ examples: [
494
+ "curviate job get 4100000000",
495
+ "curviate job get https://www.linkedin.com/jobs/view/4100000000"
496
+ ]
497
+ },
498
498
  args: {
499
- ...READ_SINGLE_FLAGS,
499
+ ...readOnly(READ_SINGLE_FLAGS),
500
500
  id: { type: "positional", description: "Job URL or a bare numeric job id." }
501
501
  },
502
502
  async run({ args }) {
@@ -504,9 +504,19 @@ var jobGetCommand = defineCommand({
504
504
  }
505
505
  });
506
506
  var jobListCommand = defineCommand({
507
- meta: { name: "list", description: "List your own classic job postings by state." },
507
+ meta: {
508
+ name: "list",
509
+ description: "List your own classic job postings by state.",
510
+ examples: [
511
+ "curviate job list --state OPEN",
512
+ "curviate job list --state DRAFT --all"
513
+ ],
514
+ requires: [
515
+ "--max-pages and --page-delay only with --all."
516
+ ]
517
+ },
508
518
  args: {
509
- ...GLOBAL_FLAGS,
519
+ ...readOnly(GLOBAL_FLAGS),
510
520
  state: { type: "string", description: "Filter by state (required): DRAFT|OPEN|CLOSED|REVIEW|SUSPENDED, or ALL for a best-effort client-side union across every state (each state queried, re-filtered, merged and de-duplicated by id; no unified cursor). Best-effort on LinkedIn's side -- verify item.state. The CLI re-filters returned items against their own state (dropped items are noted on stderr), but the upstream page walk itself is unfiltered, so --all may fetch more pages than the filtered item count implies.", required: true }
511
521
  },
512
522
  async run({ args }) {
@@ -514,17 +524,45 @@ var jobListCommand = defineCommand({
514
524
  }
515
525
  });
516
526
  var jobCreateCommand = defineCommand({
517
- meta: { name: "create", description: "Create a classic job-posting draft (never publishes, never spends)." },
527
+ meta: {
528
+ name: "create",
529
+ description: "Create a classic job-posting draft (never publishes, never spends).",
530
+ examples: [
531
+ 'curviate job create --job-title "Staff Engineer" --company "Acme" --workplace-type REMOTE --location 106967730 --employment-status FULL_TIME --apply-method external --website-url https://acme.example/jobs/1 --description "$(cat description.txt)"'
532
+ ],
533
+ requires: [
534
+ "--job-title or --job-title-id.",
535
+ "--company or --company-id.",
536
+ "--notification-email with --apply-method linkedin; --website-url with --apply-method external."
537
+ ]
538
+ },
518
539
  args: {
519
540
  ...WRITE_SINGLE_FLAGS,
520
- ...JOB_BODY_FLAGS
541
+ ...JOB_BODY_FLAGS,
542
+ // Required on create (update takes any subset). The declaration is what
543
+ // the parser enforces and what --help and the docs print.
544
+ "workplace-type": { ...JOB_BODY_FLAGS["workplace-type"], required: true },
545
+ location: { ...JOB_BODY_FLAGS.location, required: true },
546
+ "employment-status": { ...JOB_BODY_FLAGS["employment-status"], required: true },
547
+ description: { ...JOB_BODY_FLAGS.description, required: true },
548
+ "apply-method": { ...JOB_BODY_FLAGS["apply-method"], required: true }
521
549
  },
522
550
  async run({ args }) {
523
551
  await withClient(args, runJobCreate);
524
552
  }
525
553
  });
526
554
  var jobUpdateCommand = defineCommand({
527
- meta: { name: "update", description: "Apply a partial update to a job posting you own." },
555
+ meta: {
556
+ name: "update",
557
+ description: "Apply a partial update to a job posting you own.",
558
+ examples: [
559
+ "curviate job update 4100000000 --workplace-type HYBRID",
560
+ 'curviate job update 4100000000 --description "$(cat description.txt)"'
561
+ ],
562
+ requires: [
563
+ "--notification-email with --apply-method linkedin; --website-url with --apply-method external."
564
+ ]
565
+ },
528
566
  args: {
529
567
  ...WRITE_SINGLE_FLAGS,
530
568
  id: { type: "positional", description: "Job id to update." },
@@ -535,9 +573,15 @@ var jobUpdateCommand = defineCommand({
535
573
  }
536
574
  });
537
575
  var jobBudgetCommand = defineCommand({
538
- meta: { name: "budget", description: "Price a publish before committing any money." },
576
+ meta: {
577
+ name: "budget",
578
+ description: "Price a publish before committing any money.",
579
+ examples: [
580
+ "curviate job budget 4100000000"
581
+ ]
582
+ },
539
583
  args: {
540
- ...READ_SINGLE_FLAGS,
584
+ ...readOnly(READ_SINGLE_FLAGS),
541
585
  id: { type: "positional", description: "Job id to price." }
542
586
  },
543
587
  async run({ args }) {
@@ -545,7 +589,16 @@ var jobBudgetCommand = defineCommand({
545
589
  }
546
590
  });
547
591
  var jobPublishCommand = defineCommand({
548
- meta: { name: "publish", description: "Publish a draft. PROMOTED/PROMOTED_PLUS spend real money and require --budget-amount, --budget-currency, and --budget-scope." },
592
+ meta: {
593
+ name: "publish",
594
+ description: "Publish a draft. PROMOTED/PROMOTED_PLUS spend real money and require --budget-amount, --budget-currency, and --budget-scope.",
595
+ examples: [
596
+ "curviate job publish 4100000000 --mode FREE"
597
+ ],
598
+ requires: [
599
+ "--budget-currency, --budget-amount and --budget-scope with --mode PROMOTED or PROMOTED_PLUS."
600
+ ]
601
+ },
549
602
  args: {
550
603
  ...WRITE_SINGLE_FLAGS,
551
604
  id: { type: "positional", description: "Job id to publish." },
@@ -559,7 +612,13 @@ var jobPublishCommand = defineCommand({
559
612
  }
560
613
  });
561
614
  var jobCloseCommand = defineCommand({
562
- meta: { name: "close", description: "Stop a posting from accepting applications (irreversible once LISTED)." },
615
+ meta: {
616
+ name: "close",
617
+ description: "Stop a posting from accepting applications (irreversible once LISTED).",
618
+ examples: [
619
+ "curviate job close 4100000000"
620
+ ]
621
+ },
563
622
  args: {
564
623
  ...WRITE_SINGLE_FLAGS,
565
624
  id: { type: "positional", description: "Job id to close." }
@@ -569,9 +628,16 @@ var jobCloseCommand = defineCommand({
569
628
  }
570
629
  });
571
630
  var jobApplicantsCommand = defineCommand({
572
- meta: { name: "applicants", description: "List applicants to a posting you own (POST-as-search)." },
631
+ meta: {
632
+ name: "applicants",
633
+ description: "List applicants to a posting you own (POST-as-search).",
634
+ examples: [
635
+ "curviate job applicants 4100000000",
636
+ "curviate job applicants 4100000000 --ratings GOOD_FIT,MAYBE"
637
+ ]
638
+ },
573
639
  args: {
574
- ...GLOBAL_FLAGS,
640
+ ...readOnly(GLOBAL_FLAGS),
575
641
  id: { type: "positional", description: "Job id to list applicants for." },
576
642
  ratings: { type: "string", description: "Comma-separated rating filter: UNRATED|NOT_A_FIT|MAYBE|GOOD_FIT. Omit for the full funnel." }
577
643
  },
@@ -580,9 +646,15 @@ var jobApplicantsCommand = defineCommand({
580
646
  }
581
647
  });
582
648
  var jobApplicantGetCommand = defineCommand({
583
- meta: { name: "get", description: "Get one applicant's full detail, including contact info." },
649
+ meta: {
650
+ name: "get",
651
+ description: "Get one applicant's full detail, including contact info.",
652
+ examples: [
653
+ "curviate job applicant get 4100000000 APPLICANT_ID"
654
+ ]
655
+ },
584
656
  args: {
585
- ...READ_SINGLE_FLAGS,
657
+ ...readOnly(READ_SINGLE_FLAGS),
586
658
  id: { type: "positional", description: "Job id the applicant applied to." },
587
659
  applicantId: { type: "positional", description: "Applicant id." }
588
660
  },
@@ -591,9 +663,15 @@ var jobApplicantGetCommand = defineCommand({
591
663
  }
592
664
  });
593
665
  var jobApplicantResumeCommand = defineCommand({
594
- meta: { name: "resume", description: "Download an applicant's r\xE9sum\xE9 (binary)." },
666
+ meta: {
667
+ name: "resume",
668
+ description: "Download an applicant's r\xE9sum\xE9 (binary).",
669
+ examples: [
670
+ "curviate job applicant resume 4100000000 APPLICANT_ID -o resume.pdf"
671
+ ]
672
+ },
595
673
  args: {
596
- ...READ_SINGLE_FLAGS,
674
+ ...readOnly(READ_SINGLE_FLAGS),
597
675
  id: { type: "positional", description: "Job id the applicant applied to." },
598
676
  applicantId: { type: "positional", description: "Applicant id." },
599
677
  output: { type: "string", alias: "o", description: "Path to write the r\xE9sum\xE9 file to." }
@@ -5,12 +5,12 @@ import {
5
5
  import {
6
6
  baseUrlProblem,
7
7
  writeProfile
8
- } from "./chunk-DCZR4M7G.js";
8
+ } from "./chunk-UJOTQPL6.js";
9
9
  import {
10
10
  GLOBAL_FLAGS,
11
11
  defaultReadStdin,
12
12
  resolveTextOrStdin
13
- } from "./chunk-XDQHNUEU.js";
13
+ } from "./chunk-TC4ZPUWI.js";
14
14
 
15
15
  // src/commands/login.ts
16
16
  import { defineCommand } from "citty";
@@ -49,7 +49,11 @@ async function runLogin(args, out) {
49
49
  var loginCommand = defineCommand({
50
50
  meta: {
51
51
  name: "login",
52
- description: "Save an API key to a local profile. Run `curviate profile me` to verify."
52
+ description: "Save an API key to a local profile. Run `curviate profile me` to verify.",
53
+ examples: [
54
+ "curviate login",
55
+ "curviate login --api-key - --profile work"
56
+ ]
53
57
  },
54
58
  // Only what login acts on: it makes no request, so pagination, projection,
55
59
  // preview and transport flags would be accepted and do nothing. `--json` is
@@ -13,17 +13,17 @@ import {
13
13
  runMessageSend,
14
14
  sentAsNotice,
15
15
  willSendAsNotice
16
- } from "./chunk-T6G5AASF.js";
16
+ } from "./chunk-OUMMWC7G.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-LD5KJSCT.js";
21
+ import "./chunk-BLJGV6ST.js";
22
22
  import "./chunk-TCUYH5GO.js";
23
- import "./chunk-OTBJATDE.js";
23
+ import "./chunk-B5NIX4G6.js";
24
24
  import "./chunk-XZJQQJBE.js";
25
- import "./chunk-DCZR4M7G.js";
26
- import "./chunk-XDQHNUEU.js";
25
+ import "./chunk-UJOTQPL6.js";
26
+ import "./chunk-TC4ZPUWI.js";
27
27
  export {
28
28
  guardBareMessageForm,
29
29
  messageCommand,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-LD5KJSCT.js";
4
+ } from "./chunk-BLJGV6ST.js";
5
5
  import {
6
6
  buildPreviewOutput
7
7
  } from "./chunk-TCUYH5GO.js";
@@ -17,15 +17,16 @@ import {
17
17
  resolveEffectiveConfig,
18
18
  streamAll,
19
19
  writeNdjsonItem
20
- } from "./chunk-OTBJATDE.js";
20
+ } from "./chunk-B5NIX4G6.js";
21
21
  import "./chunk-XZJQQJBE.js";
22
22
  import {
23
23
  createClient
24
- } from "./chunk-DCZR4M7G.js";
24
+ } from "./chunk-UJOTQPL6.js";
25
25
  import {
26
26
  GLOBAL_FLAGS,
27
- WRITE_SINGLE_FLAGS
28
- } from "./chunk-XDQHNUEU.js";
27
+ WRITE_SINGLE_FLAGS,
28
+ readOnly
29
+ } from "./chunk-TC4ZPUWI.js";
29
30
 
30
31
  // src/commands/notification.ts
31
32
  import { defineCommand } from "citty";
@@ -35,12 +36,6 @@ function buildOutputStreams() {
35
36
  stderr: { write: (s) => process.stderr.write(s) }
36
37
  };
37
38
  }
38
- function rejectPreviewOnRead(preview, out) {
39
- if (preview) {
40
- out.stderr.write("error: --preview is only valid on write commands (mutations). Reads just run.\n");
41
- process.exit(2);
42
- }
43
- }
44
39
  function resolveOutputOpts(flags) {
45
40
  return {
46
41
  json: (flags.json ?? false) || !process.stdout.isTTY,
@@ -60,7 +55,6 @@ async function handleSdkError(err, outOpts, out) {
60
55
  process.exit(1);
61
56
  }
62
57
  async function runNotificationList(client, flags, out) {
63
- rejectPreviewOnRead(flags.preview, out);
64
58
  rejectPaginationModifiersWithoutAll(flags, out);
65
59
  const accountId = await requireAccount(client, flags, out);
66
60
  const ns = client.account(accountId);
@@ -126,9 +120,16 @@ async function runNotificationShowLess(client, flags, out) {
126
120
  }
127
121
  }
128
122
  var notificationListCommand = defineCommand({
129
- meta: { name: "list", description: "List the connected account's notification cards, newest first, plus the unread badge and a poll watermark." },
123
+ meta: {
124
+ name: "list",
125
+ description: "List the connected account's notification cards, newest first, plus the unread badge and a poll watermark.",
126
+ examples: [
127
+ "curviate notification list",
128
+ "curviate notification list --filter mentions"
129
+ ]
130
+ },
130
131
  args: {
131
- ...GLOBAL_FLAGS,
132
+ ...readOnly(GLOBAL_FLAGS),
132
133
  filter: {
133
134
  type: "string",
134
135
  description: "Which notification stream to read (default all): all | jobs | mentions | my_posts | my_posts_comments | my_posts_reactions | my_posts_reposts."
@@ -153,7 +154,13 @@ var notificationListCommand = defineCommand({
153
154
  }
154
155
  });
155
156
  var notificationDeleteCommand = defineCommand({
156
- meta: { name: "delete", description: "Delete one of your notification cards by its card urn. Self-action, idempotent, cannot be undone." },
157
+ meta: {
158
+ name: "delete",
159
+ description: "Delete one of your notification cards by its card urn. Self-action, safe to repeat, cannot be undone. An injected card (injected: true) has no card urn and cannot be deleted. LinkedIn may bring editorial and promotional cards back after a delete; `show-less` is the reliable way to suppress those.",
160
+ examples: [
161
+ 'curviate notification delete "urn:li:fsd_notificationCard:(urn:li:fsd_notification:9999,ALL)"'
162
+ ]
163
+ },
157
164
  args: {
158
165
  ...WRITE_SINGLE_FLAGS,
159
166
  cardUrn: { type: "positional", description: "The card_urn field of a `notification list` item (not object_urn)." }
@@ -179,7 +186,10 @@ var notificationDeleteCommand = defineCommand({
179
186
  var notificationShowLessCommand = defineCommand({
180
187
  meta: {
181
188
  name: "show-less",
182
- description: "Apply 'show less like this' to the source of one of your notification cards. For network-activity cards this removes the card, same as delete. Self-action, idempotent, cannot be undone."
189
+ description: "Apply 'show less like this' to the source of one of your notification cards. For network-activity cards this removes the card, same as delete. Self-action, safe to repeat, cannot be undone.",
190
+ examples: [
191
+ 'curviate notification show-less "urn:li:fsd_notificationCard:(urn:li:fsd_notification:9999,ALL)"'
192
+ ]
183
193
  },
184
194
  args: {
185
195
  ...WRITE_SINGLE_FLAGS,