@wirecat/cli-base 0.102.1 → 0.103.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 +14 -0
- package/dist/standards/flags-crm.js +14 -0
- package/dist/standards/vocabulary.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,20 @@ 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.103.0 — 15.11.2026
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **The command vocabulary has the nouns `activities` and `changes`** (collections): a CRM's calls, e-mails,
|
|
16
|
+
meetings, to-dos and comments on its records, and what changed in a copied source over a time: records added, moved,
|
|
17
|
+
closed or reassigned. cli-core's shared CRM commands `activities list` and `changes list` use them; without the
|
|
18
|
+
words, every CLI that mounts them (bitrix24-cli `b24`, amoCRM `amo`, memo) fails `cli-dev lint`.
|
|
19
|
+
- **The flag vocabulary has `--email <address>` and `--phone <phone>`** (role `value`, string, each repeated for
|
|
20
|
+
more): an e-mail address and a phone number, in international form starting with `+`, to give a person or an
|
|
21
|
+
organization. CRM CLIs offer them on `people create|update` and `organizations create|update`; without the words,
|
|
22
|
+
such a command fails its `option-role` lint. To watch for: a command that declares either with another placeholder,
|
|
23
|
+
such as `--phone <number>`, fails `flag-two-meanings`; rename it to the vocabulary's.
|
|
24
|
+
|
|
11
25
|
## 0.102.1 — 15.11.2026
|
|
12
26
|
|
|
13
27
|
### Fixed
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
export const CRM_FLAGS = [
|
|
2
|
+
{
|
|
3
|
+
name: "--email",
|
|
4
|
+
value: "<address>",
|
|
5
|
+
role: "value",
|
|
6
|
+
type: "string",
|
|
7
|
+
meaning: "an e-mail address to give it; repeat it for more",
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
name: "--phone",
|
|
11
|
+
value: "<phone>",
|
|
12
|
+
role: "value",
|
|
13
|
+
type: "string",
|
|
14
|
+
meaning: "a phone number to give it, in international form starting with +; repeat it for more",
|
|
15
|
+
},
|
|
2
16
|
{
|
|
3
17
|
name: "--pipeline",
|
|
4
18
|
value: "<pipeline>",
|
|
@@ -286,6 +286,8 @@ const collections = [
|
|
|
286
286
|
["splits", "parts of one transaction, each with its own amount and category"],
|
|
287
287
|
["users", "people who work in the owner's account at a service, such as a CRM's employees"],
|
|
288
288
|
["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
|
|
289
|
+
["activities", "a CRM's calls, e-mails, meetings, to-dos and comments on its records"],
|
|
290
|
+
["changes", "what changed in a copied source over a time: records added, moved, closed or reassigned"],
|
|
289
291
|
[
|
|
290
292
|
"identities",
|
|
291
293
|
"ways to reach a person or an organization: an account in one messenger or mailbox, an e-mail address, a phone",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wirecat/cli-base",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.103.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",
|