CLI Reference
Canonical reference for the installed geolift command surface.
Examples below use source-tree config paths such as data-config/... when that
helps illustrate the shipped demo workflow. Built wheel and sdist installs do
not include data-config/; packaged users should supply their own YAML config
paths.
Top-Level Command
Installed subcommands:
geolift powergeolift donorsgeolift infergeolift pipeline
Shared Flags
All commands accept:
--config CONFIG--output-dir OUTPUT_DIR--jobs JOBS--use-gpu--no-progress--quiet
Semantics:
--configpoints to the YAML configuration file for the command--output-diroverrides the configured output directory for stage commands--jobsoverridesn_jobs--use-gpuis meaningful for power analysis--no-progressdisables progress output--quietreduces non-critical output without hiding errors
geolift power
Source-checkout example:
Purpose:
- run GeoLift power-analysis workflows through the installed CLI
Typical outputs:
power_analysis_results.csvpower_curves.png
geolift donors
Source-checkout example:
Purpose:
- run donor-evaluation workflows through the installed CLI
Typical outputs:
donor_eval_results.csvdonor_map_*.png
geolift infer
Packaged-install example:
Source-checkout example:
Infer-only flags:
--data DATA--create-plots--no-create-plots
Semantics:
--dataoverrides the CSV path defined in YAML--create-plotsforces plot generation--no-create-plotsdisables plot generation
Typical outputs:
geolift_results.jsongeolift_diagnostics.jsonuplift_timeseries.pngwhen plots are enabled
geolift pipeline
Packaged-install example:
Source-checkout example:
Pipeline-only flags:
--skip-power--skip-donor--only-inference--report--no-report
Pipeline config contract:
--configis an anchor to one canonical stage YAML file- in a source checkout, GeoLift resolves sibling canonical YAMLs from the same
directory:
power_analysis_config.yamldonor_eval_config.yamlgeolift_analysis_config.yaml
- there is no
pipeline --stage - there is no separate pipeline config schema
Stage-selection semantics:
--skip-powerskips power analysis--skip-donorskips donor evaluation--only-inferenceskips both earlier stages
Report semantics:
- reports are generated by default
--reportforces report generation explicitly--no-reportsuppresses report generation
Output-root semantics:
This preserves the legacy stage/report layout under the supplied root:
results/campaign_a/multicell_power_analysis/results/campaign_a/multicell_donor_eval/results/campaign_a/multicell_geolift_analysis/results/campaign_a/geolift_pipeline_report.mdresults/campaign_a/geolift_pipeline_report.html
Migration From Legacy Entry Points
| Legacy source-checkout command | Preferred command |
|---|---|
python runme.py |
geolift pipeline --config data-config/geolift_analysis_config.yaml |
python recipes/power_calculator_sparsesc.py --config data-config/power_analysis_config.yaml --use-gpu --jobs -1 |
geolift power --config data-config/power_analysis_config.yaml --use-gpu --jobs -1 |
python recipes/donor_evaluator.py --config data-config/donor_eval_config.yaml |
geolift donors --config data-config/donor_eval_config.yaml |
python recipes/geolift_multi_cell.py --config data-config/geolift_analysis_config.yaml |
geolift infer --config data-config/geolift_analysis_config.yaml |
runme.py remains available as a compatibility wrapper. recipes/ remain
available for migration and legacy stage-specific workflows.