lazycloud deploy
name=. --source-root <dir>
uploads a different directory. A failure stops the command and leaves what
already deployed in place.
--diff lists each workload as add, redeploy, retain, or, with --prune,
remove, without uploading or changing anything. It doesn’t compare source or
configuration, and it still imports your modules. --prune, or -p,
removes workloads the code no longer
declares. Several references deploy separate complete apps together.
lazycloud run
--json needs a
JSON-compatible result, and --output result.pkl saves any result to a file.
lazycloud serve
--timeout seconds pass. Each edit syncs only the changed files. --sync-dir
syncs a directory other than the current one. The Python form:
.serve().
lazycloud shell
lazycloud dev
--sync defaults to ./. Without a handler, dev
uses the managed Python image with default resources. A GPU or custom image
comes from a workload defined in code and passed as the handler.
To change your default workspace, run
uv run lazycloud workspace use <name>.
Commands with a --workspace option can override it for one call.