Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@oclif/plugin-help

Package Overview
Dependencies
Maintainers
7
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oclif/plugin-help - npm Package Compare versions

Comparing version 2.1.6 to 2.2.0

23

lib/command.js

@@ -112,14 +112,17 @@ "use strict";

let body = list_1.renderList(flags.map(flag => {
const label = [];
if (flag.char)
label.push(`-${flag.char[0]}`);
if (flag.name) {
if (flag.type === 'boolean' && flag.allowNo) {
label.push(`--[no-]${flag.name.trim()}`);
let left = flag.helpLabel;
if (!left) {
const label = [];
if (flag.char)
label.push(`-${flag.char[0]}`);
if (flag.name) {
if (flag.type === 'boolean' && flag.allowNo) {
label.push(`--[no-]${flag.name.trim()}`);
}
else {
label.push(`--${flag.name.trim()}`);
}
}
else {
label.push(`--${flag.name.trim()}`);
}
left = label.join(', ');
}
let left = label.join(', ');
if (flag.type === 'option') {

@@ -126,0 +129,0 @@ let value = flag.helpValue || flag.name;

@@ -1,1 +0,1 @@

{"version":"2.1.6","commands":{"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI","allowNo":false}},"args":[{"name":"command","description":"command to show help for","required":false}]}}}
{"version":"2.2.0","commands":{"help":{"id":"help","description":"display help for <%= config.bin %>","pluginName":"@oclif/plugin-help","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI","allowNo":false}},"args":[{"name":"command","description":"command to show help for","required":false}]}}}
{
"name": "@oclif/plugin-help",
"description": "standard help for oclif",
"version": "2.1.6",
"version": "2.2.0",
"author": "Jeff Dickey @jdxcode",
"bugs": "https://github.com/oclif/plugin-help/issues",
"dependencies": {
"@oclif/command": "^1.5.8",
"@oclif/command": "^1.5.13",
"chalk": "^2.4.1",

@@ -18,3 +18,3 @@ "indent-string": "^3.2.0",

"devDependencies": {
"@oclif/config": "^1.12.0",
"@oclif/config": "^1.13.0",
"@oclif/dev-cli": "^1.21.0",

@@ -21,0 +21,0 @@ "@oclif/errors": "^1.2.2",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc