
Product
Introducing Module Reachability: Focus on the Vulnerabilities That Matter
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
@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 428 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.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.
Product
Socket is introducing a new way to organize repositories and apply repository-specific security policies.
Company News
Socket’s acquisition of Coana brings best-in-class reachability analysis to application security teams globally, cementing Socket’s position as the leader in software supply chain security. The news comes as Socket has seen over 300% year-over-year revenue growth over the past year with customers including Anthropic, Figma, OpenAI, and Vercel.