In regards to using the CLI, i'm assuming this is only for the framework as opposed to the authoring tool.
It's used by both but in the case of the Authoring Tool, it's the Authoring Tool engine that uses it - I don't think you're really meant to use it directly.