chirpie 1.0.34 → 1.0.35

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
@@ -40,6 +40,7 @@ export CHIRPIE_API_KEY=chirpie_sk_...
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
42
  | `chirpie accounts connect-linkedin` / `connect-threads` / `connect-mastodon` / `connect-instagram` / `connect-facebook` | Start that platform's OAuth flow |
43
+ | `chirpie accounts connect-linkedin --pages` | Connect the LinkedIn Pages you administer, each as its own account (coming soon) |
43
44
  | `chirpie accounts connect-telegram` | Connect a Telegram bot to a channel or group |
44
45
  | `chirpie accounts x-keys set` / `status` / `remove` | Use your own X developer app |
45
46
  | `chirpie analytics <post_id>` | Engagement metrics for a published post |
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
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chirpie",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
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.32",
48
48
  "commander": "^13"
49
49
  },
50
50
  "devDependencies": {