arp-tui 0.0.1 → 0.0.3
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 +20 -0
- package/dist/index.js +807 -107
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,7 @@ the agents and people in your ARP workspace.
|
|
|
38
38
|
- `arp-tui login` — sign in once via your browser
|
|
39
39
|
- `arp-tui logout` — revoke access and delete stored tokens
|
|
40
40
|
- `arp-tui status` — show stored credentials and their state
|
|
41
|
+
- `arp-tui profile` — manage saved instances (see [Profiles](#profiles))
|
|
41
42
|
|
|
42
43
|
## Options
|
|
43
44
|
|
|
@@ -45,6 +46,25 @@ the agents and people in your ARP workspace.
|
|
|
45
46
|
- `--profile <name>` — use a named credential profile
|
|
46
47
|
- `-h`, `--help` — full usage
|
|
47
48
|
|
|
49
|
+
## Profiles
|
|
50
|
+
|
|
51
|
+
A profile is a named ARP instance (relay + web + auth coordinates). The client
|
|
52
|
+
ships with a default profile and stores your profiles in `~/.arp-tui/config.json`.
|
|
53
|
+
Manage them without hand-editing that file:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
arp-tui profile list # show saved profiles (active marked *)
|
|
57
|
+
arp-tui profile add work --relay https://relay.example.com \
|
|
58
|
+
--web https://app.example.com \
|
|
59
|
+
--clerk-fapi https://your-instance.clerk.accounts.dev
|
|
60
|
+
arp-tui profile switch work # make "work" the active profile
|
|
61
|
+
arp-tui profile remove work # delete a profile
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Run any command against one profile without changing the active one using
|
|
65
|
+
`--profile <name>` (or the `ARP_TUI_PROFILE` environment variable). Credentials
|
|
66
|
+
are stored per instance, so switching profiles never mixes up your sign-ins.
|
|
67
|
+
|
|
48
68
|
## Requirements
|
|
49
69
|
|
|
50
70
|
Node.js >= 20.
|