đ¤ export
Export lifecycle data to a database format.
đĨī¸ Usageâ
geol export [command] [options]
đ Descriptionâ
The export command exports all known products and their end-of-life (EOL) metadata to a database file.
By default, geol exports data to a DuckDB database.
The exported dataset contains lifecycle information retrieved from endoflife.date and can be queried using standard SQL tools.
Supported export formats:
- DuckDB (default)
- SQLite
âī¸ Global Optionsâ
| Option | Description |
|---|---|
-f, --force | Overwrite the output file if it already exists |
-o, --output | Output database file path |
-l, --log-level | Logging level (debug, info, warn, error) |
đ Available Subcommandsâ
| Subcommand | Description |
|---|---|
duckdb | Export data to a DuckDB database |
sqlite | Export data to a SQLite database |
đĻ Export to DuckDBâ
Export lifecycle data to a DuckDB database.
Usageâ
geol export
or
geol export duckdb
Exampleâ
geol export
By default, the database is created as:
geol.duckdb
Use a custom output file:
geol export --output products.duckdb
đī¸ Export to SQLiteâ
Export lifecycle data to a SQLite database.
Usageâ
geol export sqlite
Exampleâ
geol export sqlite
Use a custom output file:
geol export sqlite --output products.db
đ Output Filesâ
Default output files:
| Format | Default File |
|---|---|
| DuckDB | geol.duckdb |
| SQLite | Platform dependent or specified with --output |
Use the --output option to control the location and name of the generated database file.
đ Overwrite Existing Filesâ
If the output file already exists, use the --force option to overwrite it.
geol export --force
Example with a custom file:
geol export --output products.duckdb --force
Existing files will be replaced when using the --force option.
đĄ Examplesâ
Export to DuckDB:
geol export
Export to SQLite:
geol export sqlite
Export to a custom file:
geol export --output lifecycle.duckdb
Overwrite an existing export:
geol export --force
â Common Use Casesâ
Use this command to:
- Analyze lifecycle data with SQL tools
- Build dashboards and reports
- Feed ETL pipelines
- Export data for data engineering workflows
- Integrate lifecycle data with BI platforms
đ Related Documentationâ
See Export for Analytics in the Advanced Usage section for examples using DuckDB, SQLite, SQL queries, and reporting tools.