mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 05:10:55 +00:00
krata: restructure packages for cleanliness
This commit is contained in:
11
crates/ctl/bin/control.rs
Normal file
11
crates/ctl/bin/control.rs
Normal file
@ -0,0 +1,11 @@
|
||||
use anyhow::Result;
|
||||
use clap::Parser;
|
||||
use env_logger::Env;
|
||||
|
||||
use kratactl::cli::ControlCommand;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<()> {
|
||||
env_logger::Builder::from_env(Env::default().default_filter_or("info")).init();
|
||||
ControlCommand::parse().run().await
|
||||
}
|
Reference in New Issue
Block a user