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

cmdln

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmdln - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

10

CHANGES.md
# node-cmdln Changelog
## not yet released
(nothing yet)
## 4.1.2
- [trentm/node-dashdash#30] Change the output used by Bash completion support to
indicate "there are no completions for this argument" to cope with different
sorting rules on different Bash/platforms.
## 4.1.1

@@ -4,0 +14,0 @@

2

lib/cmdln.js

@@ -1309,3 +1309,3 @@ /*

* if (require.main === module) {
* var cli = MyCLI();
* var cli = new MyCLI();
* cmdln.main(cli);

@@ -1312,0 +1312,0 @@ * }

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

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

"verror": "^1.6.0",
"dashdash": "^1.14.0",
"dashdash": "^1.14.1",
"fuzzyset.js": "^0.0.1"

@@ -23,0 +23,0 @@ },

@@ -0,5 +1,11 @@

# from triton
- The 'shortcut' commands use `handlerFromSubcmd(...).dispatch`. That
doesn't run the subcmd class's `.init()` method. node-cmdln should provide
a way to do this. ... basically want to call the *main()* but with preparsed
options. Perhaps the init/fini should move into dispatch?
# errHelp
- triton: {{usage}} and synopses
- XXXs from node-triton/lib/cli.js
- follow up ticket for '-E' or something:

@@ -6,0 +12,0 @@ * - a concern with following errHelp output is that you cannot use the last

Sorry, the diff of this file is not supported yet

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