(ctx context.Context, options *ACLCatArgs)
| 105 | } |
| 106 | |
| 107 | func (c cmdable) ACLCatArgs(ctx context.Context, options *ACLCatArgs) *StringSliceCmd { |
| 108 | // if there is a category passed, build new cmd, if there isn't - use the ACLCat method |
| 109 | if options != nil && options.Category != "" { |
| 110 | cmd := NewStringSliceCmd(ctx, "acl", "cat", options.Category) |
| 111 | _ = c(ctx, cmd) |
| 112 | return cmd |
| 113 | } |
| 114 | |
| 115 | return c.ACLCat(ctx) |
| 116 | } |
nothing calls this directly
no test coverage detected