@wirecat/cli-base 0.90.1 → 0.91.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 +11 -0
- package/dist/standards/flags-crm.js +7 -0
- package/dist/standards/flags-what.js +1 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,17 @@ 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.91.0 — 08.11.2026
|
|
12
|
+
|
|
13
|
+
### Changed — may break callers
|
|
14
|
+
|
|
15
|
+
- **A charge's repeat is `--period <count-unit>`, and `--every` takes only `<duration>` again.** Flag
|
|
16
|
+
`--period` (`value`, a count and a calendar unit such as `1-month`) is how often a charge repeats. `--every` lost
|
|
17
|
+
its second value kind `<count-unit>`: one flag with two kinds of value is what `cli-dev audit`'s `same-flag-meaning`
|
|
18
|
+
exists to catch, and memo's `subscriptions --every` failed it beside drive, gcal, mail, max and tg. A CLI that gives
|
|
19
|
+
`--every` a `<count-unit>` now fails `flag-two-meanings` in `cli-dev lint`: rename it to `--period`. memo is the only
|
|
20
|
+
one.
|
|
21
|
+
|
|
11
22
|
## 0.90.1 — 08.11.2026
|
|
12
23
|
|
|
13
24
|
### Fixed
|
|
@@ -102,6 +102,13 @@ export const CRM_FLAGS = [
|
|
|
102
102
|
type: "choice",
|
|
103
103
|
meaning: "it renews by itself at its end, or it does not",
|
|
104
104
|
},
|
|
105
|
+
{
|
|
106
|
+
name: "--period",
|
|
107
|
+
value: "<count-unit>",
|
|
108
|
+
role: "value",
|
|
109
|
+
type: "duration",
|
|
110
|
+
meaning: "how often a charge repeats: a count and a calendar unit, such as 1-month",
|
|
111
|
+
},
|
|
105
112
|
{
|
|
106
113
|
name: "--opening-balance",
|
|
107
114
|
value: "<decimal>",
|
|
@@ -736,14 +736,7 @@ export const WHAT_FLAGS = [
|
|
|
736
736
|
type: "id",
|
|
737
737
|
meaning: "the stored calendar event it is linked to, or none to unlink",
|
|
738
738
|
},
|
|
739
|
-
{
|
|
740
|
-
name: "--every",
|
|
741
|
-
value: "<duration>",
|
|
742
|
-
role: "value",
|
|
743
|
-
type: "duration",
|
|
744
|
-
otherValues: ["count-unit"],
|
|
745
|
-
meaning: "repeat this often: a length of time for a timer (<duration>), a count and a calendar unit for a charge, such as 1-month (<count-unit>)",
|
|
746
|
-
},
|
|
739
|
+
{ name: "--every", value: "<duration>", role: "value", type: "duration", meaning: "repeat this often" },
|
|
747
740
|
{
|
|
748
741
|
name: "--evidence",
|
|
749
742
|
value: "<ref...>",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.91.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",
|