refactor: format

This commit is contained in:
qwjyh 2025-03-01 23:45:22 +09:00
parent cad49e8d50
commit f98ea1afec
3 changed files with 7 additions and 5 deletions

View file

@ -1,7 +1,7 @@
//! CLI arguments
use crate::path;
use crate::PathBuf;
use crate::path;
use clap::Args;
use clap::{Parser, Subcommand};
use clap_verbosity_flag::Verbosity;

View file

@ -2,11 +2,13 @@
//! Initialize xdbm for the device.
use crate::backups::Backups;
use crate::storages::{Storages, STORAGESFILE};
use crate::storages::{STORAGESFILE, Storages};
use crate::{
add_and_commit, backups, full_status, get_devices, write_devices, Device, DEVICESFILE,
DEVICESFILE, Device, add_and_commit, backups,
devices::{get_devices, write_devices},
full_status,
};
use anyhow::{anyhow, Context, Ok, Result};
use anyhow::{Context, Ok, Result, anyhow};
use core::panic;
use git2::{Cred, RemoteCallbacks, Repository};
use inquire::Password;

View file

@ -23,7 +23,7 @@ use std::path::{self, PathBuf};
use storages::Storages;
use crate::cmd_args::{BackupSubCommands, Cli, Commands, StorageCommands};
use devices::{Device, DEVICESFILE, *};
use devices::{DEVICESFILE, Device};
mod backups;
mod cmd_args;