Fossgis: command line OSM with osmium - Jochen TopfΒΆ
(One of my summaries of a talk at the 2017 fossgis conference).
Osmium started out as a C++ program. There are now python (PyOsmium) and nodjs bindings.
He added a command line tool: osmium-tool. It works on osx, linux and windows. There are ubuntu/debian packages, too.
(He demonstrated it on the command line: that is not something I can summarize in text :-) It looked well-done and useful!)