az CLI resolves partial argument names e.g. --resource is getting resolved to --resource-group
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
CLI should not resolves partial argument to other arguments, it should be absolute. Could cause confusion for users , as there could be multiple argument names starting with the same root name (e.g. resource-group, resource-type etc). It could also break automation due to side effects
**Command Name**
``
**Errors:**
```
```
## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- _Put any pre-requisite steps here..._
- ``
## Expected Behavior
## Environment Summary
```
Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-debian-buster-sid, Ubuntu 18.04.6 LTS
Python 3.7.9
Installer: PIP
azure-cli 2.36.0
Extensions:
ml Unknown
machinelearningservices Unknown
Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.