@rafay99/cvx 0.16.0 → 0.20.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 +6 -2
- package/cvx.1 +6 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -141,6 +141,7 @@ bun run dev # runs as work — both live simultaneously
|
|
|
141
141
|
| `cvx accounts` | List stored accounts |
|
|
142
142
|
| `cvx ls` | List linked projects |
|
|
143
143
|
| `cvx which [path]` | Print the account name for a dir (scripting) |
|
|
144
|
+
| `cvx doctor` | Check your setup (node/npx, login, vault, hook) |
|
|
144
145
|
| `cvx rm <account>` | Forget an account and its links |
|
|
145
146
|
| `cvx hook [--install]` | Print (or install) the zsh cd-hook |
|
|
146
147
|
|
|
@@ -152,10 +153,13 @@ a single binary, so the split costs nothing at build time.
|
|
|
152
153
|
```
|
|
153
154
|
bin/cvx.ts entry point + command dispatch
|
|
154
155
|
src/store.ts data layer: vault I/O, the config swap, token verify, paths
|
|
155
|
-
src/ui.ts
|
|
156
|
+
src/ui.ts the logo banner, first-run welcome, help
|
|
157
|
+
src/colors.ts the palette (edit here to re-theme)
|
|
156
158
|
src/commands.ts one function per subcommand
|
|
159
|
+
src/hooks.ts zsh / bash / PowerShell shell-hook snippets
|
|
160
|
+
src/system.ts external-tool checks (node/npx)
|
|
157
161
|
src/args.ts flag parsing
|
|
158
|
-
man/cvx.1 man page (installed by Homebrew → `man cvx`)
|
|
162
|
+
man/cvx.1 man page (installed by Homebrew/npm → `man cvx`)
|
|
159
163
|
```
|
|
160
164
|
|
|
161
165
|
First run of a bare `cvx` shows a welcome screen; `cvx welcome` shows it again,
|
package/cvx.1
CHANGED
|
@@ -64,6 +64,12 @@ Print the account name for a directory (exit 1 if none). For scripting.
|
|
|
64
64
|
.B cvx rm \fIaccount\fR
|
|
65
65
|
Forget an account and any links pointing at it.
|
|
66
66
|
.TP
|
|
67
|
+
.B cvx doctor
|
|
68
|
+
Check your setup and report problems: Node/npx availability (needed for
|
|
69
|
+
\fBcvx login\fR), whether you have a Convex login, vault integrity, the active
|
|
70
|
+
account, and whether the shell hook is installed. Exits non-zero if something
|
|
71
|
+
needs attention.
|
|
72
|
+
.TP
|
|
67
73
|
.B cvx welcome
|
|
68
74
|
Show the welcome screen again.
|
|
69
75
|
.TP
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rafay99/cvx",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Switch Convex accounts per project automatically — run many Convex accounts across projects at once, no login/logout churn, no deploy keys, no tokens in your repos",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"convex", "convex-dev", "convex-cli", "cli", "command-line",
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"files": ["launcher.js", "cvx.1", "README.md", "LICENSE"],
|
|
20
20
|
"engines": { "node": ">=16" },
|
|
21
21
|
"optionalDependencies": {
|
|
22
|
-
"@rafay99/cvx-darwin-arm64": "0.
|
|
23
|
-
"@rafay99/cvx-darwin-x64": "0.
|
|
24
|
-
"@rafay99/cvx-linux-x64": "0.
|
|
25
|
-
"@rafay99/cvx-linux-arm64": "0.
|
|
26
|
-
"@rafay99/cvx-win32-x64": "0.
|
|
22
|
+
"@rafay99/cvx-darwin-arm64": "0.20.0",
|
|
23
|
+
"@rafay99/cvx-darwin-x64": "0.20.0",
|
|
24
|
+
"@rafay99/cvx-linux-x64": "0.20.0",
|
|
25
|
+
"@rafay99/cvx-linux-arm64": "0.20.0",
|
|
26
|
+
"@rafay99/cvx-win32-x64": "0.20.0"
|
|
27
27
|
}
|
|
28
28
|
}
|