
Security News
Crates.io Implements Trusted Publishing Support
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
@gooddata/code-cli
Advanced tools
GoodData for VS Code and GoodData CLI are available for you to try out and provide feedback. Avoid using those in a production environment.
Manage your analytics as code. The solution consists of two components:
Together these tools allow you to:
The analytical objects you can work with include datasets, which form the logical data model, and metrics. Additionally, we have plans to incorporate support for visualizations in the near future.
With GoodData CLI you can:
Before getting started, ensure that you have:
In terminal, run npm i -g @gooddata/code-cli
.
You should have a new CLI command available, try running gd -v
or gd --help
.
gd init
commandOnce the CLI is installed you are able to initialize your project locally.
Steps:
gd init
and follow the instructions to create a gooddata.yaml
definition file..env
file in the same folder as gooddata.yaml
and add an environmental variable that stores
your API access token. For example:GD_API_TOKEN="fd6f9a71541856b4c9617f74a8576e131"
.Make sure you do not store the
.env
file in you version control system (like Git). For example, you can add the file to.gitignore
.
gd clone
commandTo clone your GoodData analytical environment to your local machine, run gd clone
.
You should now have an analytics
folder that contains your datasets
and metrics
.
gd validate
commandGoodData CLI can run validation on your project. This is useful if you want to set up CI/CD pipelines and, for example, ensure the project is valid before merging a pull request.
GoodData CLI will validate that:
To execute validation, run gd validate
.
gd deploy
commandGoodData CLI can deploy your analytical project to the GoodData server defined in gooddata.yaml
file.
To execute the deployment, run gd deploy
.
Before deploying the project, GoodData CLI will also run validation, unless --no-validate
argument was passed to the command.
FAQs
GoodData CLI
We found that @gooddata/code-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 60 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.
Research
/Security News
North Korean threat actors deploy 67 malicious npm packages using the newly discovered XORIndex malware loader.