hypha: add script for quick debugging and set log levels ot warn by default

This commit is contained in:
Alex Zenla
2024-02-01 10:28:17 +00:00
parent bd56de235f
commit e7cea3d7ed
4 changed files with 18 additions and 2 deletions

View File

@ -1,3 +1,4 @@
use env_logger::Env;
use anyhow::{anyhow, Result};
use clap::{Parser, Subcommand};
use hypha::ctl::Controller;
@ -46,7 +47,7 @@ enum Commands {
}
fn main() -> Result<()> {
env_logger::init();
env_logger::Builder::from_env(Env::default().default_filter_or("warn")).init();
let args = ControllerArgs::parse();
let store_path = if args.store == "auto" {