split cli and api features