def list(feeds, args):
    """List all the feeds in the database"""
    for i, feed in enumerate(feeds):
        if feed.active:
            active_char = '*'
        else:
            active_char = ' '
        print('{}: [{}] {}'.format(i, active_char, feed))
