Skip to main content

Crate omne_cli

Crate omne_cli 

Source
Expand description

Library interface for integration tests.

omne-cli is a binary crate — this lib.rs exists solely to expose test seams (init_with_tarballs) to the integration test files in tests/. No external consumers depend on this library interface.

Re-exports§

pub use commands::init::init_with_client;
pub use commands::init::init_with_tarballs;
pub use commands::upgrade::upgrade_with_client;
pub use commands::upgrade::Target as UpgradeTarget;
pub use commands::validate::validate_at_root;
pub use error::CliError;
pub use github::GithubClient;

Modules§

claude_skills
.claude/skills/ symlinking for Claude Code discovery.
cli
Top-level clap parser and subcommand enum.
commands
Subcommand handlers.
defaults
Shared default constants.
distro
Distro specifier parsing.
error
Top-level CLI error type.
fetch
Download orchestration: GitHub release → progress bar → safe extraction.
github
GitHub Releases API client.
manifest
MANIFEST.md template embedding, stamping, and frontmatter parsing.
python
Python interpreter detection and gate runner invocation.
scaffold
Volume directory scaffolding.
tarball
Safe tarball extraction with defense-in-depth against path traversal.
volume
Volume root detection.