has-flag
Check if argv has a specific flag
commander
the complete solution for node.js command-line programs
string-argv
string-argv parses a string into an argument array to mimic process.argv. This is useful when testing Command Line Utilities that you want to pass arguments to.