initial version of cli integration