@ikenga/cli 0.2.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 +36 -0
- package/dist/index.js +9520 -0
- package/package.json +40 -0
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @ikenga/cli
|
|
2
|
+
|
|
3
|
+
Command-line tool for managing Ikenga pkgs.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Bun is the runtime; install it first.
|
|
9
|
+
curl -fsSL https://bun.sh/install | bash
|
|
10
|
+
|
|
11
|
+
# Then install the CLI from npm.
|
|
12
|
+
npm i -g @ikenga/cli # or: bun install -g @ikenga/cli
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
The package ships as JS source (~70 KB gzipped) with a `#!/usr/bin/env bun` shebang. Bun must be on your `$PATH`. We dropped the `bun --compile` binaries in v0.2.0 — the bundled-binary route added ~80 MB per platform for the same code.
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
ikenga list # what's installed locally
|
|
21
|
+
ikenga list --available # what's in the signed registry
|
|
22
|
+
ikenga add @ikenga/pkg-hello # install latest
|
|
23
|
+
ikenga add @ikenga/pkg-hello@0.1.0 # install a specific version
|
|
24
|
+
ikenga add <pkg> --dry-run # show the plan, install nothing
|
|
25
|
+
ikenga update <pkg> # update one
|
|
26
|
+
ikenga update --all # update everything outdated
|
|
27
|
+
ikenga remove com.ikenga.hello # by manifest id, or...
|
|
28
|
+
ikenga remove @ikenga/pkg-hello # ...by npm name
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Installs land in the shell's pkgs directory (overridable with `IKENGA_APP_DATA_DIR`). The shell registers them on next boot. The CLI does not currently talk to a running shell over IPC; that's a planned enhancement.
|
|
32
|
+
|
|
33
|
+
## Versioning
|
|
34
|
+
|
|
35
|
+
`v0.2.0` — JS-source npm distribution; requires Bun on `$PATH`.
|
|
36
|
+
`v0.1.x` — bun-compiled standalone binaries (deprecated; available on the GitHub Releases page until the next archive sweep).
|