Expand description
Command-line interface for rusmes-server.
The CLI uses clap derive to expose:
-c/--config <PATH>— explicit config flag (preferred).- A positional
[CONFIG]fallback — preserved for one release for backwards compatibility with older invocations such asrusmes-server rusmes.toml. The fallback emits a deprecation warning to stderr when used. --check-config— load + validate the configuration, then exit. No sockets are opened, no servers are spawned.
Resolution rules:
- If
--configis provided, it wins (even if a positional argument is also present — the positional is silently ignored to keep the meaning of the flag unambiguous). - Otherwise, the positional is used (with a deprecation warning).
- Otherwise, the default
rusmes.tomlin the current directory is used.
Structs§
- Cli
rusmes-server— RusMES mail-server orchestrator.