process LOAD_DB { tag "$job_id" input: path tsv val job_id output: stdout // DATABASE_URL reaches the task through its environment (docker profile) or a Nextflow // secret (gcp profile); it never appears on a command line or in .command.sh. script: def dry_run = job_id == 'dry-run' ? '--dry-run' : '' """ load_db.py --tsv $tsv --job-id $job_id $dry_run """ stub: """ echo "stub: would load $tsv for job $job_id" """ }