goharbor / goharbor/harbor-cli

[feature]: Create project with --registry-name instead of --registry-id

Open
#900 2 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.