add cli support