add reset command

This commit is contained in:
Maidul Islam
2023-02-10 14:19:04 -08:00
parent d50de9366b
commit ab27fbccf7
2 changed files with 52 additions and 0 deletions

View File

@@ -27,6 +27,10 @@ func PrintWarning(message string) {
color.New(color.FgYellow).Fprintf(os.Stderr, "Warning: %v \n", message)
}
func PrintSuccessMessage(message string) {
color.New(color.FgGreen).Println(message)
}
func PrintMessageAndExit(messages ...string) {
if len(messages) > 0 {
for _, message := range messages {