[scripts] add build-cli.py