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.4.0 to 1.5.0

2

build/capitano.js

@@ -17,2 +17,4 @@ var Command, Option, Signature, _;

exports.utils = require('./utils');
exports.command = function(options) {

@@ -19,0 +21,0 @@ var command;

2

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

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

@@ -209,2 +209,21 @@ Capitano

## capitano.utils
A collection of handy utilities for working with Capitano.
### capitano.utils.getStdin(callback)
Read from stdin. This function is used when you specify a stdin parameter, such as `<|foo>`.
You'll most often use the stdin parameter syntax, but this function is publicly available in case you need more control.
Example:
```coffee
capitano = require('capitano')
capitano.utils.getStdin (data) ->
console.log("We got #{data} from stdin")
```
Classes

@@ -400,2 +419,6 @@ -------

### 1.5.0
- Expose internal utils object as `capitano.utils`.
### 1.4.0

@@ -402,0 +425,0 @@

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