azure-cli
azure-cli copied to clipboard
az repos policy create --policy-configuration should accept json definition in addition to file path
When creating repos and policies it would make sense to be able to specify a newly created repo id as scope without having to create a file. Or even better, provide options for adding policy settings directly in "az repos create".
PS. The documentation for creating policies needs work. For example, there is no explanation of how to set "authorEmailPatterns" and other settings.