@letterstory/cli 0.158.0 → 0.158.1
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 +1 -1
- package/lib/commands/site.mjs +2 -2
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
|
|
67
67
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
68
68
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
69
|
-
export const VERSION = "0.158.
|
|
69
|
+
export const VERSION = "0.158.1";
|
|
70
70
|
|
|
71
71
|
// Flags that never take a value. Listing them explicitly means `deploy get --json <id>`
|
|
72
72
|
// can't accidentally swallow the id as --json's value. Every `type: "bool"` flag (and its
|
package/lib/commands/site.mjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// site builds <host> → list_build_suggestions (--limit n)
|
|
6
6
|
// site research-builds <host> → research_builds (Build's suggestion pass: propose, check, Jev, store)
|
|
7
7
|
// site research-fixes <host> → research_fixes (Fix's suggestion pass: exact edits on pages that exist)
|
|
8
|
-
// site metrics <host> [path] → get_site_metrics (--window 7d|28d|90d, --page <path>…, --no-compare)
|
|
8
|
+
// site metrics <host> [path] → get_site_metrics (--window 1d|7d|28d|90d, --page <path>…, --no-compare)
|
|
9
9
|
// site observations <host> → list_site_observations site observe <host> → observe_site
|
|
10
10
|
// site dismiss <host> <id> → dismiss_site_observation
|
|
11
11
|
// site families <host> → list_site_families site decide-family <id> → decide_site_family
|
|
@@ -96,7 +96,7 @@ const ARGS = {
|
|
|
96
96
|
host: { positional: 0, required: true, label: "host" },
|
|
97
97
|
path: { positional: 1, label: "path" },
|
|
98
98
|
paths: { flag: "page", type: "list" },
|
|
99
|
-
window: { flag: "window", enum: ["7d", "28d", "90d"] },
|
|
99
|
+
window: { flag: "window", enum: ["1d", "7d", "28d", "90d"] },
|
|
100
100
|
compare: { flag: "no-compare", type: "bool", invert: true },
|
|
101
101
|
},
|
|
102
102
|
list_competitor_sites: {
|