Logging into Tidal Repository via the CLI
You can access Tidal Repository using these methods:
-
Method 1: Interactive mode
-
Method 2: Using Tidal Repository credentials at startup: trcli "url" "login" "password"
Example: trcli https://repositoryservername:8080 tidalsa tidalsa
-
Method 3: Using Tidal Repository credentials and a script (from file) at startup: trcli "url" "login" "password" "@path/to/script.txt"
Example: trcli https://repositoryservername:8080 tidalsa tidalsa @C:\\Users\User\Documents\script.txt
-
Method 4: Using the Tidal Repository credentials from file and a script from file at startup: trcli "path/to/cli.properties" "@path/to/script.txt"
Example: trcli C:\\Users\User\Documents\cli.properties @C:\\Users\User\Documents\script.txt
-
Method 5: Using Tidal Repository credentials from file: trcli "path/to/cli.properties"
Example: trcli C:\\Users\User\Documents\cli.properties
When logging in to TR via the CLI for the first time using methods 1, 2, or 3, enter property -g in interactively or in the script.txt file. This command generates a cli.properties file with the password encrypted.
Note: When logging in to TR via the CLI for the first time using method 4 or 5, an error is displayed. Once the cli.properties file is generated, you can log into TR via the Command Line Interface using any of the methods listed above. After you log in successfully, the TR CLI commands become available.