aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/client.rs
diff options
context:
space:
mode:
authorJakub Panek <me@panekj.dev>2022-04-28 17:53:59 +0000
committerGitHub <noreply@github.com>2022-04-28 18:53:59 +0100
commit93ab4e7842ac3c3a37e8d423ae57ef3e7d151b7b (patch)
treec910b1bb047a540c361f6cb6f8e403f1b83b925a /src/command/client.rs
parentBump axum from 0.5.3 to 0.5.4 (#355) (diff)
downloadatuin-93ab4e7842ac3c3a37e8d423ae57ef3e7d151b7b.zip
ignore JetBrains IDEs, tidy-up imports (#348)
* ignore JB IDEs * tidy-up imports * add rustfmt config
Diffstat (limited to '')
-rw-r--r--src/command/client.rs13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/command/client.rs b/src/command/client.rs
index 4858e2ba..80316ed9 100644
--- a/src/command/client.rs
+++ b/src/command/client.rs
@@ -1,11 +1,10 @@
-use clap::CommandFactory;
-use clap::Subcommand;
-use clap_complete::Shell;
-use clap_complete::{generate, generate_to};
+use std::path::PathBuf;
+
+use clap::{CommandFactory, Subcommand};
+use clap_complete::{generate, generate_to, Shell};
use eyre::{Result, WrapErr};
-use atuin_client::database::Sqlite;
-use atuin_client::settings::Settings;
+use atuin_client::{database::Sqlite, settings::Settings};
use atuin_common::utils::uuid_v4;
#[cfg(feature = "sync")]
@@ -18,8 +17,6 @@ mod init;
mod search;
mod stats;
-use std::path::PathBuf;
-
#[derive(Subcommand)]
#[clap(infer_subcommands = true)]
pub enum Cmd {