resolve + compile cli