Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@cognite/itg-cli
Advanced tools
npm install -g @cognite/itg-cli
# 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
# Check if a schema is valid graphql and fits ITG requirements
itg schema validate -f mymodel.graphql
# For CI/CD, add flag to fail when invalid schema detected
itg schema validate --fail-on-invalid -f mymodel.graphql
# 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
Set the COGNITE_CREDENTIALS variable with an api key for the respective cdf project to get access
We expect the main use of the CLI for CI/CD will be validating and updating schemas. The validate step should be added to the create pr
workflow, while the update step should be added to the merge to master
workflow. Remember to include the --fail-on-invalid
flag in the validate command to avoid false positives in the workflow.
FAQs
A CLI for itg.cognite.ai
We found that @cognite/itg-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 138 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.