diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-11 18:02:55 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2026-06-11 18:02:55 +0200 |
| commit | 0b6ca5cb8ca4c46265e08e13053260d9b5cff568 (patch) | |
| tree | 9dc656095f806e6dd1177e40b9a87cf6d6f10f1b /crates/turtle/src/command/client.rs | |
| parent | chore(server): Remove the last remnants of the "hub" sync-server thingy (diff) | |
| download | atuin-0b6ca5cb8ca4c46265e08e13053260d9b5cff568.zip | |
feat(server): Make user stuff stateless
Diffstat (limited to 'crates/turtle/src/command/client.rs')
| -rw-r--r-- | crates/turtle/src/command/client.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/crates/turtle/src/command/client.rs b/crates/turtle/src/command/client.rs index 15df60f8..9d5b4605 100644 --- a/crates/turtle/src/command/client.rs +++ b/crates/turtle/src/command/client.rs @@ -43,9 +43,6 @@ fn cleanup_old_logs(log_dir: &Path, prefix: &str, retention_days: u64) { #[cfg(feature = "sync")] mod sync; -#[cfg(feature = "sync")] -mod account; - #[cfg(feature = "daemon")] mod daemon; @@ -58,7 +55,6 @@ mod info; mod init; mod search; mod server; -mod setup; mod stats; mod store; mod wrapped; @@ -66,10 +62,6 @@ mod wrapped; #[derive(Subcommand, Debug)] #[command(infer_subcommands = true)] pub(crate) enum Cmd { - /// Setup Atuin features - #[command()] - Setup, - /// Manipulate shell history #[command(subcommand)] History(history::Cmd), @@ -92,10 +84,6 @@ pub(crate) enum Cmd { #[command(subcommand)] Server(server::Cmd), - /// Manage your sync account - #[cfg(feature = "sync")] - Account(account::Cmd), - /// Manage the atuin data store #[command(subcommand)] Store(store::Cmd), @@ -333,7 +321,6 @@ impl Cmd { let theme = theme_manager.load_theme(theme_name.as_str(), settings.theme.max_depth); match self { - Self::Setup => setup::run(&settings).await, Self::Import(import) => import.run(&db).await, Self::Stats(stats) => stats.run(&db, &settings, theme).await, Self::Search(search) => search.run(db, &mut settings, sqlite_store, theme).await, @@ -341,9 +328,6 @@ impl Cmd { #[cfg(feature = "sync")] Self::Sync(sync) => sync.run(settings, &db, sqlite_store).await, - #[cfg(feature = "sync")] - Self::Account(account) => account.run(settings, sqlite_store).await, - Self::Store(store) => store.run(&settings, &db, sqlite_store).await, Self::Server(server) => server.run().await, |
