mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-15 02:19:39 +01:00
Update write-code.ps1
This commit is contained in:
parent
8fd6cdaf3b
commit
7bf107cc0b
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user