@letterstory/cli 0.175.13 → 0.175.14

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/lib/cli.mjs CHANGED
@@ -78,7 +78,7 @@ import {
78
78
  } from "./commands.mjs";
79
79
 
80
80
  // Matches cli/package.json; publish-cli.yml rewrites both to the published version.
81
- export const VERSION = "0.175.13";
81
+ export const VERSION = "0.175.14";
82
82
 
83
83
  /** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
84
84
  export const EXIT_PAYMENT_REQUIRED = 3;
@@ -505,7 +505,7 @@ Phantomstory (a collection Letter hosts as an independent publication):
505
505
  phantom delete <phantom-id> --yes
506
506
 
507
507
  Content:
508
- posts list [--limit <n>] [--offset <n>] [--collection <uuid>] [--search <words>] [--mine]
508
+ posts list [--limit <n>] [--offset <n>] [--collection <uuid>] [--search <words>] [--mine] [--published-after <date>] [--published-before <date>]
509
509
  List your articles
510
510
  posts show <article-id> Show one article
511
511
  posts new --title <t> --collection <uuid> (--body <text> | --file <path|->) [--article-id <uuid>] [--context <text>]
@@ -252,6 +252,8 @@ async function postsList(ctx) {
252
252
  collection_id: flagStr(flags.collection),
253
253
  search: flagStr(flags.search),
254
254
  mine: flags.mine === true ? true : undefined,
255
+ published_after: flagStr(flags["published-after"]),
256
+ published_before: flagStr(flags["published-before"]),
255
257
  });
256
258
  const result = await client.callTool("list_articles", args);
257
259
  printResult(io, flags, result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letterstory/cli",
3
- "version": "0.175.13",
3
+ "version": "0.175.14",
4
4
  "description": "Spin up and manage Letter phantom blogs from your terminal.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",