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
This commit is contained in:
Ellie Huxtable 2022-10-04 18:56:49 -10:00 committed by GitHub
parent 91b2e6b090
commit 634b3e375f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 62 additions and 0 deletions

View file

@ -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);
}

View file

@ -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(())