Flag mode
Every Reis create / update command can be driven directly from the shell — pass each field as a --flag value pair. This is the mode you reach for in scripts, CI jobs, and one-off operations where reaching for a YAML file is overkill.
Every Reis create / update command can be driven directly from the shell — pass each field as a --flag value pair. This is the mode you reach for in scripts, CI jobs, and one-off operations where reaching for a YAML file is overkill.
Flag names match the field names you see in YAML mode exactly. If you've written a YAML file that sets cpu: "500" under workload, the equivalent flag is --cpu 500. There's nothing to translate.
How to run a command
Three idioms cover every use case:
# Pass every required field — no prompts, suitable for scripts
reis container:create \
--name "Web API" --handle web-api \
--image ghcr.io/myorg/api:v1.0.0 \
--type http \
--cpu 500 --memory 512 \
--regions falkenstein-1
# Omit required fields — Reis prompts you through them interactively
reis container:create
# Mix both — pass what you know, get prompted for the rest
reis container:create --type cronjob --schedule "0 2 * * *"--no-interaction forces non-interactive mode and fails with an error message instead of prompting.
Repeatable flags
A handful of fields are lists, and you set them by passing the flag multiple times:
reis container:create \
--regions falkenstein-1 --regions virginia-1 \
--env NODE_ENV=production --env LOG_LEVEL=info \
--secrets DB_PASSWORD=db-password --secrets API_KEY=api-key| Flag | Format | Used by |
|---|---|---|
--regions | one region ID per flag | every asset |
--env | KEY=value | containers |
--secrets | ENV_NAME=secret-handle | containers |
--command | one ENTRYPOINT token per flag | workers, cronjobs |
--args | one CMD token per flag | workers, cronjobs |
Short aliases: -r for --regions, -e for --env, -s for --secrets.
Note: project attachments (which org-level registries, secrets, TLS bundles, configs, etc. a project can use) are not toggled via
project:createorproject:updateflags. Use the dedicatedreis project:attach,reis project:detach, andreis project:attachmentscommands instead — see Commands Reference: Projects.
Boolean flags
Booleans are negatable — pass --flag to set true, --no-flag to set false:
reis container:update my-cron --suspended # pause a cron job
reis container:update my-cron --no-suspended # resume itIf you don't pass either form, the field is left untouched on update.
Per-asset deployment guides
Each deployable asset has its own flag-mode walkthrough with the exact flags that apply to it:
For the full reference of every command and every flag, see Commands.
Flag mode vs YAML mode
| You're doing… | Reach for… |
|---|---|
| A one-off deploy from your laptop | flag mode |
| A scripted CI job that builds the same container | flag mode |
| Managing a stack of related resources together | YAML mode |
| Onboarding a new project under version control | YAML mode |
| Quick edits to a field or two | flag mode |
| Restoring a previously exported config | YAML mode |
Both modes produce identical results — they're two ways of expressing the same intent.