Skip to content

Extend the EODAG CLI (Providers & Collections) #2102

@alambare

Description

@alambare

This issue proposes a clearer and more structured EODAG CLI, centered around explicit providers and collections commands, with consistent verbs and richer filtering/output options.

Providers

eodag providers list

List providers and their status.

Options:

  • --enabled=true → only enabled providers
  • --enabled=false → only disabled providers
  • --output/-o name → return only provider IDs
  • --output/-o json → JSON-formatted output

Example output:

NAME           ENABLED       LAST_FETCH
providerA      true          2026-02-05T18:15:03Z
providerB      false         2026-02-02T08:10:56Z

eodag providers describe <PROVIDER_NAME>

Return full provider metadata.

Options:

  • --all/-A → describe all providers

eodag providers fetch <PROVIDER_NAME>

Fetch provider metadata (replacement for the provider-related usage of discover).
Options:

  • --all/-A → fetch all providers
  • --storage → same behavior as current discover storage option

Collections

eodag collections list

List all known collections.

Options:

  • --providers/-p <P1,P2> → filter by provider
  • --filter <CQL2-TEXT> → filter using CQL2 text syntax
  • --datetime <start/end> → filter by temporal interval
  • --geometry → spatial filter
  • --ids → filter by collection IDs
  • --output/-o id → return only collection IDs
  • --output/-o json → JSON-formatted output

eodag collections describe <COLLECTION_ID>

Return full collection metadata.

Options:

--all/-A → describe all collections

Other Commands

eodag search → unchanged
eodag download → unchanged
eodag version → unchanged

Deprecations

eodag discover → deprecated / removed
eodag list → deprecated / removed

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions