Languages/Crystal/Crystal-Template-HelloWorld.ps1
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" "@ } } |