split into separate cli file