*
* @param options the parameter set
* @return the built command
*/
static Commit buildCommit(ParameterSet options) {
Commit commit = new Commit();
commit.setAll(Boolean.valueOf(options.getFirstValue("all", "false")));
commit.setMessage(options.getFirstValue("message", null));
commit.setAuthorName(options.getFirstValue("authorName", null));
commit.setAuthorEmail(options.getFirstValue("authorEmail", null));
return commit;
}