goharbor / goharbor/harbor-cli
[feature]: Create project with --registry-name instead of --registry-id
Open
enhancement
- Dominant language
- Go
- Stars
- 163
- Forks
- 211
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
## Problem
For automation purposes it would be nice to pass `--registry-name` like:
```shell
harbor-cli project create docker.io --proxy-cache --public --registry-name "docker.io" --storage-limit "-1"
```
Instead of:
```shell
harbor-cli registy list --output-format json
# parsing id
harbor-cli project create docker.io --proxy-cache --public --registry-id 1 --storage-limit "-1"
```
Contributor guide
Assessment
This issue has not been assessed yet.