@murongg/aah-cli 0.1.3 → 0.1.4
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 +17 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,6 +10,20 @@ npm install -g @murongg/aah-cli
|
|
|
10
10
|
|
|
11
11
|
The npm package has its own standalone CLI version and downloads the matching prebuilt native binary from the `cli-vX.Y.Z` GitHub Release during installation.
|
|
12
12
|
|
|
13
|
+
On macOS or Linux, you can install the standalone Release binary without npm:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
curl -fsSL https://raw.githubusercontent.com/murongg/ai-accounts-hub/main/scripts/install-aah.sh | sh
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
Pin a version or install into another directory:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
curl -fsSL https://raw.githubusercontent.com/murongg/ai-accounts-hub/main/scripts/install-aah.sh -o install-aah.sh
|
|
23
|
+
AAH_VERSION=0.1.3 sh install-aah.sh
|
|
24
|
+
AAH_INSTALL_DIR=/usr/local/bin sh install-aah.sh
|
|
25
|
+
```
|
|
26
|
+
|
|
13
27
|
Publishing from GitHub Actions requires the repository secret `NPM_TOKEN` to be an npm Automation token when the npm account has publish 2FA enabled. A regular publish token will fail with `EOTP` because CI cannot provide a one-time password.
|
|
14
28
|
|
|
15
29
|
## Usage
|
|
@@ -31,12 +45,15 @@ TUI shortcuts:
|
|
|
31
45
|
Run script-friendly commands:
|
|
32
46
|
|
|
33
47
|
```bash
|
|
48
|
+
aah add --provider codex
|
|
34
49
|
aah list
|
|
35
50
|
aah current
|
|
36
51
|
aah refresh
|
|
37
52
|
aah switch --provider codex user@example.com
|
|
38
53
|
```
|
|
39
54
|
|
|
55
|
+
`aah add --provider ...` starts the provider's login flow, stores the account in the managed account pool, and leaves the current active CLI account unchanged.
|
|
56
|
+
|
|
40
57
|
Filter by provider:
|
|
41
58
|
|
|
42
59
|
```bash
|