GoodData CLI
The GoodData Command-line Interface (CLI) lets you easily sync your local environment with the server. It is mainly aimed at the usage in CI/CD pipelines.
GoodData CLI is available for you to try out and provide feedback. As it is still in beta, avoid using it in production.
Getting Started
This README offers a brief overview of the CLI tool without a detailed Getting Started guide. For a comprehensive introduction and walkthrough, please visitGet Started with GoodData for VS Code.
Installation
To install, simply run npm i -g @gooddata/code-cli
in your terminal.
Now you should have a new CLI command available, try running gd -v
and you should get something along the lines of 0.5.0
.
There is a known overlap with OMZ default aliases.
Instead of gd
version (0.5.0
), you might see:
error: unknown switch ‘v’
usage: git diff --no-index [<options>] <path> <path>
If you do, try to run unalias gd
and try to run gd -v
again. If you play using GoodData CLI, consider adding this line to your .zshrc (or another) profile file, as otherwise it will not persist between sessions.
Options
Option | Description |
---|
-h or --help | Display the usage information. |
-v or --version | Show GoodData CLI version. |
Commands
Command | Description |
---|
init | Initialize a local GoodData environment. |
clone | Clone analytical objects from the workspace. |
deploy | Deploy analytical objects to GoodData. |
validate | Validate local environment. |
help | Display the usage information. |