# `mix mime_description.generate`
[🔗](https://github.com/neilberkman/mime_description/blob/v0.12.0/lib/mix/tasks/mime_description.generate.ex#L1)

Generates or updates the embedded MIME description data module.

This task fetches the latest MIME type descriptions from the freedesktop.org
shared-mime-info database and generates an Elixir module with the data embedded.

The task uses ETags to check if the remote data has changed since the last
generation, avoiding unnecessary downloads and regeneration.

## Usage

    mix mime_description.generate

## Options

  * `--force` - Force regeneration even if the data hasn't changed

## Examples

    # Check for updates and regenerate if needed
    mix mime_description.generate

    # Force regeneration
    mix mime_description.generate --force

---

*Consult [api-reference.md](api-reference.md) for complete listing*
