13 lines
163 B
Go
13 lines
163 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func commandExit(cfg *config, arg string) error {
|
|
fmt.Println("Closing the Pokedex... Goodbye!")
|
|
os.Exit(0)
|
|
return nil
|
|
}
|