outline the cli api