Verified Commit 0484416c authored by Levente Polyak's avatar Levente Polyak 🚀
Browse files

chore: avoid inception mods by declaring sub components as core

parent 11091ee1
pub mod gitlab;
pub mod core;
pub mod types;
pub use crate::components::gitlab::gitlab::GitLabGlue;
pub use crate::components::gitlab::core::GitLabGlue;
pub mod keycloak;
pub mod core;
pub use crate::components::keycloak::keycloak::Keycloak;
pub use crate::components::keycloak::core::Keycloak;
use args::*;
mod args;
use state::State;
#[allow(dead_code)]
mod state;
use state::State;
#[allow(dead_code)]
mod util;
#[allow(dead_code)]
mod components;
use components::gitlab::GitLabGlue;
use components::keycloak::Keycloak;
......@@ -21,8 +24,8 @@ use tokio::sync::Mutex;
async fn run(args: Args) -> Result<()> {
/* Early exit for completions */
if let Command::Completions(completions) = args.command {
args::gen_completions(&completions)?;
return Ok(());
args::gen_completions(&completions)?;
return Ok(());
}
let state = Arc::new(Mutex::new(State::default()));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment