uhhh
This commit is contained in:
1 parent
3dfc2b4832
commit
306cce0e6f
6 files changed
+213
-6
No files matched your search
@@ -16,6 +16,15 @@ async fn main() -> Result<()> {
|
||||
|
||||
match cli.command {
|
||||
Command::Serve(args) => {
|
||||
if args.bootstrap_config {
|
||||
let created = config::bootstrap_config_if_missing(&args)?;
|
||||
if created {
|
||||
eprintln!(
|
||||
"bootstrapped missing config at {}",
|
||||
args.config_file.display()
|
||||
);
|
||||
}
|
||||
}
|
||||
let daemon = config::DaemonConfig::from_serve_args(&args)?;
|
||||
tracing::init(cli.verbose, &daemon.telemetry)?;
|
||||
runtime::serve(daemon).await
|
||||
|
||||
Reference in new issue
Block a user