Common.psm1

function New-DynamicParameter {
    [CmdletBinding()]
    param(
        [Parameter()]
        [string] $Name,

        [Parameter()]
        [type] $Type = [string],

        [Parameter()]
        [string[]] $Alias = @(),

        [Parameter()]
        [string[]] $ValidateSet,

        [Parameter()]
        [switch] $Mandatory,

        [Parameter()]
        [string] $ParameterSetName = '__AllParameterSets',

        [Parameter()]
        [int] $Position,

        [Parameter()]
        [switch] $ValueFromPipeline,

        [Parameter()]
        [switch] $ValueFromPipelineByPropertyName,

        [Parameter()]
        [switch] $ValueFromRemainingArguments,

        [Parameter()]
        [string]
        $HelpMessage,

        [validatescript( {
                if (-not ($_ -is [System.Management.Automation.RuntimeDefinedParameterDictionary] -or -not $_)) {
                    throw "DPDictionary must be a System.Management.Automation.RuntimeDefinedParameterDictionary object, or not exist"
                }

                $true
            })]
        $DPDictionary = $null
    )

    $parameterAttribute = New-Object System.Management.Automation.ParameterAttribute

    if ($Mandatory) {
        $parameterAttribute.Mandatory = $true
    }

    if ($ParameterSetName) {
        $parameterAttribute.ParameterSetName = $ParameterSetName
    }

    if ($Position -ne $null) {
        $parameterAttribute.Position = $Position
    }

    if ($ValueFromPipeline) {
        $parameterAttribute.ValueFromPipeline = $true
    }

    if ($ValueFromPipelineByPropertyName) {
        $parameterAttribute.ValueFromPipelineByPropertyName = $true
    }

    if ($ValueFromRemainingArguments) {
        $parameterAttribute.ValueFromRemainingArguments = $true
    }

    if ($HelpMessage) {
        $parameterAttribute.HelpMessage = $HelpMessage
    }

    $attributeCollection = New-Object System.Collections.ObjectModel.Collection[System.Attribute]
    $attributeCollection.Add($parameterAttribute)

    if ($ValidateSet) {
        $validateSetAttribute = New-Object System.Management.Automation.ValidateSetAttribute($ValidateSet)
        $attributeCollection.Add($validateSetAttribute)
    }

    if ($Alias.count -gt 0) {
        $aliasAttribute = New-Object System.Management.Automation.AliasAttribute($Alias)
        $attributeCollection.Add($aliasAttribute)
    }

    $runtimeParameter = New-Object System.Management.Automation.RuntimeDefinedParameter($Name, $Type, $attributeCollection)
    # $runtimeParameter.Value = '<DefaultValue>'

    if ($DPDictionary) {
        $DPDictionary.Add($Name, $runtimeParameter)
    } else {
        $runtimeParameterDictionary = New-Object System.Management.Automation.RuntimeDefinedParameterDictionary
        $runtimeParameterDictionary.Add($Name, $runtimeParameter)
        return $runtimeParameterDictionary
    }
}

function Get-Base64FromValue {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory)]
        [ValidateNotNullOrEmpty()]
        [string] $Value,

        [Parameter()]
        [ValidateSet('utf-16', 'utf-16BE', 'utf-32', 'utf-32BE', 'us-ascii', 'iso-8859-1', 'utf-7', 'utf-8')]
        [string] $Encoding = 'utf-8'
    )

    $encodingProvider = [System.Text.Encoding]::GetEncoding($Encoding)
    $base64 = [System.Convert]::ToBase64String($encodingProvider.GetBytes($Value))
    return $base64
}

function Add-ReadmeFile {
    [CmdletBinding()]
    param(
        [Parameter()]
        [string] $FileName = 'README.md',

        [Parameter(ValueFromPipeline, ValueFromPipelineByPropertyName)]
        [string] $Content = $null,

        [Parameter(ValueFromPipelineByPropertyName)]
        [switch] $Edit = $false
    )

    Begin {
        $lines = @()
    }

    Process {
        if (-not $Content) {
            $Content = @'
# Project Name
 
TODO: Write a project description
 
## Installation
 
TODO: Describe the installation process
 
## Usage
 
TODO: Write usage instructions
 
## Contributing
 
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
 
## History
 
TODO: Write history
 
## Credits
 
TODO: Write credits
 
## License
 
TODO: Write license
 
'@

        }

        $lines += $Content
    }

    End {
        $path = (Get-Location)
        $filePath = Join-Path $path $FileName

        $utf8NoBomEncoding = New-Object System.Text.UTF8Encoding($false)

        if ($lines -and $lines.Count -gt 1) {
            [System.IO.File]::WriteAllLines($filePath, $lines, $utf8NoBomEncoding) > $null
        } else {
            [System.IO.File]::WriteAllText($filePath, $lines, $utf8NoBomEncoding) > $null
        }

        Log info "Created file '${filePath}'"

        if ($Edit.isPresent -or $Edit) {
            & $filePath
        }
    }
}

function fn_add_readmefile_edit { Add-ReadmeFile -Edit }

function Get-Checksum {
    [CmdletBinding()]
    param(
        [Parameter(ValueFromPipeline, ValueFromPipelineByPropertyName, ParameterSetName = 'set1')]
        [string] $Value,

        [Parameter(Mandatory, Position = 1, ParameterSetName = 'set2')]
        [string] $File,

        [Parameter(Position = 2)]
        [ValidateSet('MD5', 'SHA1', 'SHA256', 'SHA384', 'SHA512')]
        [string] $Algorithm = 'SHA256'
    )

    Begin {
        $hashAlgorithm = [System.Security.Cryptography.HashAlgorithm]::Create($Algorithm)
    }

    Process {
        $sb = [System.Text.StringBuilder]::new(50)

        if (-not $Value -and -not $File) {
            return
        }

        try {
            if ($File) {
                $File = Resolve-Path $File

                try {
                    [System.IO.FileStream]$fileStream = [System.IO.File]::Open($File, [System.IO.FileMode]::Open);
                    $hashAlgorithm.ComputeHash($fileStream) | ForEach-Object { $sb.Append($_.ToString('x2')) > $null }
                } catch {
                    Log error "Error reading or hashing file '$File'"
                    Log error $_
                } finally {
                    $fileStream.Close()
                    $fileStream.Dispose()
                }
            } elseif ($Value) {
                $hashAlgorithm.ComputeHash([System.Text.Encoding]::UTF8.GetBytes($Value)) | ForEach-Object { $sb.Append($_.ToString('x2')) > $null }
            }
        } catch {
            Log error "Something went wrong: $_"
        }

        return $sb.ToString()
    }
}

function New-DirectoryAndEnter {
    [CmdletBinding()]
    param(
        [Parameter(Mandatory)]
        [string] $Path
    )

    New-Item -Path $Path -ItemType Directory
    Set-Location -Path $Path
}

New-Alias arf Add-ReadmeFile
New-Alias arfe fn_add_readmefile_edit
New-Alias mcd New-DirectoryAndEnter
# SIG # Begin signature block
# MIIcjgYJKoZIhvcNAQcCoIIcfzCCHHsCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIB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