Azure / Azure/azure-dev

[layers v2] Make CLI commands layer-aware

Open
#9,769 0 comments 0 reactions 1 assignee Claimed by @richardpark-msft View on GitHub
area/core-cli area/layered-provisioning
Dominant language
Go
Stars
569
Forks
364
Avg merge
2d 19h
Merged PRs (30d)
136

Description

Part of #9765.

Quite a few azd commands already accept a layer parameter. For commands where it would be unambiguous, making the first named argument a layer is an easy choice.

For commands where it would be ambiguous (for instance, `azd deploy `) we need to consider if it'd be sufficient to just add a `--layer` switch.

Another consideration — if the user does NOT specify a layer, what is the right behavior?
- Use a "default" layer? Assume a flat layout? (flat being the existing pre-layer format)
- Does the result matter if they're using the old 'flat' infra/services layout?
- (probably more)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.