Skip to content

feat: CLI to list all environments #1307

Closed as duplicate
Closed as duplicate

Description

@cwing-nvidia

Summary

Add an ng_list_envs CLI command that lists available environments/benchmarks in NeMo Gym. For the initial implementation, it can reuse the same logic that generates the README table (parsing YAML configs from resources_servers/*/configs/*.yaml).

Motivation

From PR #1283 review — users should be able to discover available environments from the CLI without needing to read the README or browse the docs.

Proposed behavior

ng_list_envs

Outputs a formatted table of available environments with columns like: name, domain, description, verified status.

Optional future enhancements (tracked in #986):

  • --domain filter
  • --format json for programmatic use
  • Search/filter by tags

Relationship to #986

This is a focused, shippable slice of #986 (improved environment discovery), specifically addressing requirement PR1.1: Browse all environments in a structured listing (CLI). The broader issue covers the full registry, web UI, profiling results, etc.

Acceptance criteria

  • ng_list_envs command registered as a CLI entry point
  • Outputs a human-readable table of all registered environments
  • Reuses existing config-parsing logic (same source of truth as README table)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIusability

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions