@linguacode/cli 1.2.0 → 1.4.1
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 +19 -4
- package/bin/lingua.cjs +904 -531
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,18 @@ execution contract without loading Electron, React, or renderer code.
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
On macOS, Homebrew installs the release-owned CLI archive and its Node 24
|
|
10
|
+
runtime without invoking npm:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
brew install johnny4young/tap/lingua-cli
|
|
14
|
+
lingua --version
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Homebrew also installs Bash, Zsh, and Fish completion files automatically.
|
|
18
|
+
|
|
19
|
+
The npm package remains available on every Node-supported platform and
|
|
20
|
+
requires Node.js 24.x:
|
|
10
21
|
|
|
11
22
|
```bash
|
|
12
23
|
pnpm add --global @linguacode/cli
|
|
@@ -14,9 +25,12 @@ lingua --version
|
|
|
14
25
|
```
|
|
15
26
|
|
|
16
27
|
Release pages also carry standalone Windows and Linux x64 archives. Those
|
|
17
|
-
archives embed the matching Node.js runtime
|
|
18
|
-
|
|
19
|
-
|
|
28
|
+
archives embed the matching Node.js runtime for the CLI itself, so utilities
|
|
29
|
+
and Capsule validation do not require a separate Node installation. Running or
|
|
30
|
+
replaying JavaScript and TypeScript still requires Node.js 24 on `PATH`; other
|
|
31
|
+
languages need their own command-line toolchains. Extract the archive, place
|
|
32
|
+
`lingua` or `lingua.exe` on `PATH`, and verify it against the release
|
|
33
|
+
`SHA256SUMS.txt` before use.
|
|
20
34
|
|
|
21
35
|
## Examples
|
|
22
36
|
|
|
@@ -26,6 +40,7 @@ printf 'hello' | lingua utility base64-encode
|
|
|
26
40
|
lingua run ./script.ts -- --name Ada
|
|
27
41
|
lingua capsule validate ./run.capsule.json
|
|
28
42
|
lingua capsule replay ./run.capsule.json --json
|
|
43
|
+
lingua completion # detect shells and offer to install completions
|
|
29
44
|
```
|
|
30
45
|
|
|
31
46
|
See the complete command, output, and exit-code contract in
|