Socket
Socket
Sign inDemoInstall

cmdln

Package Overview
Dependencies
5
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.0 to 4.2.1

18

CHANGES.md

@@ -5,2 +5,7 @@ # node-cmdln Changelog

## 4.2.1
- It turns out specifying a `finale` option to `cmdln.main(CLI, OPTIONS)` never
worked. Fix that.
## 4.2.0

@@ -48,7 +53,10 @@

- softexit (the default): set `process.exitCode` if supported, else call
`process.exit()`
- exit: call `process.exit()` which can result in std handles not being flushed
- callback: call the given `options.callback`
- none: Do nothing
- "softexit" (the default): set `process.exitCode` if the node.js version
supports it (node v0.12 and above do), else call `process.exit()`. Note
the warning above that a process with open handles (e.g. a setTimeout)
will *hang*.
- "exit": call `process.exit()` which can result in std handles not being
flushed
- "callback": call the given `options.callback`
- "none": Do nothing

@@ -55,0 +63,0 @@

@@ -1417,3 +1417,3 @@ /*

format('invalid options.finale "%s": valid values are "%s"',
options.finale, '", "'.join(VALID_FINALES)));
options.finale, VALID_FINALES.join('", "')));
finale = options.finale

@@ -1420,0 +1420,0 @@ } else {

{
"name": "cmdln",
"version": "4.2.0",
"version": "4.2.1",
"description": "helper lib for creating CLI tools with subcommands; think `git`, `svn`, `zfs`",

@@ -5,0 +5,0 @@ "author": "Trent Mick (http://trentm.com)",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc