How to udpate main.cpp via mbed-CLI?

Hi mbed,

I would like to ask how to update changes made in mbed online IDE to local folder ( created by mbed import ) .

Thank you.

So, I found that it needs to be Commit and Publish in Mbed online IDE. Without Publish… mbed_CLI command mbed update will not download changes from web repository.