Update command API

* Update command API.
* Now run command reuses build command.