cdf.toml file. For example, to enable the module-repeat alpha flag,
add the following to your cdf.toml file:
Cognite Toolkit versioning and releases
The Cognite Toolkit uses semantic versioning to manage versions as major, minor, and patch (for example,0.3.17).
- A major version increases with breaking changes in the CLI or the format of modules and configuration files. Installing a new major toolkit version may require updating your configuration files or modules.
- Minor versions increase with new features and patch versions with bug fixes.
- Alpha releases (for example,
0.3.0a1) test new features, may contain breaking changes, and aren’t recommended for production. - Beta releases (
0.3.0b1) focus on stability and bug fixes and are suitable for non-production testing. - Stable releases (
0.3.0) are production-ready.
Alpha flag: module-repeat
Status: experimentalconfig.[env].yaml file. For
example, if you have a module my_module with a data set resource:
location.DataSet.yaml file looks like this:
location.DataSet.yaml
config.dev.yaml file, define a list under the my_module key:
config.dev.yaml
Oslo and one for New York.
In the build directory, you’ll get these two files:
1.location.DataSet.yaml
2.location.DataSet.yaml
Alpha flag: import-cmd
Status: experimentalcdf import command. The only subcommand available is transformation-cli. The command
converts the transformation-cli manifest files to the Cognite API (Toolkit) format. Use this, for example, if you have
transformations managed by the transformation-cli and want to convert them to the Cognite Toolkit format.
Alpha flag: infield
Status: planned for0.8.0
Available from: 0.5.10
infield configuration resource. See cdf.toml
for more information about the infield configuration resource.
Alpha flag: migrate
Status: experimental Available from:0.5.45
cdf migrate command. This command migrates asset-centric resources to data modeling. This
is currently an experimental feature and isn’t recommended for production use.
Alpha flag: profile
Status: experimental Available from:0.5.27
cdf profile command. This command allows you to profile CDF resources and their dependencies.
Use the cdf profile --help command to see the available options. Note that this command is currently in development and
will change in future releases.
Alpha flag: streams
Status: planned for0.8.0
Available from: 0.6.105
Streams resource, which allows you to create streams.
The YAML Reference Library has more information about the Streams resource.
Alpha flag: create
Status: planned for0.8.0
Available from: 0.7.3
create subcommand under the dev plugin, which allows you to create resource YAML files from the CLI.
To use this subcommand, you need to enable the dev plugin. Once enabled, you can create resource YAML files with cdf dev create. To get more information about the subcommand, use the --help flag.