goharbor / goharbor/harbor-cli

[bug]: Missing non-interactive registry update mode

Open
#898 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Go
Stars
163
Forks
211
Avg merge
1m
Merged PRs (30d)
1

Description

## Description
I'm unable to update a registry non-interative.

## Steps to Reproduce
```shell
harbor-cli registry update docker.muh --name "docker.muh" --url "https://docker.io" --description "Docker Muh" --credential-access-key "" --credential-access-secret ""
```

## Expected Behavior
Only defined fields should be updated without asking.

## Actual Behavior
Provides an interactive input mask.

## Environment
- OS: Rocky Linux 9.7
- Tool version: 0.0.19
- Other relevant details:

## Additional Context
Logs, screenshots, or other useful information.

Image

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.