XOSSH

XOSSH is a shell (CLI tool) that lets you directly operate on the XOS data model. To use XOSSH, first deploy it using the xossh helm chart:

cd helm-charts
helm install xos-tools/xossh -n xossh

To connect to the xossh container, you can use this command (from the helm-chart directory):

bash xos-tools/xossh/xossh-attach.sh

This will connect to the grpc APIs exposed by xos-core and start a python shell.

Once started, you should see this on your console:

__   __   ____     _____    _____   _    _
\ \ / /  / __ \   / ____|  / ____| | |  | |
 \ V /  | |  | | | (___   | (___   | |__| |
  > <   | |  | |  \___ \   \___ \  |  __  |
 / . \  | |__| |  ____) |  ____) | | |  | |
/_/ \_\  \____/  |_____/  |_____/  |_|  |_|

XOS Core server at xos-core.cord.lab:50051
Type "listObjects()" for a list of all objects
Type "listUtility()" for a list of utility functions
Type "login("username", "password")" to switch to a secure shell
Type "examples()" for some examples
xossh >>>