New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cmdline

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmdline - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

10

bin/cli.js

@@ -9,3 +9,7 @@ #!/usr/bin/env node

.help('info')
.option('-t')
.error(function (err) {
console.error('ERR:', err.message);
process.exit(1);
})
.option('-t', { type: 'switch' })
.command('start', function (cmd, t) {

@@ -19,5 +23,5 @@ console.log('cmd:', t);

})
.handle(function (t) {
console.log('default:', t);
.handle(function ($0) {
console.log('default:', $0);
})
.ready();

@@ -132,4 +132,4 @@ const Class = require('cify').Class;

type: 'switch'
}, function (self) {
self._console.log(version || 'unknow');
}, function ($self) {
$self._console.log(version || 'unknow');
return false;

@@ -146,4 +146,4 @@ });

type: 'switch'
}, function (self) {
self._console.log(help || 'unknow');
}, function ($self) {
$self._console.log(help || 'unknow');
return false;

@@ -150,0 +150,0 @@ });

{
"name": "cmdline",
"rawName": "cmdline",
"version": "1.0.3",
"version": "1.0.4",
"description": "cmdline is a process.argv parser",

@@ -6,0 +6,0 @@ "main": "./lib/index.js",

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