cl-cli/src/config.rs

18 lines
362 B
Rust
Raw Normal View History

2023-03-27 15:53:41 +00:00
use serde::Deserialize;
#[derive(Deserialize, Debug)]
pub(crate) struct Config {
pub gitlab: GitlabConfig,
2024-01-08 12:26:09 +00:00
pub openproject: OpenProjectConfig,
2023-03-27 15:53:41 +00:00
}
#[derive(Deserialize, Debug)]
pub(crate) struct GitlabConfig {
pub token: String,
2024-01-08 12:26:09 +00:00
}
#[derive(Deserialize, Debug)]
pub(crate) struct OpenProjectConfig {
pub token: String,
pub base_url: String,
2023-03-27 15:53:41 +00:00
}