#gateway #reverse-proxy #cli

bin+lib cardinal-cli

Command-line launcher for the Cardinal gateway

23 releases

0.2.41 Nov 28, 2025
0.2.40 Nov 27, 2025
0.2.39 Oct 27, 2025
0.2.23 Sep 30, 2025

#56 in #gateway

Apache-2.0

140KB
2.5K SLoC

cardinal-cli

cardinal-cli packages the gateway as a runnable binary.

Entry points

cargo run -p cli -- --config config/example.toml

Flags:

  • --config <PATH> (repeatable) – load and merge one or more TOML files.

Under the hood main.rs loads configuration via cardinal-config, constructs a Cardinal instance, and invokes run(). The CLI is intentionally thin so integrations can embed the library crate directly when they need finer control.

Dependencies

~44–66MB
~1M SLoC