Reference
Cocli
Every workspace and toolbox comes preinstalled with the Coherence CLI (cocli
).
It can be accessed via the Terminal in VSCode by entering cocli
and pressing Enter.
Our CLI allows you to get logs from a container, execute a process in a container, list available service containers, and test your app for compatibility with Coherence. It also makes it easy to interact with and get additional information about the containers running the services for your application.
Commands
logs
Gets the logs from a container
cocli logs
exec
Execute a process inside a container
cocli exec
Press ctrl + d
to exit
services
Lists available service containers
cocli services
configtest
Tests your app for compatibility with Cohernece
cocli configtest
help
Shows a list of commands available for the cocli
cocli help
Common use cases
Some common use cases for using our CLI are: