@letterstory/cli 0.177.69 → 0.177.70
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 +3 -2
- package/lib/commands/automate.mjs +4 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
91
91
|
|
|
92
92
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
93
|
-
export const VERSION = "0.177.
|
|
93
|
+
export const VERSION = "0.177.70";
|
|
94
94
|
|
|
95
95
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
96
96
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -738,7 +738,8 @@ Reviewers:
|
|
|
738
738
|
[--event <name>] [--kind post|landing] [--competitor <host>] [--site <host>]
|
|
739
739
|
[--every <n> --unit hours|days|weeks|months] [--facts <a,b>] [--recipe <id>]
|
|
740
740
|
[--fit-run <run-id> --publication-host <site>]
|
|
741
|
-
[--hot-leads-only] [--icp] [--
|
|
741
|
+
[--hot-leads-only] [--icp] [--delivery live|daily --delivery-hour <0-23> --timezone <zone>]
|
|
742
|
+
[--per-day <n>] [--backfill all|<YYYY-MM-DD>] [--off]
|
|
742
743
|
Make one (a template fills what you leave out): it starts
|
|
743
744
|
from now (--backfill also runs it on past events, oldest
|
|
744
745
|
first), acts on its own, and posts each event it acts on
|
|
@@ -51,6 +51,10 @@ const triggerParams = {
|
|
|
51
51
|
hot_leads_only: { flag: "hot-leads-only", type: "bool" },
|
|
52
52
|
// --icp: only people who fit the company's ICP (visitor_identified), checked against their stored fit.
|
|
53
53
|
icp: { flag: "icp", type: "bool" },
|
|
54
|
+
// --delivery daily --delivery-hour 17 --timezone America/New_York: visitors in one Slack message a day.
|
|
55
|
+
delivery: { flag: "delivery", enum: ["live", "daily"] },
|
|
56
|
+
delivery_hour: { flag: "delivery-hour", type: "num" },
|
|
57
|
+
delivery_timezone: { flag: "timezone" },
|
|
54
58
|
event: { flag: "event" },
|
|
55
59
|
per_day: { flag: "per-day", type: "num" },
|
|
56
60
|
// --trigger schedule --every 2 --unit weeks: a recurring automation, on the calendar (Monday, the 1st).
|