repository
repository delete
Delete a repository.
Arguments
PROJECT
Name of the project the repository belongs to.
Type: text
Required: ✅
REPOSITORY
Name of the repository to get.
Type: text
Required: ✅
Options
--force
Force deletion without confirmation.
Type: boolean
(flag)
Default: False
repository get
Fetch a repository.
Arguments
PROJECT
Name of the project the repository belongs to.
Type: text
Required: ✅
REPOSITORY
Name of the repository to get.
Type: text
Required: ✅
repository list
List repositories in all projects or a specific project.
Arguments
PROJECT
Name of project to fetch repositories from. If not specified, all projects will be searched.
Type: text
Options
--query
<QUERY>
Query parameters to filter the results.
See harborapi docs for more information.
Type: text
--sort
<SORT>
Sorting order of the results. Example: 'name,-id'
to sort by name ascending and id descending.
Type: text
--page
<PAGE>
(Advanced) Page to begin fetching from.
Type: integer
Default: 1
--page-size
<PAGE_SIZE>
(Advanced) Results to fetch per API call.
Type: integer
Default: 10
--limit
<LIMIT>
Maximum number of results to fetch.
Type: integer
repository update
Update a repository.
As of now, only the description can be updated (if the Web UI is to be trusted).
Arguments
PROJECT
Project name of repository to update.
Type: text
Required: ✅
REPOSITORY
Name of the repository to update.
Type: text
Required: ✅
Options
--description
<DESCRIPTION>
The description of the repository
Type: text