Skip to content

azd x init - support --internal flag that scaffolds required files for 1P extensions in repo #8569

@JeffreyCA

Description

@JeffreyCA

All our 1P extensions live in cli/azd/extensions. Every time a team wants to scaffold a new extension in our Azure/azure-dev repo, they have to remember to include certain files that are not automatically generated by azd x init, like:

  • eng/pipelines/release-ext-<...>.yml
  • .github/workflows/lint-ext-<...>.yml
  • ci-build.ps1
  • ci-test.ps1
  • version.txt
  • cspell.yaml
  • and others I may have missed
  • CODEOWNERS

It would be nice if we had a special --internal flag that generates those files to disk. Note some of those files are outside of the extension source directory, which we need to consider too.

Reference PRs:

Metadata

Metadata

Labels

ext-xmicrosoft.azd.extensions developer extension (azd x)
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions