Commands, arguments, and options for openship project.
See the workflow guide for examples. Global flags such as --json go before the command; see global options.
Manage Openship projects
openship project|projects [options] [command]
Inspect deployed static output on its actual destination
openship project check-output [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Probe configured service ports on the deployment destination
openship project check-ports [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Clear the host build cache used by this project; other projects on that host share it
openship project clear-build-cache [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
| Option | Meaning |
|---|
-y, --yes | Confirm clearing the destination's shared build cache |
Manage this project's explicit clone credential
openship project clone-token [options] [command]
| Subcommand | Purpose |
|---|
get <id> | Read credential presence without revealing its value |
set <id> <file> | Save a project-specific clone token |
clear <id> | Remove this project's explicit clone token |
Remove this project's explicit clone token
openship project clone-token clear [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Read credential presence without revealing its value
openship project clone-token get [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Save a project-specific clone token
openship project clone-token set [options] <id> <file>
| Argument | Meaning |
|---|
id | Project ID |
file | Token file, or - for stdin |
Configure cluster placement and scale a deployed workload
openship project cluster [options] [command]
Read placement, replicas and the revision required for changes
openship project cluster get [options] <project>
| Argument | Meaning |
|---|
project | Project ID |
Scale the reviewed deployment; returns the new deployment ID to follow
openship project cluster scale [options] <project> <replicas>
| Argument | Meaning |
|---|
project | Project ID |
replicas | Desired replicas |
| Option | Meaning |
|---|
--deployment <id> | Active deployment ID from cluster get |
--updated-at <timestamp> | Exact updatedAt from cluster get |
Set or clear cluster placement with explicit stateless-workload acknowledgement
openship project cluster set [options] <id> [file]
| Argument | Meaning |
|---|
id | Resource ID |
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|
--schema | Print the accepted JSON schema without making a request |
-y, --yes | Confirm this operation |
Connect a custom domain to a project
openship project connect [options] <id> <domain>
| Argument | Meaning |
|---|
id | Project ID |
domain | Custom domain hostname |
| Option | Meaning |
|---|
--include-www | Also connect the www. variant |
Create a project
openship project create [options]
| Option | Meaning |
|---|
--name <name> | Project name (required unless supplied in --config) |
--config <file> | Full project configuration as JSON, or - for stdin; flags override supplied fields |
--schema | Print the complete create input schema without making a request |
--slug <slug> | Free-subdomain slug (slug.opsh.io) |
--git-owner <owner> | GitHub owner/org |
--git-repo <repo> | GitHub repository name |
--git-branch <branch> | Git branch to deploy |
--framework <framework> | Stack/framework id |
--local-path <path> | Source path on the controller host; use deploy --folder to upload from this machine |
--port <port> | Container port |
--type <type> | Project type: app | docker | services | monorepo |
--server <id> | Registered server ID (see openship server list) |
Delete a project (tears down all resources)
openship project delete|rm [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
| Option | Meaning |
|---|
--force | Cancel active work and delete anyway |
--force-orphan | Orphan resources that won't destroy, then drop the row |
--wipe-volumes | Also destroy persistent volumes |
-y, --yes | Skip the confirmation prompt |
Read full project deployment records with pagination
openship project deployments [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
| Option | Meaning |
|---|
--page <number> | Page number |
--limit <number> | Page size |
--environment <name> | Environment filter |
--status <status> | Deployment status |
--search <text> | Search deployments |
Stop a running project
openship project disable [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Compare source and deployment configuration
openship project drift [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Read effective edge routing configuration
openship project edge-config [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Start a stopped project
openship project enable [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Manage project environment variables
openship project env [options] [command]
List env vars (secret values are masked by the API)
openship project env get [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
| Option | Meaning |
|---|
--environment <env> | Filter by environment (production|preview|development) |
Merge env vars: upsert KEY=VALUE pairs and/or delete keys
openship project env set [options] <id> [pairs...]
| Argument | Meaning |
|---|
id | Project ID |
pairs | KEY=VALUE pairs to upsert (same as --set) |
| Option | Meaning |
|---|
--environment <env> | Target environment (default: "production") |
--set <pair> | KEY=VALUE to upsert (repeatable) (default: []) |
--unset <key> | KEY to delete (repeatable) (default: []) |
--secret | Mark every upserted value as a secret |
Manage isolated project environments (each has its own project ID)
openship project environment|environments [options] [command]
Create an isolated environment; deploy and link the returned project ID
openship project environment create [options] <id> <name>
| Argument | Meaning |
|---|
id | Source project ID |
name | Environment name |
| Option | Meaning |
|---|
--slug <slug> | Environment slug |
--type <type> | production | preview | development (default: "preview") |
--branch <branch> | Git branch for the environment |
--source-mode <mode> | How this environment tracks source (choices: "branch", "manual") |
List this project's environments and their project IDs
openship project environment list|ls [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Show a single project
openship project get [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Read the configured repository and source state
openship project git-info [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Show this project's monitoring incidents
openship project incidents [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Read project details and deployment configuration
openship project info [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
List projects in the active organization
openship project list|ls [options]
Manage folders on the Openship instance; use deploy --folder for this machine's files
openship project local [options] [command]
| Subcommand | Purpose |
|---|
list | List projects linked to folders on the controller |
scan <path> | Inspect a folder accessible to the self-hosted controller |
import [options] [file] | Register a folder on the controller as a project |
Register a folder on the controller as a project
openship project local import [options] [file]
| Argument | Meaning |
|---|
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|
--schema | Print the accepted JSON schema without making a request |
List projects linked to folders on the controller
openship project local list [options]
Inspect a folder accessible to the self-hosted controller
openship project local scan [options] <path>
| Argument | Meaning |
|---|
path | Absolute path on the controller |
Show or stream runtime (container) logs
openship project logs [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
| Option | Meaning |
|---|
--tail <n> | Number of recent lines |
-f, --follow | Stream logs until interrupted |
Change supported project options using the shared input schema
openship project options [options] <id> [file]
| Argument | Meaning |
|---|
id | Resource ID |
file | JSON input file, or - for stdin |
| Option | Meaning |
|---|
--schema | Print the accepted JSON schema without making a request |
Show pending deployment, routing and certificate actions
openship project pending [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Track and deploy a versioned prebuilt container image
openship project release-image [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
| Option | Meaning |
|---|
--image-template <reference> | Image reference with {tag} or {version}, e.g. ghcr.io/acme/api:{tag} |
--github-repo <owner/repo> | Resolve versions from GitHub Releases |
--version-url <https-url> | HTTPS endpoint returning a version or tag |
--pin <version> | Deploy a fixed version instead of the discovered latest release |
Change a project's display name
openship project rename [options] <id> <name>
| Argument | Meaning |
|---|
id | Project ID |
name | New display name |
Inspect and configure project CPU, memory, disk and build limits
openship project resources [options] [command]
| Subcommand | Purpose |
|---|
get <id> | Show limits and available capacity from the engine |
set <id> <file> | Change resource limits; the engine enforces destination capacity and Cloud policy |
Show limits and available capacity from the engine
openship project resources get [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Change resource limits; the engine enforces destination capacity and Cloud policy
openship project resources set [options] <id> <file>
| Argument | Meaning |
|---|
id | Project ID |
file | JSON patch with production/build resource selections, sleepMode or port |
Inspect retained rollback capacity
openship project rollback-capacity [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Show or stream HTTP request logs (edge/OpenResty)
openship project server-logs [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
| Option | Meaning |
|---|
--limit <n> | Number of recent entries (max 200) |
--domain <domain> | Restrict to a specific domain |
-f, --follow | Stream request logs until interrupted |
Find this project's active deployment session
openship project session [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Set the project sleep mode
openship project sleep-mode [options] <id> <mode>
| Argument | Meaning |
|---|
id | Project ID |
mode | One of: auto_sleep, always_on |
Inspect storage and bind an app's object storage connection
openship project storage [options] [command]
| Subcommand | Purpose |
|---|
get <id> | Show the storage binding, volumes and available providers |
bind <id> <file> | Save an object storage binding; redeploy to apply its variables |
unbind [options] <id> | Remove the object's storage binding from this project |
Save an object storage binding; redeploy to apply its variables
openship project storage bind [options] <id> <file>
| Argument | Meaning |
|---|
id | Project ID |
file | JSON storage binding: bucket and sourceProjectId, or external provider credentials |
Show the storage binding, volumes and available providers
openship project storage get [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
Remove the object's storage binding from this project
openship project storage unbind [options] <id>
| Argument | Meaning |
|---|
id | Project ID |
| Option | Meaning |
|---|
-y, --yes | Skip confirmation |
Promote a project to Openship Cloud, or bring it back (self-hosted only)
openship project transfer [options] <id> <direction>
| Argument | Meaning |
|---|
id | Project ID |
direction | One of: to-cloud, to-self-hosted |
Patch a project's build and runtime configuration
openship project update [options] <id> <file>
| Argument | Meaning |
|---|
id | Project ID |
file | JSON patch using the shared project update contract |