clean out src, move mod into lib, remove trash

This commit is contained in:
Harivansh Rathi 2026-03-25 19:04:03 -04:00
parent d0041589b3
commit 68b68a3c82
8 changed files with 51 additions and 267 deletions

11
src/lib.rs Normal file
View file

@ -0,0 +1,11 @@
pub mod backend;
pub mod cli;
pub mod core;
pub mod daemon;
pub fn run() -> anyhow::Result<()> {
if std::env::var("DESKCTL_DAEMON").is_ok() {
return daemon::run();
}
cli::run()
}