Move cli before cliInit