Add apiUrl option to cli options