🎉 init

This commit is contained in:
JMARyA 2025-04-28 18:44:09 +02:00
commit 812c4adb15
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
16 changed files with 4631 additions and 0 deletions

18
src/sheepd.rs Normal file
View file

@ -0,0 +1,18 @@
use sheepd_core::args::{SheepdArgs, SheepdCommand};
mod api;
mod sheepd_core;
fn main() {
tracing_subscriber::fmt::init();
let args: SheepdArgs = argh::from_env();
if let Some(command) = args.command {
match command {
SheepdCommand::Join(join_command) => sheepd_core::cmd::join(join_command),
}
} else {
log::info!("Starting sheepd");
// TODO : daemon loop
}
}