@letterstory/cli 0.176.26 → 0.176.27
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 +2 -2
- package/lib/commands/automate.mjs +1 -8
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
83
83
|
|
|
84
84
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
85
|
-
export const VERSION = "0.176.
|
|
85
|
+
export const VERSION = "0.176.27";
|
|
86
86
|
|
|
87
87
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
88
88
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -615,7 +615,7 @@ Reviewers:
|
|
|
615
615
|
automate list Your automations: an event, which ones it acts on,
|
|
616
616
|
and what Letterpress then does
|
|
617
617
|
automate show <automation-id>
|
|
618
|
-
automate add [--template post_new_issues|
|
|
618
|
+
automate add [--template post_new_issues|recommended_actions|competitor_pages|icp_visitors|plan_updates]
|
|
619
619
|
[--name <n>] [--trigger competitor_page|visitor_identified|issue_found|build_suggestion|plan_update|custom]
|
|
620
620
|
[--prompt <what Letterpress does with each event>] [--slack-channel <C…>] [--instruction <which events>]
|
|
621
621
|
[--event <name>] [--kind post|landing] [--competitor <host>] [--site <host>]
|
|
@@ -8,14 +8,7 @@ import { CliError } from "../client.mjs";
|
|
|
8
8
|
import { printResult, ok, argsFromFlags, flagList, refuseUnknownFlags } from "./shared.mjs";
|
|
9
9
|
|
|
10
10
|
const TRIGGERS = ["competitor_page", "visitor_identified", "issue_found", "build_suggestion", "plan_update", "custom"];
|
|
11
|
-
const TEMPLATES = [
|
|
12
|
-
"post_new_issues",
|
|
13
|
-
"fix_new_issues",
|
|
14
|
-
"recommended_actions",
|
|
15
|
-
"competitor_pages",
|
|
16
|
-
"icp_visitors",
|
|
17
|
-
"plan_updates",
|
|
18
|
-
];
|
|
11
|
+
const TEMPLATES = ["post_new_issues", "recommended_actions", "competitor_pages", "icp_visitors", "plan_updates"];
|
|
19
12
|
const STATUSES = ["pending", "proposed", "acting", "acted", "skipped", "failed", "rejected"];
|
|
20
13
|
|
|
21
14
|
const triggerParams = {
|