Open a workspace via the command line

In this chapter you will learn how to get started with Tosca Commander when you open a workspace in command line.

The available parameters can be used in any combination. Default environment variables are listed in "Files and directories".

language <language>

Description

When you start Tosca Commander with this option, the user interface is German (Default: English). This parameter overrules the language setting in the options dialog.

Example

TOSCACommander.exe -language german

workspace <workspace name>

Description

When you start Tosca Commander with this option, the specified workspace is opened.

Example

TOSCACommander.exe -workspace C:\Tosca_Projects\Tosca_Workspaces\TestWS01.tws

login <user> <password>

Description

To open an Oracle, MS SQL Server, DB2, or SQLite multi-user workspace, enter your username and password.

Example

TOSCACommander.exe -login Tester01 secret

auth {personal access token}

Description

To open a Tricentis Server Repository workspace, enter the personal access token that you created in Tricentis User Administration.

Alternatively, you can use client ID and client secret.

Example

TOSCACommander.exe -auth {dswJJKssl12345fdfelLJiLKM}

auth {<client ID>}:{<client secret>}

Description

To open a Tricentis Server Repository workspace, enter the client ID and client secret that you created in Tricentis User Administration.

Alternatively, you can use the personal access token.

Example

TOSCACommander.exe -auth {4sFaaa12000}:{psssqankäy55}

jumpTo <UniqueID or NodePath>

Description

When you open a workspace, you can directly select a user-defined object.

Example

TOSCACommander.exe -jumpTo /Module/MM03

executionmode

Description

Starts Tosca Commander as read-only in the execution mode.

Example

TOSCACommander.exe -executionmode

loglevel

Description

Specifies the level of detail in your logs. You can choose one of the following values:

  • 1: errors

  • 2: warnings

  • 3: info

  • 4: status messages

  • 12: all events

The default is 4. If that level of detail is sufficient, you don't need to specify a loglevel.

Example

TOSCACommander.exe -loglevel 3