This MR re-implements the CLI of this package to use sub-commands.
It then introduces a new command for dumping Sphinx inventories called dump-objects, including both tests and documentation for the new feature.
dump-objects