Source

coverage.py / lab / cmd-opts.txt

coverage -e -x foo.py
coverage run foo.py
coverage run --timid foo.py
coverage foo.py *


global args:

        -h  --help
        --rcfile                    string
        --version


commands:

    annotate -a
        -d --output-directory       string
        -i --ignore-errors          bool                [report].ignore_errors
        --omit                      list of string      [report].omit

    combine -c

    debug

    erase -e

    help

    html -b
        -d --output-directory       string
        -i --ignore-errors          bool                [report].ignore_errors
        --omit                      list of string      [report].omit
        --red *
        --green *
        --style *

    report -r
        -m --missing                bool
        -i --ignore-errors          bool                [report].ignore_errors
        --omit                      list of string      [report].omit

    run -x
        -a  --append                bool
            --branch                bool                [run].branch
        -L  --pylib                 bool                [run].cover_pylib
        -p  --parallel              bool
            --timid                 bool                [run].timid


        --include=directory *       [run].include
        --include=filename *
        --include=module *
        --exclude=directory *       [run].exclude



    xml
        -i --ignore-errors          bool                [report].ignore_errors
        --omit                      list of string      [report].omit
        -o                          string



    byteprep   *


Other config:

    [report].exclude_lines          list of string
    [run].data_file                 string


Option scopes:

    - Cmd line
    - coverage()
    - ini file
    - environment variable