Move stuff to util.go

This commit is contained in:
binwiederhier
2025-07-31 07:33:11 +02:00
parent 23ec7702fc
commit b91ff5f0b5
6 changed files with 82 additions and 76 deletions

View File

@@ -222,6 +222,6 @@ func execTokenList(c *cli.Context) error {
}
func execTokenGenerate(c *cli.Context) error {
fmt.Println(user.GenerateToken())
fmt.Fprintln(c.App.Writer, user.GenerateToken())
return nil
}