Skip to content

CLI Commands, Controls, etc.

Anivice Ives edited this page Jul 4, 2026 · 11 revisions

CLI Commands, Controls, etc.

Misc

  • help : Show this help message
  • quit : Quit the program
  • exit : Quit the program
  • closeConnections : Close all connections
  • reset : Reset terminal mode
  • apply : Apply JSON config to backend
  • ccdbrc : Print an example version of the ~/.ccdbrc

get

The get command is used to get info from the backend or the CCDB internal state.

Misc

  • get proxy: get a proxy list from the backend. This will refresh CCDB's internal proxy list. The proxy list is updated when CCDB launches.
  • get mode: get proxy mode. This can be direct, rule, or global.
  • get vecGroupProxy: get proxy list from the backend with numeric indexes. This will refresh CCDB's internal proxy list and corresponding indexes. Indexes are updated when CCDB launches.
  • get config: get JSON config from the backend. The JSON output is parsed using jq when jq can be executed from /bin/sh
  • get loglevel: get backend log level. This can be debug, info, warning, or error.

Connections

  • get connections: This will launch a TUI window that constantly pulls active connections from the backend, as shown in image 1-1, as follows.

Image 1-1

Related traffic info is redacted in image 1-1.

Color Scheme can be changed or defined via external scripting.

For more information, see the TUI section of the wiki.

Clone this wiki locally