Skip to content

init flag is overwriting main without prompting about it #112

Open

Description

@Muskra

Hello there,

I used the init flag to init the library and the script seem's to overwrite the main file without prompting about it. It's annoying behaviors and should be explicit and/or appending to the file to prevent any issues.

Is it possible to add an alert message with a user validation ?

A '--force' flag could be added too incase the user want's to overwrite without prompting.

Thanks for considering.

Activity

  1. RaphaelPour commented on Oct 16, 2024

    @RaphaelPour

    +1

    Broke my neck a few times when I missed to setup a git repo beforehand. I always forget that cobra-cli is doing that 😅

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