env
Description
Display the runtime environment for a SingleStore tool.
Usage
sdb-toolbox-config env [flags] sdb-deploy env [flags] sdb-admin env [flags] sdb-report env [flags] Flags: -h, --help help for env Global Flags: -c, --config FILE_PATH the Toolbox configuration file path -j, --json Enable JSON output --socket-dir FILE_PATH where to put SSH ControlMaster sockets --state-file FILE_PATH the Toolbox state file path --timeout duration Maximum time for operation to complete (e.g., 30s, 10m, 1.5h) -v, --verbosity count Increase logging verbosity -y, --yes Enable non-interactive mode and assume the user would like to move forward with the proposed actions by default
Remarks
This command is interactive unless you use either --yes
or --json
flag to override interactive behavior.
Output
The following example uses the env
command to display the current configuration paths for the SingleStore Tools.
sdb-toolbox-config env +------------+-------------------------------------------------------------+ | configFile | | | stateFile | /home/vagrant/.local/share/memsql-toolbox/toolbox-state.hcl | | cacheFile | /home/vagrant/.local/share/memsql-toolbox/toolbox-cache.hcl | | socketDir | /run/user/1000/singlestoredb-toolbox | | sshBinary | /usr/bin/ssh | +------------+-------------------------------------------------------------+