
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
@diez/cli-core
Advanced tools
@diez/cli-core
This package provides the core functionality of the extensible Diez command line interface.
Diez configurations, which can be specified either in package.json
using the special "diez"
key or in a dedicated .diezrc
file, can extend the command line functionality in various ways, including registering compiler targets and providing entire new commands.
A CliCommandProvider
can be implemented in a Diez package like this:
// src/commands/command.ts
import {CliCommandProvider} from '@diez/cli-core';
const provider: CliCommandProvider = {
loadAction: () => action,
name: 'command',
description: 'Command description',
options: [
{
shortName: 'o',
longName: 'option',
valueName: 'optionValue',
description: 'Some option.',
},
],
};
export = provider;
A custom command provider can be registered in package-name/package.json
:
{
"name": "package-name",
...,
"diez": {
"providers": {
"commands": ["./lib/commands/command"]
}
}
}
or in package-name/.diezrc
:
{
"providers": {
"commands": ["./lib/commands/command"]
}
}
The resulting command can be invoked with: diez command --option [-o] <optionValue>
.
10.6.0 (2020-05-20)
Note: Version bump only for package @diez/mono
FAQs
APIs for the Diez command line interface.
The npm package @diez/cli-core receives a total of 355 weekly downloads. As such, @diez/cli-core popularity was classified as not popular.
We found that @diez/cli-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.