Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@cognite/cli
Advanced tools
This is in super alpha!
$ npm i -g @cognite/cli
The project and api-key is specified through the two required environment variables
$ export COGNITE_PROJECT=publicdata
$ export COGNITE_CREDENTIALS=<api-key>
and the optional environment variable
$ export COGNITE_BASE_URL=<cluster-specific-url>
cdf assets list
cdf assets list --limit=5
cdf assets list --filter.root=true --limit=5
cdf assets retrieve --externalIds=test1,test2
cdf assets retrieve --ids=123,234
cdf assets search --filter.root=true --search.name=name --limit=10
cdf assets create --externalId=test1 --name=somename
cdf assets update --externalId=test1 --update.name.set=somenewname
You can also pipe JSON input to create/delete to create multiple assets at once. Assuming assets.json contains
[
{"externalId": "test.1"},
{"externalId": "test.2"}
]
then;
cat assets.json | cdf assets create
cat assets.json | cdf assets delete
Yes, please. Issues and PRs are highly welcome.
This package is automatically released using semantic release. Please write commit messages that follows the angular commit message conventions (feat:, fix: etc).
FAQs
a cli for cognite data fusion
We found that @cognite/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 54 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
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.