az repos create and delete operations arguments are inconsistent
Open
act-platform-engineering-squad
Auto-Assign
Auto-Resolve
bug
customer-reported
DevOps
Service Attention
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Describe the bug
For creation:
```bash
az repos create --name
[--detect {false, true}]
[--open]
[--org]
[--project]
```
For deletion:
```bash
az repos delete --id
[--detect {false, true}]
[--org]
[--project]
[--yes]
```
the delete operation should also expect a `--name` instead of an `--id`
### Environment Summary
```bash
$ az version
```
```json
{
"azure-cli": "2.46.0",
"azure-cli-core": "2.46.0",
"azure-cli-telemetry": "1.0.8",
"extensions": {
"alertsmanagement": "0.2.2",
"azure-devops": "0.26.0"
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.