Expand description
ยงCommand Line Interface
This module defines command line interface for server binaries. Clap is used
for easy generation of help messages and handling arguments.
Structsยง
- Args
- Clementine (C) 2025 Chainway Limited
Enumsยง
- Actor
- Available actor types that can be run as services
- Command
- Config
Source
Functionsยง
- get_
cli_ args - Returns CLI arguments after handling help/version cases with BridgeError.
- get_
config - Gets configuration using CLI arguments, for binaries. If there are any errors, prints error and panics.
- get_
config_ ๐from_ args - Wrapped function for tests
- get_
config_ ๐source - Selects a configuration source for the main config or the protocol paramset.
- parse_
cli_ ๐args - Parse given iterator with our clap Args and handle help/version cases.