@dumps.command()<EOL>@click.argument('<STR_LIT>', type=click.File('<STR_LIT:r>'), nargs=-<NUM_LIT:1>)<EOL>@click.option('<STR_LIT>', '<STR_LIT>', type=int,<EOL>help='<STR_LIT>',<EOL>default=None)<EOL>@with_appcontext<EOL>def loaddeposit(sources, depid):
from .tasks.deposit import load_deposit<EOL>if depid is not None:<EOL><INDENT>def pred(dep):<EOL><INDENT>return int(dep["<STR_LIT>"]["<STR_LIT:id>"]) == depid<EOL><DEDENT>loadcommon(sources, load_deposit, predicate=pred, asynchronous=False)<EOL><DEDENT>else:<EOL><INDENT>loadcommon(sources, load_deposit)<EOL><DEDENT>
Load deposit.

    Usage:
        invenio dumps loaddeposit ~/data/deposit_dump_*.json
        invenio dumps loaddeposit -d 12345 ~/data/deposit_dump_*.json