@cognite/itg-cli

0.0.1-alpha.0 • Public • Published

itg - A CLI for https://itg.cognite.ai

Commands

# Creates a new project and dumps details in .itgrc
itg init

itg schema view
# Also includes all generated types and queries
itg schema view --full
itg schema view --type=Equipment

# Add and replace a schema in itg
itg schema update -f mymodel.graphql

itg nodes add --type Equipment -f equipment.csv
itg nodes add --type Document -f documents.csv

itg relations add Equipment.documents -f relations.csv

# Delete the project, including the .itgrc
itg prune

Global variables

Set the COGNITE_CREDENTIALS variable with an api key for the respective cdf project to get access

Readme

Keywords

none

Package Sidebar

Install

npm i @cognite/itg-cli

Weekly Downloads

2

Version

0.0.1-alpha.0

License

Apache-2.0

Unpacked Size

78.9 kB

Total Files

40

Last publish

Collaborators

  • npmwatchtower
  • cognitecicd