You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
It should be possible to patch cobra-cli with the PR above, although the lack of a response is concerning. For now I have decided against using cobra-cli due to the lack of activity.
This should be extended to the "add" command. I accidentally ran the add command from the shell history and it resulted in me loosing a log of code that I'd implemented. Now I have to try to remember how I implemented and recreate the code best that I can remember.
And by the way, the PR mentioned above was never merged and has been closed so it looks like a fix was attempted but never accepted.
When running
cobra-cli init
on an existing project with amain.go
, it will overwrite themain.go
. I don't think this behavior should be a default. Could we add functionality to at least move the old file to something likemain.go.old
?The text was updated successfully, but these errors were encountered: