pokedex_cli/command_exit.go

13 lines
167 B
Go
Raw Normal View History

2025-09-28 20:15:55 +00:00
package main
import (
"fmt"
"os"
)
func commandExit(p *PokedexConfig, a *string) error {
2025-09-28 20:15:55 +00:00
fmt.Println("Closing the Pokedex... Goodbye!")
os.Exit(0)
return nil
}