Skip to content

azure.ai.models: remove -e short flag for --project-endpoint #7308

Description

@jongio

The azure.ai.models extension uses -e as a short flag for --project-endpoint. This conflicts with azd's global -e for --environment, which caused #7271.

Files to change

  • extensions/azure.ai.models/internal/cmd/custom.go:39 - PersistentFlags
  • extensions/azure.ai.models/internal/cmd/init.go:95 - Flags

Change

Remove the -e short flag for --project-endpoint (change StringVarP to StringVar). We can't migrate to -p because it's already used by --project-resource-id in init.go. The long form --project-endpoint still works.

This is a breaking change for anyone using -e with this extension, but -e is reserved for azd's --environment flag.

Blocked by: #7307

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions