Usher CLI
Usher CLI allows users to easily interact with Usher server. Usher CLI is built
around similar concepts as kubectl
(Kuberentes CLI). When new resources are
added to Usher server, the CLI does not need any changes. It just works!
Build the CLI
- For linux:
go build -o usher main.go
- For windows:
GOOS=windows go build -o usher main.go
- For MacOS:
GOOS=darwin go build -o usher main.go
Documentation
Documentation is provided in the CLI itself.
Usher Client CLI can be used to communicate with Usher API server.
Usage:
usher [command]
Available Commands:
create Create Resource
delete Delete Resource
get Get Resource
help Help about any command
update Update Resource
Flags:
-f, --file string Construct request data from file
-h, --help help for usher
-n, --name string Name of the resource
-o, --owner string Owner of the resource
-p, --parent string:string Parent in <Kind>:<name> format
-s, --state string State of the resource
-u, --ugly Do not pretty print
Use "usher [command] --help" for more information about a command.