expose the functionality in the cli