Skip to content

Commit

Permalink
Update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Dec 11, 2023
1 parent b892e36 commit 05a9b39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function Set-BicepModuleStatusBadgesTable {
ModulesFolderPath = $ModulesFolderPath
ModulesRepoRootPath = $ModulesRepoRootPath
ReturnFormat = 'Markdown'
OnlyTopLevel = $true
SearchDepth = 2 # Only top level
ColumnsToInclude = @( 'Status' )
}
$badgesMarkdown = Get-ModulesFeatureOutline @functionInput -Verbose
Expand Down
2 changes: 1 addition & 1 deletion utilities/tools/platform/Set-BicepModulesFeatureCSV.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function Set-BicepModulesFeatureCSV {
ModulesFolderPath = $ModulesFolderPath
ModulesRepoRootPath = $ModulesRepoRootPath
ReturnFormat = 'CSV'
OnlyTopLevel = $true
SearchDepth = 3 # Only top level
ColumnsToInclude = @(
'RBAC',
'Locks',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ Optional. The name of the repository the code resides in. Required if 'ColumnsTo
.PARAMETER Organization
Optional. The name of the Organization the code resides in. Required if 'ColumnsToInclude.Status' is 'true'
.EXAMPLE
Get-ModulesFeatureOutline
Get an outline of all modules in the 'bicep-registry-modules/avm/res' folder path.
.EXAMPLE
Get-ModulesFeatureOutline -ReturnFormat 'Markdown' -SearchDepth 2 -ModulesFolderPath 'bicep-registry-modules/avm/res' -ModulesRepoRootPath 'bicep-registry-modules'
Expand Down Expand Up @@ -122,7 +117,7 @@ function Get-ModulesFeatureOutline {
File = $true
Filter = 'main.bicep'
}
if ($Depth) { $childInput.Depth = $Depth }
if ($SearchDepth) { $childInput.Depth = $SearchDepth }
$moduleTemplatePaths = (Get-ChildItem @childInput).FullName

####################
Expand Down

0 comments on commit 05a9b39

Please sign in to comment.