Update write-code.ps1

This commit is contained in:
Markus Fleschutz 2023-02-17 13:22:50 +01:00
parent 8fd6cdaf3b
commit 7bf107cc0b

View File

@ -1,4 +1,11 @@
<#
<#PSScriptInfo
.VERSION 1.0
.GUID 3bb10ee7-38c1-41b9-88ea-16899164fc19
.AUTHOR Markus Fleschutz
.COPYRIGHT CC0
#>
<#
.SYNOPSIS
Writes code
.DESCRIPTION
@ -11,8 +18,6 @@
PS> ./write-code
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
Author: Markus Fleschutz | License: CC0
#>
param([string]$color = "green", [int]$speed = 500) # milliseconds
@ -58,4 +63,4 @@ try {
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}
}