Yusuf,
We’re not aware of any I2C issues with mbed-os 5.3, but we also haven’t done much testing with that release yet. Please let us know how it goes if you try it out.
The mbed-cli documentation can be found on GitHub:
https://github.com/ARMmbed/mbed-cli
Cheers,
Mike