@letterstory/cli 0.177.168 → 0.177.169
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/site.mjs +2 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
94
94
|
|
|
95
95
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
96
|
-
export const VERSION = "0.177.
|
|
96
|
+
export const VERSION = "0.177.169";
|
|
97
97
|
|
|
98
98
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
99
99
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -2016,7 +2016,7 @@ The Site (one model of your whole marketing site, keyed by host and path):
|
|
|
2016
2016
|
site refresh <host> [--force-map] [--force-audit] [--skip-observe] [--skip-suggest]
|
|
2017
2017
|
Run the daily loop now: re-map, re-audit, signals, Jev
|
|
2018
2018
|
site unmap <host> Remove a host and everything hanging off it
|
|
2019
|
-
site tree <host> [path] [--depth <n>] [--unfold] [--since <iso>]
|
|
2019
|
+
site tree <host> [path] [--depth <n>] [--unfold] [--since <iso>] [--filter <words>]
|
|
2020
2020
|
The tree one folder at a time; --since adds +N/-N per folder
|
|
2021
2021
|
site page <host> <path> One page: facts, bindings, raw URLs, open items
|
|
2022
2022
|
site observations <host> [path] [--state open|dismissed|resolved] [--tone risk|warn|info] [--key <k>] [--since <iso>] [--min-reach <0..1>] [--keys]
|
package/lib/commands/site.mjs
CHANGED
|
@@ -90,6 +90,8 @@ const ARGS = {
|
|
|
90
90
|
unfold: { flag: "unfold", type: "bool" },
|
|
91
91
|
subtree: { flag: "subtree", type: "bool" },
|
|
92
92
|
since: { flag: "since" },
|
|
93
|
+
// The Site's search over the whole map: matches and the folders above them.
|
|
94
|
+
filter: { flag: "filter" },
|
|
93
95
|
// The ranking's top n, or "all", instead of the attention policy's short list.
|
|
94
96
|
focus_size: {
|
|
95
97
|
value: (flags) => {
|