Skip to content

Handle API operations that support either account or zone scope #33

Open

Description

@petebacondarwin

Problem

Some generated operations can target either an account or a zone. The CLI needs deterministic scope selection without exposing duplicate or confusing commands.

Expected behavior

  • When no zone is provided, use the account-scoped operation.
  • When --zone is provided, use the zone-scoped operation.
  • Fail clearly when the required account or zone context cannot be resolved.

Acceptance criteria

  • Help documents how scope is selected.
  • Dry-run output shows the resolved scope and request path.
  • Tests cover explicit zone scope, default account scope, and missing context.

Activity

  1. added this to the 1.0 milestone on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority: p1High priority: major user-facing bug or blocked workflow

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions