move code into cli sub-package