refactor: structure of an hexagonal architecture

Created a kernel crate to store models and future action implementations.
Will be useful to create admin cli.
This commit is contained in:
Matthieu Bessat 2024-11-29 21:35:33 +01:00
parent 49978bb3d8
commit dffea8ab39
87 changed files with 828 additions and 471 deletions

11
lib/admin_cli/Cargo.toml Normal file
View file

@ -0,0 +1,11 @@
[package]
name = "admin_cli"
edition = "2021"
[dependencies]
anyhow = { workspace = true }
fully_pub = { workspace = true }
[[bin]]
name = "minauthator-admin"
path = "src/main.rs"

View file

@ -0,0 +1,6 @@
use anyhow::Result;
fn main() -> Result<()> {
println!("Starting minauthator admin CLI");
Ok(())
}