diff --git a/README.md b/README.md index 51c1053..366df99 100644 --- a/README.md +++ b/README.md @@ -27,3 +27,32 @@ please: or as `cuddle.please.yaml` See docs for more information about installation and some such + + +## Checklist + +### 0.1 Milestone + +- [ ] Hide unneccessary commands +- [ ] Redo configuration frontend +- [ ] Refactor command.rs into smaller bits so that bits are easier to test +- [ ] Add reporter for PR and Repositories +- [ ] Setup temporary git name and email to use for git committing + +### 0.2 Milestone + +- [ ] Add docs +- [ ] Add asciidoc +- [ ] Add examples +- [ ] Fix drone config + - [ ] Releaser + - [ ] On main/master +- [ ] tbd... + +### 0.3 Milestone + +- [ ] Add inquire for missing values when needed (when not running in ci or have a proper tty) + +### 0.x Milestone +- [ ] Add github support +- [ ] Create docker image diff --git a/crates/cuddle-please/src/command.rs b/crates/cuddle-please/src/command.rs index adf59e0..7c2b4fb 100644 --- a/crates/cuddle-please/src/command.rs +++ b/crates/cuddle-please/src/command.rs @@ -73,15 +73,6 @@ struct GlobalArgs { #[arg(long, global = true, help_heading = "Global")] dry_run: bool, - /// no version control system, forces please to allow no .git/ or friends - #[arg( - long, - global = true, - help_heading = "Global", - long_help = "no version control system. This forces cuddle-please to accept that it won't be running in git. All fields will have to be fed through values in the given commands." - )] - no_vcs: bool, - /// Inject configuration from stdin #[arg( long, @@ -402,11 +393,7 @@ impl Command { } fn get_git(&self, current_dir: &Path) -> anyhow::Result { - if self.global.no_vcs { - Ok(VcsClient::new_noop()) - } else { - VcsClient::new_git(current_dir) - } + VcsClient::new_git(current_dir) } fn get_from_environment(&self, config: &mut PleaseConfig) -> anyhow::Result<()> {