cobra
cobra copied to clipboard
Suggest: cobra-cli should detect `main.go` file wether exists or not
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.