Usage - nesv/Scarlet GitHub Wiki

Scarlet currently supports the following flags:

  • -a — Specify the address and port Scarlet's HTTP server should listen on. This currently defaults to :6380.
  • -c — Specify the configuration file to use. The default is scarlet.conf.json, in the current working directory.
  • -d — Enable debugging. Currently there isn't much this flag does other than store a boolean value for use within the rest of the application.
  • -h — Print a help/USAGE message and exit.
  • -r — The upstream Redis host to connect to. The argument to this can either be in the form tcp:IP_ADDR:PORT for regular TCP/IP connections, or unix:/path/to/sock.file for UNIX socket connections.
  • -rp — The password to use when connecting to the Redis host (defaults to an empty string). This flag will be ignored unless the Redis host is set using the -r flag.