barelyhuman / barelyhuman/commitlog

Overwrite Mode

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.