Comparing version 1.1.1 to 1.1.2
@@ -31,3 +31,3 @@ #! /usr/bin/env node | ||
.option('-f, --function [name]', 'function name') | ||
.option('-c, --cwd [path]', 'working directory context to run function from') | ||
.option('-c, --cwd [path]', 'change working directory context') | ||
.option('-p, --params [arguments]', 'function arguments specified as an array e.g.: `\'["foo", "bar"]\'`', jsonArgs) | ||
@@ -78,3 +78,2 @@ .option('--promise', 'function is async and uses promises') | ||
program.params.push(function(err, val) { | ||
console.log(err, val); | ||
if (err) { | ||
@@ -81,0 +80,0 @@ reject(err); |
{ | ||
"name": "cmd-fn", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"repository": "git://github.com/davej/cmd-fn", | ||
@@ -5,0 +5,0 @@ "description": "Execute any node module function from the command line.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5080
86