diff options
| author | Ellie Huxtable <ellie@elliehuxtable.com> | 2022-10-04 18:56:49 -1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-04 21:56:49 -0700 |
| commit | 634b3e375f171e15c586974224745192d3746d71 (patch) | |
| tree | 32e3b03f4f3eb10fe20a66d3ecc75b4c81bcf530 /src/command/mod.rs | |
| parent | Bump lukemathwalker/cargo-chef (#546) (diff) | |
| download | atuin-634b3e375f171e15c586974224745192d3746d71.zip | |
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
Diffstat (limited to 'src/command/mod.rs')
| -rw-r--r-- | src/command/mod.rs | 8 |
1 files changed, 8 insertions, 0 deletions
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(()) |
