Fill in all fields to generate the command.