Extracted the cli-spy out to its own npm module.