aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/mod.rs
diff options
context:
space:
mode:
authorConrad Ludgate <conradludgate@gmail.com>2021-12-08 13:37:49 +0000
committerGitHub <noreply@github.com>2021-12-08 13:37:49 +0000
commit4bdf4c40c292b681452c9499b9072b759073bf32 (patch)
tree1eddc50584485efbec2c1ab8e470844d25de12df /src/command/mod.rs
parentRemove dev dep with wildcard (#224) (diff)
downloadatuin-4bdf4c40c292b681452c9499b9072b759073bf32.zip
feat: login/register no longer blocking (#216)
Diffstat (limited to '')
-rw-r--r--src/command/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/mod.rs b/src/command/mod.rs
index 02950365..dc1f01fb 100644
--- a/src/command/mod.rs
+++ b/src/command/mod.rs
@@ -142,13 +142,13 @@ impl AtuinCmd {
}
Self::Sync { force } => sync::run(&client_settings, force, &mut db).await,
- Self::Login(l) => l.run(&client_settings),
+ Self::Login(l) => l.run(&client_settings).await,
Self::Logout => {
logout::run();
Ok(())
}
Self::Register(r) => {
- register::run(&client_settings, &r.username, &r.email, &r.password)
+ register::run(&client_settings, &r.username, &r.email, &r.password).await
}
Self::Key => {
use atuin_client::encryption::{encode_key, load_key};