convert to cli