cobra icon indicating copy to clipboard operation
cobra copied to clipboard

Check if command already exists before attempting to create

Open kodejuice opened this issue 3 years ago • 3 comments

These changes makes sure a command doesn't exist before attempting to create it, if it does the user gets a command already exists message.

I lost a lot of uncommited work in a project of mine because i mistakenly ran $ cobra add .., this pull request aims to fix that.

kodejuice avatar Feb 27 '21 05:02 kodejuice

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 27 '21 05:02 CLAassistant

This PR is being marked as stale due to a long period of inactivity

github-actions[bot] avatar Apr 29 '21 00:04 github-actions[bot]

.....

kodejuice avatar Apr 29 '21 01:04 kodejuice