Skip to main content

Usage

Description

Initialize OCX configuration in your project directory or globally. When used with --registry, scaffolds a new OCX registry project.

Flags

Examples

Initialize Local Project

Creates .opencode/ocx.jsonc in the current directory with a default registry configuration.

Initialize Global Configuration

Creates the global profile directory at ~/.config/opencode/ with base configuration. This is required before creating profiles.

Scaffold a New Registry

Creates a new registry project with the proper directory structure, manifest, and example components.

See Also