add the ability to output an array of commits instead of a single commit
add the ability to output an array of commits instead of a single commit