Implement resync function as ispc command
Implement the functionality available in Tools > Resync as ispc command.