Skip to main content

bactopia-lint

Lint Bactopia pipeline components against style guidelines.

Checks modules, subworkflows, and workflows for compliance with Bactopia's GroovyDoc, structural, and configuration standards.

Usage

bactopia-lint [OPTIONS]

Required Options

OptionTypeDefaultDescription
--bactopia-pathSTRINGDirectory where Bactopia repository is stored

Scope Options

OptionTypeDefaultDescription
--modules, --no-modulesBOOLtrueLint modules (default: on)
--subworkflows, --no-subworkflowsBOOLtrueLint subworkflows (default: on)
--workflows, --no-workflowsBOOLtrueLint workflows (default: on)
--moduleSTRINGLint a single module by name (e.g. 'mlst', 'bakta/run')
--subworkflowSTRINGLint a single subworkflow by name (e.g. 'mlst')
--workflowSTRINGLint a single workflow by name (e.g. 'mlst', 'bactopia-tools/mlst')

Output Options

OptionTypeDefaultDescription
-q, --quietBOOLfalseOnly show components with warnings or failures
--jsonBOOLfalseOutput as JSON
--prettyBOOLfalsePretty-print JSON output (implies --json)

Additional Options

OptionTypeDefaultDescription
--verboseBOOLfalsePrint debug related text
--silentBOOLfalseOnly critical errors will be printed
--version, -VBOOLfalseShow the version and exit.