add an -inplace option?
Open
good first issue
help wanted
- Dominant language
- Go
- Stars
- 907
- Forks
- 96
- PR merge metrics
- No merged PRs in 30d
Description
I think it would be useful to add an `--inplace` option where the target destination file is the source file :)
Contributor guide
No contributing guide indexed for this repository
Research direction
Look at the main command-line parsing and file handling logic in the project, likely in a main.go or cmd/ directory. Understand how source and destination files are currently processed. The change involves adding a flag that, when set, makes the output overwrite the input file. Check for existing tests related to CLI flags and file operations to see how to add a test for the new behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100