Launch

Generate an ops.toml configuration file by scanning the current project directory.

ops launch [OPTIONS]

Options:

Option
Default
Description

-o, --output

ops.toml

Output file path

-y, --yes

Accept all defaults without prompting

What It Does

ops launch scans your project directory and interactively generates an ops.toml deployment config with sensible defaults. It detects:

File
Detection

docker-compose*.yml

Added to compose_files, suggests source = "image"

Dockerfile

Suggests source = "push"

.git/ + origin remote

Suggests source = "git", fills git.repo

Cargo.toml

Language: Rust

package.json

Language: Node.js

go.mod

Language: Go

requirements.txt

Language: Python

.env

Auto-adds to [[env_files]]

Config.toml, etc.

Suggests adding to [[sync]]

Interactive Flow

Source Detection Logic

The default deploy source is inferred from your project:

  • image — docker-compose files found, no Dockerfile (pull pre-built images)

  • push — Dockerfile found (rsync + build on server)

  • git — git remote configured (clone/pull on server)

  • push — fallback when nothing specific is detected

Examples

Generated Output

Example output for a project with docker-compose and .env:

After generating, deploy with:

Last updated