style: run cargo fmt

This commit is contained in:
2026-09-04 09:17:48 +00:00
parent e10e1fb017
commit 8751c39cce
6 changed files with 9 additions and 8 deletions

View File

@@ -1,12 +1,11 @@
use clap::{CommandFactory, ValueEnum};
use clap_complete::{generate_to, Shell};
use clap_complete::{Shell, generate_to};
use std::{env, io::Error};
include!("src/cli/mod.rs");
fn main() -> Result<(), Error> {
let outdir = env::var_os("SHELL_COMPLETIONS_DIR")
.or_else(|| env::var_os("OUT_DIR"));
let outdir = env::var_os("SHELL_COMPLETIONS_DIR").or_else(|| env::var_os("OUT_DIR"));
let Some(outdir) = outdir else {
return Ok(());