CLI reference
Every vtx command.
vtx is the Vantrex command line.
vtx login [--api URL] [--auth URL] sign in through the browser
vtx link [--name NAME] create or reuse a project for this directory
vtx deploy [--prod] [DIR] upload the source in DIR (default .), build it remotely, print the URL
vtx deploy --prebuilt [--prod] DIR upload DIR as-is (already-built static output)
vtx logs [--runtime] ID stream the build log (or, with --runtime, what the app prints)
vtx promote ID point production at a ready deployment
vtx ls recent deployments of the linked project
vtx version print the version of this CLI
vtx login
Signs you in through the browser. Run it once on each machine.
vtx link
Links the current directory to a project, creating one if needed. Use --name to choose the project name.
vtx deploy
Uploads the source in a directory, builds it remotely and prints the URL. Without --prod the result is a preview. With --prod, production moves to the deployment once it is ready.
Use --prebuilt to upload a directory as it is, for static output that you have already built.
vtx logs
Streams the build log of a deployment. With --runtime it shows what the running app prints instead.
vtx promote
Points production at a deployment that is ready. See Rollbacks.
vtx ls
Lists recent deployments of the linked project, with their ids.