def map_team_id(code):
for team in TEAM_DATA:<EOL><INDENT>if team["<STR_LIT:code>"] == code:<EOL><INDENT>click.secho(team["<STR_LIT:name>"], fg="<STR_LIT>")<EOL>break<EOL><DEDENT><DEDENT>else:<EOL><INDENT>click.secho("<STR_LIT>", fg="<STR_LIT>", bold=True)<EOL><DEDENT>
Take in team ID, read JSON file to map ID to name