merge

Command line interface for merge_utils.

merge_utils.__main__.main()[source]

Test the command line interface for merge_utils.

usage: merge [-h] [-c CFG] [-v] [--log LOG] [-f FILE] [-d DIR] [--list OPT]
             [-l]
             [MODE] [inputs ...]

Command line interface for merge_utils

optional arguments:
  -h, --help            show this help message and exit
  -c CFG, --config CFG  a configuration file
  -v, --verbose         print more verbose output (e.g. -vvv for debug output)
  --log LOG             specify a custom log file path

input arguments:
  MODE                  input mode (query, dids, files, dir)
  -f FILE, --file FILE  a text file with a list of input files
  -d DIR, --dir DIR     a directory to add to search locations
  inputs                remaining command line inputs

output arguments:
  --list OPT            list (dids, replicas, pfns) instead of merging
  -l, --local           run merge locally instead of submitting to JustIN