Skip to content

feat(trs): add CLI support #62

@pavelnikonorov

Description

@pavelnikonorov

Add CLI commands leveraging the SDK TRS client (#61) to support for the GA4GH Tool Registry Service (TRS) API, version 2.0.1.

This issue requires addressing the following tasks:

Implement the following commands in ./cli/src/main.rs:

  • List all tools:
ga4gh-cli trs list
  • Retrieve detailed information for a specific tool by ID:
ga4gh-cli trs info [tool-id]
  • List all versions of a specific tool:
ga4gh-cli trs files [tool-id] [version-id] [descriptor-type]
  • Retrieve tests for a specific tool version:
ga4gh-cli trs tests [tool-id] [version-id] [descriptor-type]
  • Retrieve additional descriptor files for a tool, using a relative path:
ga4gh-cli trs descriptors [tool-id] [version-id] [descriptor-type] [relative-path]
  • Add unit tests to ensure the reliability of the CLI TRS Client.
  • Update CLI documentation with examples for each TRS method.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions