def list_games()

in support/retro_contest/remote.py [0:0]


def list_games(args):
    games = retro.data.list_games()
    if args.system:
        games = [game for game in games if game.endswith('-' + args.system)]
    games.sort()
    print(*games, sep='\n')