minor tweks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-07-21 03:46:36 +03:00
parent e685e3d74a
commit 8dc72a74da
2 changed files with 12 additions and 2 deletions

12
argv.js
View File

@ -39,11 +39,20 @@ module.ERROR =
//---------------------------------------------------------------------
// helpers...
// Helpers...
// These can be useful in the argv parsing context...
//
module.normalizeIndent = object.normalizeIndent
module.normalizeTextIndent = object.normalizeTextIndent
// container for secondary/extra stuff...
//
module.extra = {}
// function with callback generator...
//
// afterCallback(name)
// -> func
@ -63,6 +72,7 @@ module.extra = {}
// post_action(...args)
// -> ...
//
//
var afterCallback =
module.extra.afterCallback =
function(name, pre, post){

View File

@ -1,6 +1,6 @@
{
"name": "ig-argv",
"version": "2.2.6",
"version": "2.2.7",
"description": "simple argv parser",
"main": "argv.js",
"scripts": {