aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/src/command/client/sync.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-11 18:02:55 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-11 18:02:55 +0200
commit0b6ca5cb8ca4c46265e08e13053260d9b5cff568 (patch)
tree9dc656095f806e6dd1177e40b9a87cf6d6f10f1b /crates/turtle/src/command/client/sync.rs
parentchore(server): Remove the last remnants of the "hub" sync-server thingy (diff)
downloadatuin-0b6ca5cb8ca4c46265e08e13053260d9b5cff568.zip
feat(server): Make user stuff stateless
Diffstat (limited to 'crates/turtle/src/command/client/sync.rs')
-rw-r--r--crates/turtle/src/command/client/sync.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/crates/turtle/src/command/client/sync.rs b/crates/turtle/src/command/client/sync.rs
index 8d7cb50a..7adf90ed 100644
--- a/crates/turtle/src/command/client/sync.rs
+++ b/crates/turtle/src/command/client/sync.rs
@@ -11,8 +11,6 @@ use crate::atuin_client::{
mod status;
-use crate::command::client::account;
-
#[derive(Subcommand, Debug)]
#[command(infer_subcommands = true)]
pub(crate) enum Cmd {
@@ -23,15 +21,6 @@ pub(crate) enum Cmd {
force: bool,
},
- /// Login to the configured server
- Login(account::login::Cmd),
-
- /// Log out
- Logout,
-
- /// Register with the configured server
- Register(account::register::Cmd),
-
/// Print the encryption key for transfer to another machine
Key {},
@@ -48,9 +37,6 @@ impl Cmd {
) -> Result<()> {
match self {
Self::Sync { force } => run(&settings, force, db, store).await,
- Self::Login(l) => l.run(&settings, &store).await,
- Self::Logout => account::logout::run().await,
- Self::Register(r) => r.run(&settings).await,
Self::Status => status::run(&settings).await,
Self::Key {} => {
use crate::atuin_client::encryption::{encode_key, load_key};