Skip to content

Commit

Permalink
feat: Crystal Language Support ( Fixes #878 )
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating authored and StartAutomating committed Jan 12, 2024
1 parent a4fe39d commit 422699c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Languages/Crystal/Crystal-Template-HelloWorld.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

function Template.HelloWorld.cr {

<#
.SYNOPSIS
Hello World in Crystal
.DESCRIPTION
A Template for Hello World, in Crystal.
#>
param(
# The message to print. By default, "hello world".
[Parameter(ValueFromPipelineByPropertyName)]
[string]
$Message = "hello world"
)
process {
@"
puts "$message"
"@
}

}


0 comments on commit 422699c

Please sign in to comment.