Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 17 Jan 22:00
ff97ef8

🚀 [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.

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.