diff --git a/doc/roadmap.org b/doc/roadmap.org index df40644..d44c934 100644 --- a/doc/roadmap.org +++ b/doc/roadmap.org @@ -6,15 +6,16 @@ - [ ] Version pinning - [ ] libgit2 (maybe) - [ ] Category Flags Finished -* 0.1.0 [60%] [3/5] +- [ ] Implement Quiet flag +* 0.1.0 [80%] [4/5] - [X] No functionality regressions - [X] commit works in quick, fast - [X] commit with edit works - [X] Repo Flags Finished - [X] Optional Fields -- [-] Subcommands - - [ ] Quiet flag - - [-] Do something about coc flag +- [X] Subcommands + - [X] Quiet flag (wont rn) + - [X] Do something about coc flag - [ ] UX - [ ] Change failure emotes - [ ] Flag for disabling emotes diff --git a/src/cli.rs b/src/cli.rs index 10e0657..4b7d6f8 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -59,10 +59,14 @@ pub struct Args { #[arg(long)] pub warranty: bool, - /// Print code-of-conduct information (not implemented) + /// Print code-of-conduct information #[arg(long)] pub code_of_conduct: bool, + /// Try to be as quiet as possible (unix philosophy) (not imlemented) + #[arg(short, long)] + pub quiet: bool, + #[command(subcommand)] pub command: Option, } diff --git a/src/main.rs b/src/main.rs index 44170b4..d97985b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -62,6 +62,7 @@ fn main() { args if args.license => println!("{}", utils::strings::INTERACTIVE_LICENSE), args if args.warranty => println!("{}", utils::strings::INTERACTIVE_WARRANTY), args if args.code_of_conduct => println!("{}", utils::strings::INTERACTIVE_COC), + args if args.quiet => todo!(), _ => (), } match &mut args.command {