Skip to content

Consider --sparse flag for project:list #4

@menor

Description

@menor

Context

project:list now returns full project details by following HAL links to /ref/projects. This is optimal for most agent use cases where users reference projects by name rather than ID.

Proposal

Consider adding a --sparse flag that returns only IDs and organization IDs (skipping the HAL link fetch). This could be useful for:

  • Performance-critical scripts that only need IDs
  • Agents that will immediately call another endpoint with the ID
  • Reducing payload size when details aren't needed

Example

sol project:list           # Full details (default)
sol project:list --sparse  # IDs only (2 API calls vs 3-4)

Decision

Not implementing yet - full details is the right default for agent use. Revisit if performance becomes an issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions