Program Manager cli
##Prerequisites
- java 8
- consul
How do I get set up?
Run Consul
One way to run consul is using dev mode:
consul agent -dev -ui
Build the project
./gradlew build
Run as executable jar
java -jar build/libs/cli-0.0.1-SNAPSHOT.jar --spring.cloud.consul.host=localhost
How do I use it ?
Display available commands
help
Execute command with default arguments
basic-url
Execute command with customized arguments
Using parameter key
basic-url --key pm/settings/gateway/keycloak/basic_url --value http://ipaddress/au
Without parameter key (Parameters order should be respected)
basic-url pm/settings/gateway/keycloak/basic_url http://ipaddress/au