Skip to content

Commit

Permalink
feat: improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mehditeymorian committed Sep 3, 2022
1 parent 7fa8b3a commit a2a75ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/cmd/set/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ func set(c *cobra.Command, args []string) {
}
setEcdsa(cfg, keys[1], args)
default:
pterm.Warning.Println("field %s not found")
pterm.Fatal.Println("field %s not found")
}

pterm.Success.Printf("field %s set to %s\n", args[0], args[1])
cfg.Save()
}

Expand Down

0 comments on commit a2a75ad

Please sign in to comment.