feature: cobra-cli should not overwrite an existing main.go file if it already exists
Opened this issue · 2 comments
ethanholz commented
When running cobra-cli init
on an existing project with a main.go
, it will overwrite the main.go
. I don't think this behavior should be a default. Could we add functionality to at least move the old file to something like main.go.old
?
donovanglover commented
ethanholz commented
Hmm. Good to know thanks!