-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README: Add instructions on how to install and use.
Signed-off-by: Akshat <akshat25iiit@gmail.com>
- Loading branch information
1 parent
48d40bc
commit a578d86
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,6 @@ | |
|
||
# Go workspace file | ||
go.work | ||
|
||
# harbor compiled file | ||
harbor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,35 @@ | ||
# harbor-cli | ||
Official Harbor CLI | ||
|
||
# How to Install: | ||
|
||
- Run `go mod download` to install the dependencies | ||
- Run `go build -o harbor` to generate the build file | ||
|
||
# How to Use: | ||
|
||
If you have completed the above steps, now you are all set to use this project. | ||
<br> | ||
<br> | ||
`./harbor --help` or do `./harbor help`: | ||
```shell | ||
Official Harbor CLI | ||
|
||
Usage: | ||
harbor [command] | ||
|
||
Available Commands: | ||
completion Generate the autocompletion script for the specified shell | ||
create create project, registry, etc. | ||
delete delete project, registry, etc. | ||
get get project, registry, etc. | ||
help Help about any command | ||
list list project, registry, etc. | ||
login Log in to Harbor registry | ||
update update registry, etc. | ||
|
||
Flags: | ||
-h, --help help for harbor | ||
|
||
Use "harbor [command] --help" for more information about a command. | ||
``` |