drylab init
Initializes a new DryLab project in a new directory.
Creates
drylab.config.json
and scaffolds the full folder structure (data, code, output, logs).
Usage
Options
Flag
Description
--pdf <path>
Local path to paper PDF
--doi <doi>
DOI of the paper
--api-key <name>
The name of your Gemini API key in your .env
file
--env-file <path>
Path to .env
file (default: .env
)
If both
--pdf
and--doi
are provided, the PDF is usedThe target project directory must not already exist
What it does
creates a new directory named
<projectName>
builds subfolders:
paper/
,data/
,code/
,output/
,logs/
writes
drylab.config.json
with metadata + pathspulls paper metadata from DOI or PDF if provided
optionally stores your Gemini API key name (for
.env
-based access)
Output directory structure
Config file snapshot
Examples
Last updated