Use CLI from API test.