[cli] Add build command for CLI.