Use format to build command.