Skip to content

Add run --except flag to run all services except named ones #508

Description

@jongio

azd app run -s api,web starts only the listed services, but there is no inverse. When you want everything except one heavy or noisy service (a worker, an emulator), you have to spell out every other service by name.

Add --except <services> to azd app run that starts all services except the comma-separated names. It is mutually exclusive with --service.

Acceptance criteria

  • azd app run --except worker runs all services except worker
  • Comma-separated and repeated values both work
  • Passing --except together with --service is rejected with a clear error
  • A name in --except that is not a known service returns a clear error listing valid services
  • Unit tests cover the filter, the mutual-exclusion error, and the unknown-name error

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestideaFeature idea from the idea pipeline

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions