Skip to main content

📤 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​

OptionDescription
-f, --forceOverwrite the output file if it already exists
-o, --outputOutput database file path
-l, --log-levelLogging level (debug, info, warn, error)

📋 Available Subcommands​

SubcommandDescription
duckdbExport data to a DuckDB database
sqliteExport 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:

FormatDefault File
DuckDBgeol.duckdb
SQLitePlatform dependent or specified with --output
info

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
warning

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

See Export for Analytics in the Advanced Usage section for examples using DuckDB, SQLite, SQL queries, and reporting tools.