as far as I can see, the command for explode block/polyline is "modexplode", please try it.
Also, you can always check the list of supported commands just by pressing TAB in command line input (in Cmd widget)
Also, it's possible to specify aliases for commands, please check a file named librecad.alias.
In the latest 2.2.2 alpha branch it is located in "Other Settings" directory path (from Application Preferences->Paths). In previous ones - it should be in the application's data dir.
For joining segments of polyline - please try "plinejoin" command.
Yet in general yes, for some actions, support of controlling them via command line is a bit limited (mostly that's related to actions that requires a mouse-based user interactions, like entities selection or so).
But if you see that some command is missing - please report it (ideally directly to GitHub tracker
https://github.com/LibreCAD/LibreCAD/issues).
Hope this helps.