Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editoast: add cli to manage stdcm search environments #8745

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions editoast/src/client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
mod postgres_config;
mod redis_config;
pub mod stdcm_search_env_commands;
mod telemetry_config;

use std::env;
Expand All @@ -13,6 +14,7 @@ use derivative::Derivative;
use editoast_derive::EditoastError;
pub use postgres_config::PostgresConfig;
pub use redis_config::RedisConfig;
use stdcm_search_env_commands::StdcmSearchEnvCommands;
pub use telemetry_config::TelemetryConfig;
pub use telemetry_config::TelemetryKind;
use thiserror::Error;
Expand Down Expand Up @@ -63,6 +65,12 @@ pub enum Commands {
Infra(InfraCommands),
#[command(subcommand, about, long_about = "Timetables related commands")]
Timetables(TimetablesCommands),
#[command(
subcommand,
about,
long_about = "STDCM search environment management commands"
)]
STDCMSearchEnv(StdcmSearchEnvCommands),
}

#[derive(Subcommand, Debug)]
Expand Down
Loading
Loading