Expand description
Utility crate that makes it easy to build a CLI for Rust-based Wick components.
Modules§
Structs§
- Server
Control - Struct that holds control methods and metadata for a running service.
- Server
State - Metadata for the running server.
Functions§
- init_
cli - Start a server with the passed SharedComponent and keep it running until the process receives a SIGINT (^C).
- parse_
args - Parse CLI arguments into a wick_packet::PacketStream
- start_
server - Starts an RPC server for the passed SharedComponent.
Type Aliases§
- Error
- The crate’s error type;.