omne-cli
CLI tool for managing omne volumes. Fetches kernel and distro releases from GitHub, scaffolds volumes, runs validation.
Installation
Prebuilt binaries (recommended)
Download the latest release for your platform from GitHub Releases and place the omne binary on your PATH.
From crates.io
The --locked flag uses the committed lockfile for exact dependency reproducibility. Without it, cargo re-resolves dependencies against latest semver-compatible versions.
Commands
How It Works
initdownloads the latest kernel and distro release tarballs from GitHub Releases, unpacks them into.omne/core/and.omne/image/, and stampsMANIFEST.mdwithkernel-sourceanddistro-sourcefor future upgrades.upgradereadskernel-source/distro-sourcefrom MANIFEST.md frontmatter and replaces.omne/core/or.omne/image/with the latest release.cfg/andlog/are untouched.validatechecks volume structure (required dirs, manifest fields, depth rule at max 3 levels), then readscore/manifest.jsonfor thegate_runnerpath and calls the distro's own validator. If Python is not available, the gate runner is skipped with a warning.
Authentication
Set GITHUB_TOKEN or GH_TOKEN to authenticate with the GitHub API (raises the rate limit from 60 to 5,000 requests/hour). GITHUB_TOKEN takes precedence when both are set.
Troubleshooting
Rate limit errors: Set GITHUB_TOKEN or GH_TOKEN as described above.
Partial init failure: If omne init is interrupted, .omne/ may be left in a partial state. Remove it and retry:
Corporate CA / TLS errors: Set SSL_CERT_FILE or SSL_CERT_DIR to point at your organization's CA bundle.
Pre-existing volumes missing kernel-source/distro-source: Hand-edit .omne/MANIFEST.md to add the fields, or re-run omne init <distro> in a fresh directory.
Platforms
x86_64-pc-windows-msvc(Windows)x86_64-unknown-linux-gnu(Linux)