From 1e22d3bf5a9d213f47caeaccac81e516ee720aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20S=C3=B8rensen?= Date: Mon, 3 Jul 2023 11:36:20 +0200 Subject: [PATCH] feat(cli): added flag no-emoji MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This does not implement no emoji, althugh it should be easier with the strings consts in place. Signed-off-by: Christina Sørensen --- doc/roadmap.org | 6 +++--- src/cli.rs | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/roadmap.org b/doc/roadmap.org index 44b6e98..2d39f4d 100644 --- a/doc/roadmap.org +++ b/doc/roadmap.org @@ -8,7 +8,7 @@ - [ ] Category Flags Finished - [ ] Implement Quiet flag - [ ] Implement no-emoji flag -* 0.1.0 [80%] [4/5] +* 0.1.0 [100%] [5/5] - [X] No functionality regressions - [X] commit works in quick, fast - [X] commit with edit works @@ -17,6 +17,6 @@ - [X] Subcommands - [X] Quiet flag (wont rn) - [X] Do something about coc flag -- [-] UX +- [X] UX - [X] Change failure emotes - - [ ] Flag for disabling emotes + - [X] Flag for disabling emotes diff --git a/src/cli.rs b/src/cli.rs index 4b7d6f8..29d0183 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -67,6 +67,10 @@ pub struct Args { #[arg(short, long)] pub quiet: bool, + /// No emoji (not imlemented) + #[arg(short, long)] + pub no_emoji: bool, + #[command(subcommand)] pub command: Option, }