def get(args):
    """
    Get a river by name.
    """
    m = RiverManager(args.hosts)
    r = m.get(args.name)
    if r:
        print(json.dumps(r, indent=2))
    else:
        sys.exit(1)
Get a river by name.