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

command-line-interface

Package Overview
Dependencies
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

command-line-interface - npm Package Compare versions

Comparing version 3.6.11 to 3.6.12

9

build/lib/usage/getCommandSynopsis.js

@@ -25,8 +25,5 @@ "use strict";

if (defaultOption) {
if (defaultOption.isRequired) {
synopsis += ` ${optionToString_1.optionToString({ option: defaultOption })}`;
}
else {
synopsis += ` [${optionToString_1.optionToString({ option: defaultOption })}]`;
}
synopsis += defaultOption.isRequired ?
` ${optionToString_1.optionToString({ option: defaultOption })}` :
` [${optionToString_1.optionToString({ option: defaultOption })}]`;
}

@@ -33,0 +30,0 @@ return synopsis;

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

## [3.6.12](https://github.com/thenativeweb/command-line-interface/compare/3.6.11...3.6.12) (2020-11-20)
### Bug Fixes
* Update README.md with working multiple:on parameter example. ([#200](https://github.com/thenativeweb/command-line-interface/issues/200)) ([cfa255f](https://github.com/thenativeweb/command-line-interface/commit/cfa255f2be4a572739f345f69ef3839c610efc02))
## [3.6.11](https://github.com/thenativeweb/command-line-interface/compare/3.6.10...3.6.11) (2020-11-09)

@@ -2,0 +9,0 @@

@@ -37,7 +37,5 @@ import { Command } from '../elements/Command';

if (defaultOption) {
if (defaultOption.isRequired) {
synopsis += ` ${optionToString({ option: defaultOption })}`;
} else {
synopsis += ` [${optionToString({ option: defaultOption })}]`;
}
synopsis += defaultOption.isRequired ?
` ${optionToString({ option: defaultOption })}` :
` [${optionToString({ option: defaultOption })}]`;
}

@@ -44,0 +42,0 @@

{
"name": "command-line-interface",
"version": "3.6.11",
"version": "3.6.12",
"description": "command-line-interface is a foundation for CLI applications.",

@@ -32,5 +32,5 @@ "contributors": [

"assertthat": "5.2.1",
"record-stdstreams": "3.0.26",
"roboter": "11.4.2",
"semantic-release-configuration": "1.0.25",
"record-stdstreams": "3.0.28",
"roboter": "11.5.11",
"semantic-release-configuration": "1.0.26",
"sinon": "9.2.1"

@@ -37,0 +37,0 @@ },

@@ -124,3 +124,3 @@ # command-line-interface

```shell
$ node.js app.js --name Jane,Jenny
$ node.js app.js --name Jane Jenny
```

@@ -127,0 +127,0 @@

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