mirror of
https://github.com/flynx/argv.js.git
synced 2025-10-29 18:50:09 +00:00
working on defaults, still not happy...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e7bf2a8212
commit
f270f24a82
16
argv.js
16
argv.js
@ -560,6 +560,22 @@ object.Constructor('Parser', {
|
|||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
// defaults...
|
||||||
|
// XXX do we do execution order???
|
||||||
|
// ...if these will do process.exit(..) then they need to be last...
|
||||||
|
Parser.prototype
|
||||||
|
.then(function(){
|
||||||
|
// XXX
|
||||||
|
})
|
||||||
|
.stop(function(){
|
||||||
|
// XXX
|
||||||
|
})
|
||||||
|
.error(function(){
|
||||||
|
// XXX
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* vim:set ts=4 sw=4 : */ return module })
|
* vim:set ts=4 sw=4 : */ return module })
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user