checkCli simplify