Add 'dis_grant' command

This commit is contained in:
Tom Wiesing 2023-01-05 12:55:28 +01:00
parent 6bf6d3a8f5
commit 8b55fd74f9
No known key found for this signature in database
10 changed files with 161 additions and 18 deletions

View file

@ -101,5 +101,10 @@ func (i info) Run(context wisski_distillery.Context) error {
context.Printf("- %v\n", user)
}
context.Printf("Grants: (count %d)\n", len(info.Grants))
for _, grant := range info.Grants {
context.Printf("- %v\n", grant)
}
return nil
}