feat(cli): added flag no-emoji

This does not implement no emoji, althugh it should be easier with the
strings consts in place.

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
This commit is contained in:
Christina Sørensen 2023-07-03 11:36:20 +02:00
parent 97d8ee52fc
commit 1e22d3bf5a
Signed by: cafkafk
GPG key ID: CDDC792F655251ED
2 changed files with 7 additions and 3 deletions

View file

@ -8,7 +8,7 @@
- [ ] Category Flags Finished - [ ] Category Flags Finished
- [ ] Implement Quiet flag - [ ] Implement Quiet flag
- [ ] Implement no-emoji flag - [ ] Implement no-emoji flag
* 0.1.0 [80%] [4/5] * 0.1.0 [100%] [5/5]
- [X] No functionality regressions - [X] No functionality regressions
- [X] commit works in quick, fast - [X] commit works in quick, fast
- [X] commit with edit works - [X] commit with edit works
@ -17,6 +17,6 @@
- [X] Subcommands - [X] Subcommands
- [X] Quiet flag (wont rn) - [X] Quiet flag (wont rn)
- [X] Do something about coc flag - [X] Do something about coc flag
- [-] UX - [X] UX
- [X] Change failure emotes - [X] Change failure emotes
- [ ] Flag for disabling emotes - [X] Flag for disabling emotes

View file

@ -67,6 +67,10 @@ pub struct Args {
#[arg(short, long)] #[arg(short, long)]
pub quiet: bool, pub quiet: bool,
/// No emoji (not imlemented)
#[arg(short, long)]
pub no_emoji: bool,
#[command(subcommand)] #[command(subcommand)]
pub command: Option<Commands>, pub command: Option<Commands>,
} }