Command Line Interface

Top-level

$ rexart --help
usage: rexart [-h] {stacks,pulls} ...

positional arguments:
  {stacks,pulls}  main action
    stacks        Generate stack plots
    pulls         pull plots

optional arguments:
  -h, --help      show this help message and exit

Stack generation

$ rexart stacks --help
usage: rexart stacks [-h] [--shrink] [--debug] [-o OUT_DIR] [--lumi LUMI]
                     [--do-postfit] [--skip-regions SKIP_REGIONS]
                     [--band-style {hatch,shade}] [--legend-ncol {1,2}]
                     workspace

positional arguments:
  workspace             TRExFitter workspace

optional arguments:
  -h, --help            show this help message and exit
  --shrink              shrink output PDFs via ghostscript
  --debug               set logging level to debug
  -o OUT_DIR, --out-dir OUT_DIR
                        output directory for plots
  --lumi LUMI           Integrated lumi. for text
  --do-postfit          produce post fit plots as well
  --skip-regions SKIP_REGIONS
                        skip regions based on regex
  --band-style {hatch,shade}
                        band art
  --legend-ncol {1,2}   number of legend columns

Pulls generation

$ rexart pulls --help
usage: rexart pulls [-h] [--shrink] [--debug] [-o OUT_DIR] [--no-text]
                    workspace config

positional arguments:
  workspace             TRExFitter workspace
  config                TRExFitter config

optional arguments:
  -h, --help            show this help message and exit
  --shrink              shrink output PDFs via ghostscript
  --debug               set logging level to debug
  -o OUT_DIR, --out-dir OUT_DIR
                        output directory
  --no-text             don't print values on plots