@order3000/cli 0.16.13 → 0.17.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/README.md +22 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -50,6 +50,28 @@ in macOS Keychain / Linux libsecret.
|
|
|
50
50
|
|
|
51
51
|
---
|
|
52
52
|
|
|
53
|
+
## From the checkout: always the code as it stands
|
|
54
|
+
|
|
55
|
+
Homebrew and npm install a build, and a build is behind the checkout: a
|
|
56
|
+
command added today is not in the binary of last week. Whoever works in the
|
|
57
|
+
repository links the starter into a folder of the `PATH` once:
|
|
58
|
+
|
|
59
|
+
```sh
|
|
60
|
+
ln -s ~/Projects/kadal/apps/order3000/cli/bin/order3000.mjs /opt/homebrew/bin/order3000
|
|
61
|
+
order3000 --version
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
From then on `order3000` runs `src/cli.ts` of that checkout — no build of
|
|
65
|
+
the CLI, no release, nothing to upgrade. It needs the checkout installed
|
|
66
|
+
(`pnpm install`) and the Node SDK it talks through built there
|
|
67
|
+
(`libs/order3000/node-sdk`, as every dev server and lint run of the
|
|
68
|
+
checkout needs it too).
|
|
69
|
+
|
|
70
|
+
The starter is three lines (`bin/order3000.mjs`); the mechanism is
|
|
71
|
+
`@kolaveri/dev-tools/cli-from-source`, shared with the `billionaire` CLI.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
53
75
|
## Shell completion (tab autocomplete)
|
|
54
76
|
|
|
55
77
|
`order3000 completion <shell>` prints a completion script for your
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@order3000/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Agent-friendly command-line interface for the order3000 platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"tsup": "^8.3.5",
|
|
28
28
|
"tsx": "^4.19.2",
|
|
29
29
|
"typescript": "^5.9.3",
|
|
30
|
-
"@kolaveri/eslint-config": "1.
|
|
30
|
+
"@kolaveri/eslint-config": "1.28.0",
|
|
31
31
|
"@kolaveri/prettier-config": "1.0.6",
|
|
32
32
|
"@kolaveri/tsconfig": "1.0.1",
|
|
33
|
-
"@kolaveri/utils": "2.
|
|
33
|
+
"@kolaveri/utils": "2.1.0"
|
|
34
34
|
},
|
|
35
35
|
"prettier": "@kolaveri/prettier-config",
|
|
36
36
|
"scripts": {
|