check for cli