iquery Configuration
You can create a JSON formatted configuration file to save and restore your iquery configuration. Store the file in ~/.config/scidb/iquery.conf.
Once you create and store this file, it automatically loads the next time you start iquery.
The configuration file can contain the following options:
Option | Description |
---|---|
host | Host name for the cluster instance. Default is localhost. |
port | Port for connection. Default is 1239. |
afl | Start the session with the AFL command line. |
auth-file | Name of a JSON or INI format file containing login credentials. The default is ~/.config/scidb/iquery.auth . See Using iquery in Security Mode. |
timer | Report query run-time (in seconds). |
verbose | Print debug information. |
format | Set the default format of query output. See save for allowable values. The default format is dcsv. |
plugins | Path to the plugins directory. |
For example, your iquery.conf file might look like this:
{ "host":"myhostname", "port":9999, "afl":true, "timer":false, "verbose":false, "format":"csv+" "auth-file":"/home/scidb/.my_auth_file" }
The opening and closing braces at the beginning and end of the file are required and follow each entry (except the last one) with a comma.