Note that Godot 3.0 features a rewritten export system, which does not support command-line exporting yet.
While Godot 2.1 does have some sort of command-line exporting, it leaves a lot to be desired – it is not possible, for example, to export to 32-bit Windows and 64-bit Windows at the same time (unless performing automated editing of the export.cfg file).