tab completion helpers, for node cli programs. Inspired by npm completion