v0.2.0
🚀 [Feature]: Add Get-Greeting function (#11)
Adds a new Get-Greeting function that returns a greeting message based on the time of day. This provides a simple utility for generating contextual greetings in scripts and modules.
- Related to PSModule/Process-PSModule#263 (testing PR-based release notes)
New Function
The Get-Greeting function accepts an optional -TimeOfDay parameter with values Morning, Afternoon, or Evening, defaulting to Morning.
# Returns "Good Morning!"
Get-Greeting
# Returns "Good Evening!"
Get-Greeting -TimeOfDay 'Evening'Tests
Added tests to verify the function works correctly with the default parameter and explicit time of day values.