CLI & Makefile Reference
Makefile targets
| Target | Purpose |
|---|---|
make help |
Print command summary and all options |
make init |
Configure preferences, create profile.yaml, and optionally enrich |
make init FROM="cv.pdf notes.md" |
Import existing documents into profile.yaml (FORCE=1 overwrites) |
make enrich |
Refresh GitHub and LinkedIn evidence under ~/.config/cvelio/evidence/ |
pbpaste | make cv |
Tailor all 3 templates from clipboard posting |
make cv ROLE="..." MARKET="..." |
Tailor from a synthesized role brief using local history |
make show |
List paths, line counts, and sizes of config, profile, evidence, and history (FULL=1 prints combined text) |
make templates |
List available LaTeX templates |
make doctor |
Check Tectonic, profile validity, settings, API keys, and optional tokens |
make test |
Run unit, integration, and E2E tests with line + branch HTML coverage |
make clean |
Delete output/, caches, and .venv (preserves ~/.config/cvelio/) |
Build options
| Makefile var | CLI flag | Default | Description |
|---|---|---|---|
COMPANY |
-c, --company |
prompted / inferred | Output folder name under output/ |
ROLE |
--role |
none | Target role title when no posting is pasted |
FILE_ROLE |
--file-role |
analysis role | Override role portion of the PDF filename |
MARKET |
--market |
Global / Remote |
Region, city, or work mode for ROLE= |
TEMPLATE |
-t, --template |
all 3 | corporate, engineering, or academic |
PROVIDER |
--provider |
shuffled available | anthropic, gemini, or openrouter |
MODEL |
--model |
provider default | Override model name |
FILL |
--fill |
0.8 |
Gap policy (0 strict, 0.25–0.8 adjacent, >0.8 aspirational draft) |
FORCE=1 |
--force |
off | Omit DRAFT watermark when FILL > watermark_fill |
LANGUAGE |
--lang |
English |
Resume and analysis language |
PAGES |
--pages |
template default (2) |
Target page count (1 or 2) |
OUT |
-o, --out |
./output |
Output root directory |
PROFILE |
--profile |
~/.config/cvelio/profile.yaml |
Alternate profile YAML path |
Environment variables
| Variable | Purpose |
|---|---|
ANTHROPIC_API_KEY, GEMINI_API_KEY, OPENROUTER_API_KEY |
Provider API keys |
ANTHROPIC_MODEL, GEMINI_MODEL, OPENROUTER_MODEL, CVELIO_MODEL |
Persistent model overrides |
ANTHROPIC_BASE_URL, GEMINI_BASE_URL, OPENROUTER_BASE_URL |
Custom API endpoint base URLs |
CVELIO_PROVIDER |
Default provider for single-variant runs |
CVELIO_PROFILE |
Default profile path override |
CVELIO_SSM_PREFIX, CVELIO_SSM_REGION |
AWS Parameter Store secret lookup overrides |
GITHUB_TOKEN, APIFY_TOKEN |
Tokens for make enrich |
XDG_CONFIG_HOME |
Base directory for cvelio/ config, profile, evidence, and history |