< Back

Assert-HomogenousConfig

Mon Jan 13, 2020 4:22 am

NAME Assert-HomogenousConfig



SYNOPSIS

Asserts whether the configs in Container are homogenous





SYNTAX

Assert-HomogenousConfig [-Container] <String> [<CommonParameters>]





DESCRIPTION

Throws an error if the files in Container do not share an idententical number of dash-delimeted Types

(ex: type1-type2-type3 has 3 types) and identical full file extension (ex: .params.json)





PARAMETERS

-Container <String>

Path to the folder containing the configs



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





Call this function in a PR build to ensure your configs in Container are all valid





RELATED LINKS