From 634b3e375f171e15c586974224745192d3746d71 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 4 Oct 2022 18:56:49 -1000 Subject: Add contributors command (#550) Inspired by the ClickHouse system contributors table, I thought this is a nice extra way to say thank you to all those who put time and energy into our project --- src/command/mod.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/command/mod.rs') diff --git a/src/command/mod.rs b/src/command/mod.rs index 393936b0..df6b66e9 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -10,6 +10,8 @@ mod server; mod init; +mod contributors; + #[derive(Subcommand)] #[clap(infer_subcommands = true)] pub enum AtuinCmd { @@ -29,6 +31,8 @@ pub enum AtuinCmd { /// Generate a UUID Uuid, + Contributors, + /// Generate shell completions GenCompletions { /// Set the shell for generating completions @@ -48,6 +52,10 @@ impl AtuinCmd { Self::Client(client) => client.run(), #[cfg(feature = "server")] Self::Server(server) => server.run(), + Self::Contributors => { + contributors::run(); + Ok(()) + } Self::Init(init) => { init.run(); Ok(()) -- cgit v1.3.1