Skip to main content

bactopia-citations

Print or validate citations used throughout Bactopia.

Default mode prints the full citation list (or one entry with --name). Pass --validate to instead scan the repo for orphan keys (defined but never referenced) and workflow @citation keys that don't resolve to an entry in citations.yml. Module and subworkflow @citation keys are validated by bactopia-lint (rules M035 and S019).

Usage

bactopia-citations [OPTIONS]

Required Options

OptionTypeDefaultDescription
--bactopia-path, -bSTRINGDirectory where Bactopia repository is stored

Output Options

OptionTypeDefaultDescription
--name, -nSTRINGOnly print citation matching a given name
--plain-text, -pBOOLfalseDisable rich formatting
--validateBOOLfalseValidate citation integrity: orphan keys + workflow @citation references
--jsonBOOLfalseEmit validation results as JSON (use with --validate)

Additional Options

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