OS Manuals

/usr/bin/rulesctl

All the binaries built by Vitess

From vitess-22-binaries 22.0.4-r34 (enterprise-packages), captured 2026-11-08 by running rulesctl --help (exit 0). permalink

Usage:
  rulesctl [flags]
  rulesctl [command]

Available Commands:
  add-rule    Adds a rule to the config file
  completion  Generate the autocompletion script for the specified shell
  explain     Explains a concept, valid options are: query-plans
  help        Help about any command
  list        Display the rules in the config file
  remove-rule Removes a named rule from the config file

Flags:
  -f, --config-file string             the config file we will be using to store query rules (default "rules.json")
  -h, --help                           help for rulesctl
      --keep_logs duration             keep logs for this long (using ctime) (zero to keep forever)
      --keep_logs_by_mtime duration    keep logs for this long (using mtime) (zero to keep forever)
      --log_rotate_max_size uint       size in bytes at which logs are rotated (glog.MaxSize) (default 1887436800)
      --mysql_server_version string    MySQL server version to advertise. (default "8.0.40-Vitess")
      --purge_logs_interval duration   how often try to remove old logs (default 1h0m0s)
      --security_policy string         the name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only)

Use "rulesctl [command] --help" for more information about a command.
Options (8)
OptionDescriptionSource
-f, --config-file stringthe config file we will be using to store query rules (default "rules.json")help
-h, --helphelp for rulesctlhelp
--keep_logs durationkeep logs for this long (using ctime) (zero to keep forever)help
--keep_logs_by_mtime durationkeep logs for this long (using mtime) (zero to keep forever)help
--log_rotate_max_size uintsize in bytes at which logs are rotated (glog.MaxSize) (default 1887436800)help
--mysql_server_version stringMySQL server version to advertise.help
--purge_logs_interval durationhow often try to remove old logs (default 1h0m0s)help
--security_policy stringthe name of a registered security policy to use for controlling access to URLs - empty means allow all for anyone (built-in policies: deny-all, read-only)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.