Cognite-Toolkit Beta6 is Out

  • 25 January 2024
  • 0 replies
  • 41 views

Userlevel 2
Badge

Main Changes

This is a rework of the terminal output of `cdf-tk deploy` and `cdf-tk clean` to provide better information about what happens. This change takes effect with and without also passing the flag `--dry-run`.

In addition, both these commands now support `--drop-data` which is independent of `--drop`, so that you can for example, drop all datapoints from a timeseries without deleting the timeseries itself.

Examples of running the deploy command

Running the command
cdf-tk deploy --dry-run --env dev

Will now output two tables:

And:


Adding verbose will give more details about exactly which resources will be changed
cdf-tk --verbose deploy --dry-run --env dev
Part of the new output

​​​​​​
Example of running clean

Running the command

cdf-tk clean --env dev
Outputs the same two tables with the summary of the opertion

 


0 replies

Be the first to reply!

Reply