@wirecat/cli-base 0.120.0 → 0.121.0

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/CHANGELOG.md CHANGED
@@ -8,6 +8,14 @@ Versions before 0.8.0 are in the [git tags](https://github.com/WireCatLabs/cli-b
8
8
  Every entry says what changed as a caller sees it, why, and what to watch for — the rules are
9
9
  [`docs/dev/CONVENTIONS.md`](docs/dev/CONVENTIONS.md#the-changelog).
10
10
 
11
+ ## 0.121.0 — 19.11.2026
12
+
13
+ ### Fixed
14
+
15
+ - **`--site` and `--login` have their role in the option vocabulary.** cli-core's `tokenSessionCommand` adds them to
16
+ `session start` for a service on the owner's own site (WordPress), and `cli-dev lint` refused both as options
17
+ without a role (`option-role`), so a WordPress CLI made from cli-template failed its lint.
18
+
11
19
  ## 0.120.0 — 19.11.2026
12
20
 
13
21
  ### Added
@@ -378,13 +378,7 @@ export const HOW_FLAGS = [
378
378
  type: "string",
379
379
  meaning: "a person whose reply counts as an answer; repeat it for more",
380
380
  },
381
- {
382
- name: "--browser",
383
- value: "<program>",
384
- role: "mode",
385
- type: "string",
386
- meaning: "the browser program to open for sign-in",
387
- },
381
+ { name: "--browser", value: "<program>", role: "mode", type: "string", meaning: "the browser to open for sign-in" },
388
382
  {
389
383
  name: "--credential-storage",
390
384
  value: "<storage>",
@@ -393,6 +387,8 @@ export const HOW_FLAGS = [
393
387
  meaning: "where a sign-in is kept: keyring, which falls back to a private file by itself, or file (WC-SECR-4)",
394
388
  },
395
389
  { name: "--checkpoint", value: "<file>", role: "mode", type: "path", meaning: "keep resume progress in this file" },
390
+ { name: "--site", value: "<address>", role: "mode", type: "string", meaning: "the owner's site a sign-in is for" },
391
+ { name: "--login", value: "<name>", role: "mode", type: "string", meaning: "the user name a password is for" },
396
392
  {
397
393
  name: "--expected-event-id",
398
394
  value: "<id>",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-base",
3
- "version": "0.120.0",
3
+ "version": "0.121.0",
4
4
  "description": "The parts every command line tool needs: output modes, terminal rendering, error model, exit codes, credentials, clocks",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Viacheslav Ptsarev",