GoodData CL is written in Java. The source code is available freely from Github under the permissive BSD license.
This is GoodData CL source code. Unless you wish to participate in development of the tool, you should choose the easier binary install.
-
download the code and unpack (or git clone this repository):
-
make sure you have Apache Maven installed:
$ which mvn /usr/bin/mvn
C:\>mvn --version Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01 +0200) [...]
-
create the M2_HOME environment variable that points to the Maven root directory
C:\> SET M2_HOME=path-to-your-maven-installation-dir
$ export M2_HOME=path-to-your-maven-installation-dir
-
Make sure that your JAVA_HOME environment variable points to your Java installation directory.
Please note that only the Java versions 1.5 and 1.6 are currently supported. -
build the toolkit:
C:\>mvn install
$ mvn install
-
build the client distribution
C:\>cd cli-distro C:\>mvn assembly:assembly
$ cd cli-distro $ mvn assembly:assembly
-
unpack one of the distributions that have been built in the cli-distro/target subdirectory:
- gooddata-cl-1.1.0-SNAPSHOT.tar.gz
- gooddata-cl-1.1.0-SNAPSHOT.zip
-
run the
gdi
script without arguments to get help from the unpacked distribution:C:> bin\gdi.bat usage: GdcDI -h,--host <arg> GoodData host -p,--password <arg> GoodData password -u,--username <arg> GoodData username [...]
$ ./bin/gdi.sh usage: GdcDI -h,--host <arg> GoodData host -p,--password <arg> GoodData password -u,--username <arg> GoodData username [...]