use clap::{Parser, Subcommand}; #[derive(Parser)] pub(crate) struct CliArgs { #[command(subcommand)] pub(crate) command: Command, } #[derive(Subcommand)] pub(crate) enum Command { /// Serve the server on the default ports. Serve, /// Print the `OpenAPI` API documentation to stdout. OpenApi, }