a8m / a8m/envsubst

add an -inplace option?

Đang mở
#4 3 bình luận 3 reaction 0 người được giao Xem trên GitHub
good first issue help wanted
Ngôn ngữ chính
Go
Star
907
Fork
96
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.