Azure / bicep

Bicep is a declarative language for describing and deploying Azure resources
MIT License
3.25k stars 753 forks source link

'bicep new' #1750

Open antsok opened 3 years ago

antsok commented 3 years ago

Is your feature request related to a problem? Please describe. Starting with a blank project can be the hardest or most annoying part. Generating a boilerplate code based on best practices is what many would appreciate.

Describe the solution you'd like Take 'dotnet new' as an analogy, with 'bicep new' it could take examples in 'docs/samples' as a repository and offer a choice of which template to use. All from CLI, without the need of going to GH (pulling the repo).

bicep new Templates | Short Name | Tags (resource types involved) A single VM | 1vm-2nics-2subnets-1vnet | VM, NIC, VNET

... And to build further on this,

one could search the default repo

bicep new -q 'tags: xyz'

one could use custom repo

bicep new -q 'tags: xyz' -r ''

alex-frankel commented 3 years ago

it is a cool idea, but I don't think it something we would be able to get to anytime soon