chirpie 1.0.34 → 1.0.36

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/README.md CHANGED
@@ -39,13 +39,15 @@ export CHIRPIE_API_KEY=chirpie_sk_...
39
39
  | `chirpie accounts activate <id>` / `deactivate <id>` | Choose which accounts publish. Deactivating cancels that account's scheduled posts |
40
40
  | `chirpie accounts connect-x` | Start the X OAuth flow and print the URL |
41
41
  | `chirpie accounts connect-bluesky` | Connect Bluesky with an app password |
42
- | `chirpie accounts connect-linkedin` / `connect-threads` / `connect-mastodon` / `connect-instagram` / `connect-facebook` | Start that platform's OAuth flow |
42
+ | `chirpie accounts connect-linkedin` / `connect-mastodon` | Start that platform's OAuth flow |
43
+ | `chirpie accounts connect-threads` / `connect-instagram` / `connect-facebook` | Start that platform's OAuth flow (coming soon) |
44
+ | `chirpie accounts connect-linkedin --pages` | Connect the LinkedIn Pages you administer, each as its own account (coming soon) |
43
45
  | `chirpie accounts connect-telegram` | Connect a Telegram bot to a channel or group |
44
46
  | `chirpie accounts x-keys set` / `status` / `remove` | Use your own X developer app |
45
47
  | `chirpie analytics <post_id>` | Engagement metrics for a published post |
46
48
  | `chirpie keys` / `keys create` / `keys revoke <id>` | Manage API keys |
47
49
 
48
- Run `chirpie <command> --help` for the full option list. Pinterest, TikTok, YouTube and Google Business Profile are coming soon.
50
+ Run `chirpie <command> --help` for the full option list. Threads, Instagram, Facebook, Pinterest, TikTok, YouTube and Google Business Profile are coming soon. Accounts already connected keep posting and scheduling as normal.
49
51
 
50
52
  ## Examples
51
53
 
package/dist/index.js CHANGED
@@ -522,15 +522,22 @@ accountsCommand.command("connect-bluesky").description("Connect a Bluesky accoun
522
522
  }
523
523
  });
524
524
  accountsCommand.command("connect-linkedin").description(
525
- "Connect LinkedIn via OAuth. Connects your profile, plus any LinkedIn Pages you administer where Page posting is available"
525
+ "Connect LinkedIn via OAuth. Connects your profile by default; pass --pages for the LinkedIn Pages you administer (coming soon)"
526
+ ).option(
527
+ "--pages",
528
+ "Connect the LinkedIn Pages you administer, each as its own account (coming soon)"
526
529
  ).option("--json", "Output raw JSON").action(async (opts, cmd) => {
527
530
  const client = getClient();
528
531
  try {
529
- const result = await client.connectLinkedInAccount();
532
+ const result = await client.connectLinkedInAccount(
533
+ opts.pages ? "pages" : void 0
534
+ );
530
535
  if (wantsJson(opts, cmd)) {
531
536
  json(result);
532
537
  } else {
533
- info("Open this URL in your browser to connect your LinkedIn account:");
538
+ info(
539
+ opts.pages ? "Open this URL in your browser to connect your LinkedIn Pages:" : "Open this URL in your browser to connect your LinkedIn account:"
540
+ );
534
541
  console.log(`
535
542
  ${result.authorization_url}
536
543
  `);
@@ -540,7 +547,7 @@ accountsCommand.command("connect-linkedin").description(
540
547
  process.exit(1);
541
548
  }
542
549
  });
543
- accountsCommand.command("connect-threads").description("Connect a Threads (Meta) account via OAuth").option("--json", "Output raw JSON").action(async (opts, cmd) => {
550
+ accountsCommand.command("connect-threads").description("Connect a Threads (Meta) account via OAuth (coming soon)").option("--json", "Output raw JSON").action(async (opts, cmd) => {
544
551
  const client = getClient();
545
552
  try {
546
553
  const result = await client.connectThreadsAccount();
@@ -580,7 +587,7 @@ accountsCommand.command("connect-mastodon").description("Connect a Mastodon acco
580
587
  process.exit(1);
581
588
  }
582
589
  });
583
- accountsCommand.command("connect-instagram").description("Connect an Instagram account via Instagram Login (OAuth)").option("--json", "Output raw JSON").action(async (opts, cmd) => {
590
+ accountsCommand.command("connect-instagram").description("Connect an Instagram account via Instagram Login (OAuth, coming soon)").option("--json", "Output raw JSON").action(async (opts, cmd) => {
584
591
  const client = getClient();
585
592
  try {
586
593
  const result = await client.connectInstagramAccount();
@@ -597,7 +604,7 @@ accountsCommand.command("connect-instagram").description("Connect an Instagram a
597
604
  process.exit(1);
598
605
  }
599
606
  });
600
- accountsCommand.command("connect-facebook").description("Connect a Facebook Page via Facebook Login (OAuth)").option(
607
+ accountsCommand.command("connect-facebook").description("Connect a Facebook Page via Facebook Login (OAuth, coming soon)").option(
601
608
  "--reconnect",
602
609
  "Re-run the flow for an already authorized Facebook account, asking again about anything turned down last time"
603
610
  ).option("--json", "Output raw JSON").action(async (opts, cmd) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chirpie",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "Chirpie CLI: post to social media from the command line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,7 +44,7 @@
44
44
  ],
45
45
  "license": "MIT",
46
46
  "dependencies": {
47
- "@chirpie/sdk": "^1.0.31",
47
+ "@chirpie/sdk": "^1.0.33",
48
48
  "commander": "^13"
49
49
  },
50
50
  "devDependencies": {