@convexvalue/cli
v0.2.0
Published
Command line tools for ConvexValue apps.
Readme
@convexvalue/cli
Command line tools for ConvexValue apps.
cvx login
cvx whoami
npm run build
cvx upload --app my-app --dir dist
cvx list
cvx logoutcvx login stores the ConvexValue session cookie locally, so later upload and list
commands do not need credentials.
Credentials can still be provided interactively or with CVX_EMAIL, CVX_PASSWORD,
and CVX_BASE_URL. Use CVX_AUTH_FILE or CVX_CONFIG_DIR to override where the
saved session is stored.
Uploaded apps run from https://username--app.convexvalue.app. ConvexValue sets
a host-only .app session cookie during launch, so app data helpers call
same-origin /api/get, /api/data, and /api/ws without injected
credentials.
