forked from kent/consciousness
15 lines
460 B
Rust
15 lines
460 B
Rust
|
|
// poc-daemon — backward-compatible entry point
|
||
|
|
//
|
||
|
|
// Delegates to the thalamus module in the main crate.
|
||
|
|
// The daemon is now part of the consciousness binary but this
|
||
|
|
// entry point is kept for compatibility with existing scripts.
|
||
|
|
|
||
|
|
use clap::Parser;
|
||
|
|
use poc_memory::thalamus;
|
||
|
|
|
||
|
|
#[tokio::main(flavor = "current_thread")]
|
||
|
|
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||
|
|
let cli = thalamus::Cli::parse();
|
||
|
|
thalamus::run(cli.command).await
|
||
|
|
}
|