Skip to content

feat(cli): add collection output formats - #2320

Open
tunglambk wants to merge 1 commit into
CS-SI:developfrom
tunglambk:feat/cli-list-collections-output
Open

feat(cli): add collection output formats#2320
tunglambk wants to merge 1 commit into
CS-SI:developfrom
tunglambk:feat/cli-list-collections-output

Conversation

@tunglambk

Copy link
Copy Markdown
Contributor

Your checklist for this pull request

  • Make sure you are making a pull request against the develop branch (left side). Also you should start your branch off our develop.
  • Check the commit's or even all commits' message styles matches our requested structure.
  • Check your code additions will fail neither code linting checks nor unit test.

Description

Fixes #2319.

Make eodag list print only collection identifiers by default, one per line. Add mutually exclusive --json and --yaml options for full collection metadata; the YAML option keeps the former human-readable metadata layout without its introductory header.

Tests: uv run --extra dev pytest -q tests/test_cli.py (37 passed); uv run --extra dev prek run --files eodag/cli.py tests/test_cli.py docs/cli_user_guide.rst.

Further comments

None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI - list collections output

1 participant