tests and tooling (#4)

* init openspec

* clean out src, move mod into lib, remove trash

* create tests

* pre-commit hook

* add tests to CI

* update website

* README, CONTRIBUTING and Makefile

* openspec

* archive task

* fix ci order

* fix integration test

* fix validation tests
This commit is contained in:
Hari 2026-03-25 19:29:59 -04:00 committed by GitHub
parent 7dfab68304
commit 3819a85c47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 892 additions and 286 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()
}