Environment Command

The environment command provides functionality for managing deployment environments in Ocuroot.

Usage

ocuroot environment [subcommand]

Subcommands

list

Lists all configured environments.

ocuroot environment list

create

Creates a new environment.

ocuroot environment create [name]

get

Gets information about a specific environment.

ocuroot environment get [name]

sync

Synchronizes the environments in the current repo.ocu.star to the Ocuroot server.

ocuroot environment sync

Examples

# List all environments
ocuroot environment list

# Create a new environment
ocuroot environment create production

# Get details about an environment
ocuroot environment get staging

# Sync environments configured by this repo
ocuroot environment sync staging
  • deploy: Deploy a build to an environment
  • sync: Synchronize environments with desired state