From 634b3e375f171e15c586974224745192d3746d71 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 4 Oct 2022 18:56:49 -1000 Subject: [PATCH] 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/contributors.rs | 54 +++++++++++++++++++++++++++++++++++++ src/command/mod.rs | 8 ++++++ 2 files changed, 62 insertions(+) create mode 100644 src/command/contributors.rs diff --git a/src/command/contributors.rs b/src/command/contributors.rs new file mode 100644 index 0000000..03e317d --- /dev/null +++ b/src/command/contributors.rs @@ -0,0 +1,54 @@ +const CONTRIBUTORS: &str = r#" +Ellie Huxtable (@ellie) +ConradLudate (@conradludgate) +Orhun Parmaksız (@orhun) +Jamie Quigley (@Sciencentistguy) +Yuvi Panda (@yuvipanda) +Jakub Jirutka (@jirutka) +Frank Hamand (@frankh) +Jannik (@mozzieongit) +Sandro (@SuperSandro2000) +bl-ue (@bl-ue) +Ian Smith (@ismith) +Michael Bianco (@iloveitaly) +Mat Jones (@mrjones2014) +Mark Wotton (@mwotton) +Jakob Schrettenbrunner (@schrej) +Jakub Panek (@panekj) +ZhiHong Li (@OnePieceJoker) +Satyarth Sampath (@notsatyarth) +Noyzen (@noyez) +Jerome Ducret (@DucretJe) +c-14 (@c-14) +avinassh (@avinassh) +Will Fancher (@ElvishJerricco) +Omer Katz (@thedrow) +Manel Vilar (@manelvf) +Simon Elsbrock (@elsbrock) +Patrick Jackson (@patricksjackson) +Lucas Burns (@lmburns) +Patrick (@pmarschik) +Herby Gillot (@herbygillot) +Brad Robel-Forrest (@bradrf) +lchausmann (@lchausmann) +mundry (@mundry) +jean-santos (@jean-santos) +networkException (@networkException) +mb6ockatf (@mb6ockatf) +Luke Baker (@lukebaker) +Daniel (@daniel0611) +Ubiquitous Photon (@UbiquitousPhoton) +Sam Lanning (@s0) +b3nj5m1n (@b3nj5m1n) +Sam Edwards (@dotsam) +Ilkin Bayramli (@ibayramli) +Klas Mellbourn (@Mellbourn) +morguldir (@morguldir) +Martin Indra (@Indy2222) +Michael Mior (@michaelmior) +CosmicHorror (@LovecraftianHorror) +Laurent le Beau-Martin (@laurentlbm)"#; + +pub fn run() { + println!("{}", CONTRIBUTORS); +} diff --git a/src/command/mod.rs b/src/command/mod.rs index 393936b..df6b66e 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(())