ACL CAT
Syntax
ACL CAT [category]
Module
aclCategories
slowDescription
Lists all the categories. If the optional category is provided, lists all the commands in the category.
Examples
- Go (Embedded)
- CLI
List all categories:
db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
categories, err := db.ACLCat()
List all commands/subcommands in pubsub module:
db, err := sugardb.NewSugarDB()
if err != nil {
log.Fatal(err)
}
commands, err := db.ACLCat("pubsub")
List all categories:
> ACL CAT
List all commands/subcommands in pubsub module:
> ACL CAT pubsub