Deploylet documentation

CLI deployment workflow

Use the current Deploylet CLI to initialize a project, validate its configuration, and publish a static output folder.

Current commands

$ node packages/cli/dist/index.js help
$ node packages/cli/dist/index.js init [name] [--dir path] [--output path] [--yes]
$ node packages/cli/dist/index.js config [--config path] [--json]
$ node packages/cli/dist/index.js deploy [dir] [--config path] [--env preview] [--space slug] [--dry-run]

Configuration

{
  "space": "launch-preview",
  "output": "dist",
  "environment": "preview",
  "region": "auto"
}

Configuration is JSON-only. Deploylet does not load JavaScript configuration files, and the deploy root must stay inside the configuration directory.

Endpoint safety

The CLI defaults to the Deploylet production API. It refuses to send token-bearing requests to arbitrary custom endpoints unless --allow-custom-endpoint is explicitly provided. Loopback HTTP is allowed for trusted local testing.