[cli] Finish the diff command with Core.