Skip to content

export_artifact_citations

Module: src.generators.export_artifact_citations
Category: Generators

Usage

python -m src.generators.export_artifact_citations [options]

Options

usage: export_artifact_citations.py [-h] --data_dir DATA_DIR [--output OUTPUT]

Export artifact citations as DOI mappings

options:
  -h, --help            show this help message and exit
  --data_dir DATA_DIR   Path to the website data directory (e.g.,
                        ../reprodb.github.io)
  --output OUTPUT, -o OUTPUT
                        Output file path (default: stdout)

Examples:
  # Output to stdout
  python3 export_artifact_citations.py --data_dir ../reprodb.github.io

  # Output to file
  python3 export_artifact_citations.py --data_dir ../reprodb.github.io --output citations.txt

  # Pipe to other tools
  python3 export_artifact_citations.py --data_dir ../reprodb.github.io | grep "10.5281/zenodo"