Crate wick_component_cli

Source
Expand description

Utility crate that makes it easy to build a CLI for Rust-based Wick components.

Modules§

error
The crate’s error module.
options
Common configuration and argument structures.

Structs§

ServerControl
Struct that holds control methods and metadata for a running service.
ServerState
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;.