greet()
Greeting function for CLI Pets.
greet()
Print a friendly greeting with a random pet.
Displays a colorful welcome message accompanied by a randomly selected pet emoji from the available PETS collection.
Returns:
| Name | Type | Description |
|---|---|---|
None |
None
|
Prints directly to console using Rich formatting. |
Examples:
>>> from cli_pets import greet
>>> greet()
Hello from CLI Pets! 🐱
Source code in src\cli_pets\greet.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |