cobra-cli icon indicating copy to clipboard operation
cobra-cli copied to clipboard

feat: check if command exists before attempting to create

Open kodejuice opened this issue 2 years ago • 5 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-cli add .., this pull request aims to fix that.

kodejuice avatar Aug 11 '22 09:08 kodejuice

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 11 '22 09:08 CLAassistant

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

github-actions[bot] avatar Oct 11 '22 00:10 github-actions[bot]

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

github-actions[bot] avatar Dec 12 '22 00:12 github-actions[bot]

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

github-actions[bot] avatar Feb 12 '23 00:02 github-actions[bot]

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

github-actions[bot] avatar Apr 15 '23 00:04 github-actions[bot]