barelyhuman / barelyhuman/commitlog
Overwrite Mode
Open
enhancement
- Dominant language
- Go
- Stars
- 81
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
add an overwrite mode flag to the `generate` commands `--out` flag so that we can have appending be the default behaviour of the command when outputting to a file and can switch to overwriting when the flag is on.
Contributor guide
Research direction
Start by locating the generate commands and their --out flag handling in the Go CLI, then inspect how file output currently behaves. Done means output appends by default and a new overwrite mode flag switches the same commands to overwriting the file; add or run relevant command tests if the project provides them.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100