initial stage PR. Need to use charmil utilities for both plugin and host. But this is how I got it working.'
Initialized Plugin's factory in host to pass it to plugin.
- service-registry command is plugin
❯ go run ./cmd/rhoas
Manage your application services directly from the command line.
Usage:
rhoas [command]
Examples:
# authenticate securely through your web browser
$ rhoas login
# create a Kafka instance
$ rhoas kafka create my-kafka-cluster
# create a service account and save credentials to a JSON file
$ rhoas service-account create -o json
# connect your Kubernetes/OpenShift cluster to a service
$ rhoas cluster connect
Available Commands:
cluster View and perform operations on your Kubernetes or OpenShift cluster
completion Outputs command completion for the given shell (bash, zsh, or fish)
config Change specific configuration for the options
help Help about any command
kafka Create, view, use, and manage your Apache Kafka instances
login Log in to RHOAS
logout Log out from RHOAS
service-account Create, list, describe, delete and update service accounts
service-registry [Preview] Service Registry commands
status View the status of all currently used services
whoami Print current username
Flags:
-h, --help Show help for a command
-v, --verbose Enable verbose mode
--version Show rhoas version
Use "rhoas [command] --help" for more information about a command.