Describe the feature or problem you’d like to solve
gh repo delete is dangerous when used with --yes and no argument as this will attempt to delete the repository in your current working directory.
Proposed solution
We should ignore --yes when there is no argument and force the user to confirm. If we cannot prompt (non-interactive), providing --yes without an argument should produce an error and exit.
Additional context
This will help prevent accidental deletion of important repositories.
Describe the feature or problem you’d like to solve
gh repo deleteis dangerous when used with--yesand no argument as this will attempt to delete the repository in your current working directory.Proposed solution
We should ignore
--yeswhen there is no argument and force the user to confirm. If we cannot prompt (non-interactive), providing--yeswithout an argument should produce an error and exit.Additional context
This will help prevent accidental deletion of important repositories.