How to automate/Trigger local CLI though BitBucket

Hi @vivek12585,

The CLI itself is not enough for that; to detect code changes you need a server which either polls the code periodically or handles webhooks.

For more info please see this related discussion:

If you have any questions just let us know!