gx CLI

Grainite's CLI

gx makes it easy to build and deploy Grainite applications. This guide will go over all of gx’s capabilities in detail.

To download gx, follow the instructions on this page.

Before getting started, it is important to note that gx gets some properties from a .gx file located at $HOME. This file contains declarations of some frequently used arguments and can be modified at any time. If .gx is not found in $HOME at runtime, it is created automatically.

To use a specific properties file for individual commands, --gxFile <properties file> can be used. Now, instead of getting properties from $HOME/.gx, properties will be fetched from the provided <properties file>, for the preceding command.

The .gx properties file can either be edited directly or modified using gx config <property> <value>.

Last updated