A new Command-line interface for the Open Component Model.
⚠️ Work in Progress — Commands may change. For stable CLI, see ocm v1.
# Clone the repo
git clone https://github.com/open-component-model/open-component-model.git
cd open-component-model
# Build
task cli:build
# Binary is at cli/tmp/bin/ocm
./cli/tmp/bin/ocm version# Check version
ocm version
# Get a component version from an OCI registry
ocm get cv ghcr.io/my-org/ocm//my-component:1.0.0Full command documentation: docs/reference/ocm.md
# Bash
ocm completionThe CLI supports plugins for additional repository types and capabilities.
# List available plugins
ocm plugin registry list
# Get plugin info
ocm plugin registry get <plugin-name>See ADR-0001: Plugins for architecture details.