aliases
The aliases command applies to both the DiffDog Server executable and DiffDog Command Line Client.
If the server administrator has restricted access to server paths for security reasons, you can no longer run comparisons that refer server file paths directly, see also Restricting Access to Server Paths. Instead, you need to specify the name of an alias by means of the --alias option.
This command outputs all the aliases defined on the server side. The output of this command depends on the value of the hide-alias-paths option in the server configuration file. If hide-alias-paths=false, the output displays all aliases along with the paths they reference. Otherwise, the command returns just the list of configured aliases.
You can also call this command by typing list-aliases instead of aliases.
Note: | The --server and --port options do not apply if this command is run for the DiffDog Server (not client) executable. |
Syntax
<executable> aliases [options] |
Options
--config, --c
This option specifies the path to a client configuration file where the connection details to DiffDog Server are defined.
If you do not set the --c option, the DiffDog Command Line Client executable attempts to read the client configuration file from the same directory. If there is no configuration file in the same directory as the executable, the default values as described in the command line help and this documentation apply.
--loglevel, --L
Sets the reporting level for information, warning, and error messages. Valid values:
none | Suppress all logging. |
info | Report information, warning, and error messages. |
warning | Report error and warning messages. |
error | (Default) Report only error messages. |
--port
This option specifies the port on which DiffDog Server listens for requests. Setting this option is meaningful if DiffDog Server runs on a port other than the default 29800. As an alternative to setting this option at the command line, you can set it in the Client Configuration File. Note that, if you set this value at the command line, it takes precedence over the one defined in the configuration file.
--server
This option specifies the server address on which DiffDog Server listens for requests. Setting this option is meaningful if DiffDog Server runs on a server other than the default localhost. As an alternative to setting this option at the command line, you can set it in the Client Configuration File. Note that, if you set this value at the command line, it takes precedence over the one defined in the configuration file.