I had no idea you could run LibreOffice on the command line like this!
Or like this.
I tend to default to Pandoc for this kind of thing, but having options is always nice.
Converting Word Processor Files at the Command Line with LibreOffice Writer | Open Source Musings