mirror of
https://github.com/qwjyh/xdbm
synced 2025-04-18 18:55:51 +09:00
refactor: format
This commit is contained in:
parent
cad49e8d50
commit
f98ea1afec
3 changed files with 7 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue