cobra icon indicating copy to clipboard operation
cobra copied to clipboard

Suggest: cobra-cli should detect `main.go` file wether exists or not

Open amone-bit opened this issue 3 months ago • 0 comments

When I use cobra-cli init, it will overwrite my main.go file. Suggest first detect main.go file wether exists or not rather than overwrite it directly. I think it is dangerous, if main.go file has something important content.

amone-bit avatar Oct 12 '25 14:10 amone-bit