datasources

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  DiffDog Client Command Line >

datasources

The datasources command lists all the data sources defined in the server configuration file on the machine where DiffDog Server is installed. For more information about data sources, see Setting up Data Sources.

 

Syntax

DiffDogCmdlClient datasources [options]

 

On Linux, use an all-lowercase to call the executable. In addition, on Linux and macOS, you might need to add the prefix "./" before the name of the executable when calling it from the current directory of the command shell.

 

This command can also be called using the list-datasources alias. You can use datasources and list-datasources interchangeably.

 

Options

The options applicable to the datasources command are listed below.

 

--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.

 

--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.


© 2019 Altova GmbH