Skip to main content

Crate shipper_cli

Crate shipper_cli 

Source
Expand description

§shipper-cli

Real CLI adapter for Shipper (#95 three-crate split).

This crate owns the command-line surface: argument parsing (clap), subcommand dispatch, help text, progress rendering. It depends on shipper_core for the actual engine.

§Architecture

shipper (install façade) -> shipper-cli (this crate) -> shipper-core (engine)

The shipper binary on crates.io is a three-line wrapper that calls run; a separate shipper-cli binary exists in this crate for backward compatibility with cargo install shipper-cli and for workspace-local development.

§Embedding

Most callers should use the shipper CLI directly. If you need to embed the exact CLI surface in another Rust program — for example, a wrapper that invokes shipper with extra preflight steps — call run. For programmatic use without a clap dependency, depend on shipper_core instead.

Functions§

run
CLI entry point. Exposed for the shipper crate’s binary target and for the shipper-cli crate’s own shipper-cli binary — both are three-line fn main() { shipper_cli::run() } wrappers over this function.