reactive_graph/server/args/
config_locations.rs

1use clap::Parser;
2
3#[derive(Parser, Debug)]
4pub struct ConfigLocationsArguments {
5    /// The logging config location.
6    #[arg(long, env = "REACTIVE_GRAPH_LOGGING_CONFIG")]
7    pub logging_config: Option<String>,
8
9    /// The instance config location.
10    #[arg(long, env = "REACTIVE_GRAPH_INSTANCE_CONFIG")]
11    pub instance_config: Option<String>,
12
13    /// The GraphQL config location.
14    #[arg(long, env = "REACTIVE_GRAPH_GRAPHQL_CONFIG")]
15    pub graphql_config: Option<String>,
16
17    /// The plugins config location.
18    #[arg(long, env = "REACTIVE_GRAPH_PLUGINS_CONFIG")]
19    pub plugins_config: Option<String>,
20}