I've designed the code to allow for usage in other code (that's how the cli works). Add an example of doing that. Change the code if it makes it easier to explain and use.