a8m / a8m/envsubst

add an -inplace option?

未关闭
#4 3 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
good first issue help wanted
主要语言
Go
星标
907
派生
96
PR 合并指标
30 天内没有已合并 PR

描述

I think it would be useful to add an `--inplace` option where the target destination file is the source file :)

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
go
领域
cli
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。