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

capitano

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capitano - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

.travis.yml

7

build/command.js

@@ -67,3 +67,8 @@ var Command, Option, Signature, parse, settings, state, _;

}
_this.action(params, parsedOptions, callback);
try {
_this.action(params, parsedOptions, callback);
} catch (_error) {
error = _error;
return callback(error);
}
if (_this.action.length < 3) {

@@ -70,0 +75,0 @@ return typeof callback === "function" ? callback() : void 0;

2

package.json
{
"name": "capitano",
"version": "1.3.0",
"version": "1.3.1",
"description": "Powerful, non opitionated command line parser for serious applications",

@@ -5,0 +5,0 @@ "main": "build/capitano.js",

@@ -6,2 +6,3 @@ Capitano

[![dependencies](https://david-dm.org/resin-io/capitano.png)](https://david-dm.org/username/repo.png)
[![Build Status](https://travis-ci.org/resin-io/capitano.svg?branch=master)](https://travis-ci.org/resin-io/capitano)

@@ -49,2 +50,4 @@ Capitano allows you to craft powerful command line applications, your way.

We wrote Capitano as we couldn't find any NodeJS command line parser that met our needs. Alternatives such as [commander.js](https://github.com/tj/commander.js), albeit being very good, didn't have good support for features such as infinitely nested git-like subcommands, per-command options and complete customisation. Capitano is our attempt at creating a non opitionated command line parser that can do everything you can imagine.
Features

@@ -355,2 +358,6 @@ --------

### 1.3.1
- Catch action errors and send them to the callback automatically. See [#17](https://github.com/resin-io/capitano/pull/17).
### 1.3.0

@@ -357,0 +364,0 @@

Sorry, the diff of this file is not supported yet

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