Skip to content

[FEATURE] Allow saving a default target for apm install #1877

Description

@SimonGelbart

Is your feature request related to a problem? Please describe.
Today, when I install packages for the same provider, I always need to run --target MyAIProvider and this is repetitive, not natural

Describe the solution you'd like
Add a way to configure a default target (either globally or by project)
For examle

apm config set target MyAIProvider

Then apm could use that configured target automatically.

Expected behavior

  • If a default target is configurated apm install uses it automatically
  • Passing --target explicitly should still override the configurated default
  • If no default target is configured, current behavior should remain unchanged

Metadata

Metadata

Labels

area/cliCLI command surface, flags, help text (cross-cutting).priority/lowAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).type/featureNew capability, new flag, new primitive.

Type

No type
No fields configured for issues without a type.

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions