Add 'dis_grant' command
This commit is contained in:
parent
6bf6d3a8f5
commit
8b55fd74f9
10 changed files with 161 additions and 18 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue