aboutsummaryrefslogtreecommitdiffstats
path: root/crates/turtle/src/command/client/store.rs
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-12 17:16:19 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-06-12 17:16:19 +0200
commit2ca7dd57b12861e8c9bbc9238cda612e0ff22ff3 (patch)
tree302a644f6a50d60cc8304c4498fe6bbb72ddaaa9 /crates/turtle/src/command/client/store.rs
parentfeat(server): Really make users stateless (with tests) (diff)
downloadatuin-2ca7dd57b12861e8c9bbc9238cda612e0ff22ff3.zip
chore(treewide): Cleanup themes
Diffstat (limited to 'crates/turtle/src/command/client/store.rs')
-rw-r--r--crates/turtle/src/command/client/store.rs14
1 files changed, 2 insertions, 12 deletions
diff --git a/crates/turtle/src/command/client/store.rs b/crates/turtle/src/command/client/store.rs
index 347c4bee..bc57488d 100644
--- a/crates/turtle/src/command/client/store.rs
+++ b/crates/turtle/src/command/client/store.rs
@@ -2,18 +2,14 @@ use clap::Subcommand;
use eyre::Result;
use crate::atuin_client::{
- database::ClientSqlite, record::{sqlite_store::SqliteStore, store::Store}, settings::Settings
+ database::ClientSqlite, record::sqlite_store::SqliteStore, settings::Settings,
};
use itertools::Itertools;
use time::{OffsetDateTime, UtcOffset};
-#[cfg(feature = "sync")]
-mod push;
-
-#[cfg(feature = "sync")]
mod pull;
-
mod purge;
+mod push;
mod rebuild;
mod rekey;
mod verify;
@@ -37,11 +33,9 @@ pub(crate) enum Cmd {
Verify(verify::Verify),
/// Push all records to the remote sync server (one way sync)
- #[cfg(feature = "sync")]
Push(push::Push),
/// Pull records from the remote sync server (one way sync)
- #[cfg(feature = "sync")]
Pull(pull::Pull),
}
@@ -58,11 +52,7 @@ impl Cmd {
Self::Rekey(rekey) => rekey.run(settings, store).await,
Self::Verify(verify) => verify.run(settings, store).await,
Self::Purge(purge) => purge.run(settings, store).await,
-
- #[cfg(feature = "sync")]
Self::Push(push) => push.run(settings, store).await,
-
- #[cfg(feature = "sync")]
Self::Pull(pull) => pull.run(settings, store, database).await,
}
}