def pytest_addoption(parser):
    """
    pytest hook used to add command line options used by this plugin
    """
    group = parser.getgroup('repo_health')
    group.addoption('--repo-path', action='store', dest='repo_path',
        default=None, help='path of repository on which to perform checks')
    group.addoption('--repo-health-path', action='store', dest=
        'repo_health_path', default=None, help=
        'path to repository where the checks are located. Even with this set, plugin will check in current dir'
        )
    group.addoption('--repo-health', action='store_true', dest=
        'repo_health', default=False, help=
        'if true, only repository health checks will be run')
    group.addoption('--output-path', action='store', dest='output_path',
        default='repo_health.yaml', help=
        'path to where yaml file should be stored')
