I have recently write an article about the CLI that comes with the medusa-extender package.
Here is the link if you want to read the article