@letterstory/cli 0.177.110 → 0.177.111
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 +4 -2
- package/lib/commands/site.mjs +1 -0
- package/package.json +1 -1
package/lib/cli.mjs
CHANGED
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
import { fetchParkedSections, withoutParked } from "./parked.mjs";
|
|
92
92
|
|
|
93
93
|
// Matches cli/package.json; publish-cli.yml rewrites both to the published version.
|
|
94
|
-
export const VERSION = "0.177.
|
|
94
|
+
export const VERSION = "0.177.111";
|
|
95
95
|
|
|
96
96
|
/** The exit code for a gate refusal (CARD_REQUIRED, PAYMENT_FAILED, OUT_OF_TOKENS): 1 is a plain error. */
|
|
97
97
|
export const EXIT_PAYMENT_REQUIRED = 3;
|
|
@@ -237,6 +237,8 @@ export const BOOLEAN_FLAGS = new Set([
|
|
|
237
237
|
"no-modifiers",
|
|
238
238
|
// site map: do not start an audit for a host that has none.
|
|
239
239
|
"no-audit",
|
|
240
|
+
// site map: the owner lets Letter crawl past the site's robots.txt.
|
|
241
|
+
"crawl-past-robots",
|
|
240
242
|
// admin deployments: answer from our rows alone, without reading the host.
|
|
241
243
|
"no-host",
|
|
242
244
|
// site metrics: skip the previous window (no deltas, no revamp indicator).
|
|
@@ -1957,7 +1959,7 @@ Build (a change to your site, or launching what isn't code; the Build box's own
|
|
|
1957
1959
|
|
|
1958
1960
|
The Site (one model of your whole marketing site, keyed by host and path):
|
|
1959
1961
|
site list Mapped hosts, and hosts you already have elsewhere
|
|
1960
|
-
site map <host> [--sitemap <url>] [--max-pages <n>] [--no-audit] [--relation owned|watched]
|
|
1962
|
+
site map <host> [--sitemap <url>] [--max-pages <n>] [--no-audit] [--relation owned|watched] [--crawl-past-robots]
|
|
1961
1963
|
Map a host from its sitemap; starts an audit if it has none
|
|
1962
1964
|
site refresh <host> [--force-map] [--force-audit] [--skip-observe] [--skip-suggest]
|
|
1963
1965
|
Run the daily loop now: re-map, re-audit, signals, Jev
|
package/lib/commands/site.mjs
CHANGED
|
@@ -65,6 +65,7 @@ const ARGS = {
|
|
|
65
65
|
max_pages: { flag: "max-pages", type: "num" },
|
|
66
66
|
audit: { flag: "no-audit", type: "bool", invert: true },
|
|
67
67
|
relation: { flag: "relation", enum: ["owned", "watched"] },
|
|
68
|
+
crawl_past_robots: { flag: "crawl-past-robots", type: "bool" },
|
|
68
69
|
},
|
|
69
70
|
refresh_site: {
|
|
70
71
|
host: { positional: 0, required: true, label: "host" },
|