diff --git a/CHANGELOG.md b/CHANGELOG.md index 5506775..a94f0a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,14 @@ Versions before 0.8.0 are in the [git tags](https://github.com/WireCatLabs/cli-b Every entry says what changed as a caller sees it, why, and what to watch for — the rules are [`docs/dev/CONVENTIONS.md`](docs/dev/CONVENTIONS.md#the-changelog). +## Unreleased + +### Fixed + +- **`--site` and `--login` have their role in the option vocabulary.** cli-core's `tokenSessionCommand` adds them to + `session start` for a service on the owner's own site (WordPress), and `cli-dev lint` refused both as options + without a role (`option-role`), so a WordPress CLI made from cli-template failed its lint. + ## 0.120.0 — 19.11.2026 ### Added diff --git a/src/standards/flags-how.ts b/src/standards/flags-how.ts index 9b81362..d06bbb3 100644 --- a/src/standards/flags-how.ts +++ b/src/standards/flags-how.ts @@ -381,13 +381,7 @@ export const HOW_FLAGS: VocabularyFlag[] = [ type: "string", meaning: "a person whose reply counts as an answer; repeat it for more", }, - { - name: "--browser", - value: "", - role: "mode", - type: "string", - meaning: "the browser program to open for sign-in", - }, + { name: "--browser", value: "", role: "mode", type: "string", meaning: "the browser to open for sign-in" }, { name: "--credential-storage", value: "", @@ -396,6 +390,8 @@ export const HOW_FLAGS: VocabularyFlag[] = [ meaning: "where a sign-in is kept: keyring, which falls back to a private file by itself, or file (WC-SECR-4)", }, { name: "--checkpoint", value: "", role: "mode", type: "path", meaning: "keep resume progress in this file" }, + { name: "--site", value: "
", role: "mode", type: "string", meaning: "the owner's site a sign-in is for" }, + { name: "--login", value: "", role: "mode", type: "string", meaning: "the user name a password is for" }, { name: "--expected-event-id", value: "",