Local commands
Workflow commands wrap a short sequence of local and platform steps into one command: they read the current repository, call a few operations, and print the result in a form a person can read. This page lists the commands in the current release, by action.
The full list — every command with its usage, examples and options — is in the Command reference; this page only walks through a few common actions.
Publish an app
praxis app publish --dir ./my-appBuilds the project, uploads it, creates the secrets the project declares, runs a health check, and prints the public URL. With the build already done, --no-build publishes the existing dist/.
praxis app rollback --to <version_id>Deploys the previous version again (or the one named by --to) and waits until it is live. Without --to it rolls back one version.
To start an app from scratch, praxis app create <name> copies the standard template and installs its dependencies; --dir picks the directory, --template uses a local template instead.
Read a deploy plan
praxis devops deploy plan --env develop --since HEAD~1Lists the targets this repository deploys, by dependency layer; with --since it marks the targets the change since that commit touches. It reads local facts only: no login, no request, so it runs in CI and offline.
Run a deploy
praxis devops deploy --env develop --environment-id dve_… --commit <sha> --events-file events.ndjsonThe deploy engine’s entry point, meant for build machines: it generates each target’s configuration from the adapters the project declares, then plans or applies layer by layer and writes execution events. Day to day, deploy plan above is what you want. --plan-only writes plan files; --apply-plans applies an approved directory.
Run tests in the cloud
praxis devops test run --remote --select smokeAfter you push the branch, hands the test selection to the platform executor, waits for the verdict, and lists the failed cases. --no-wait returns as soon as the run exists, --repeat sets how often each case runs, --project names the project.
The command’s exit code is the verdict: 0 when everything passes, non-zero when something fails. In a script, read the exit code.
Import a canvas
praxis canvas import design.pen --dry-runImports a design file and the images it references as a canvas. --dry-run reads the local file and prints the plan without uploading; drop it to upload. --name sets the canvas name; --canvas imports into an existing canvas (a whole-canvas replacement that needs --yes).
Account
praxis login # browser device-code sign-inpraxis whoami # identity, organization, and where the credential livespraxis logout # remove the saved login on this machinepraxis org list # organizations the login can usepraxis org switch <organization_id>praxis login approves through the browser device code. In CI, use an API key instead and skip this step.
Limits
- Each command serves one job. When you need several operations together, call them through
praxis api. - Deploy commands need targets and adapters declared in the repository; without them the plan is empty.
- Remote test runs need the branch pushed, because the platform runs the commit on the branch.