a8m / a8m/envsubst

add an -inplace option?

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.