cdstarcat update OID [KEY=VALUE]+

    Update the metadata of an object.

def update(args):
    """
    cdstarcat update OID [KEY=VALUE]+

    Update the metadata of an object.
    """
    with _catalog(args) as cat:
        cat.update_metadata(
            args.args[0], dict([arg.split('=', 1) for arg in args.args[1:]]))