Skip to content

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

Description

@amone-bit

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions