Allow to create jar file using command line

The command line version doesn't allow to create a jar file. Let's allow to do so.