GETWORKSPACEFROMPATH
Get workspace from path with the Unity Version Control CLI.
Read time 1 minuteLast updated 21 days ago
Description
Gets workspace info from a path.Usage
cm getworkspacefrompath | gwp <item_path> [--format=<str_format>] [--extended]
Options
Option / Argument | Description |
|---|---|
| Retrieves the output message in a specific format. See Remarks for more info. |
| Displays more information regarding the workspace: |
| File or folder on disk. |
Help
Remarks
This command shows information about the workspace that is located in path. Output format parameters (--format optionThe output parameters of this command are the following
Option / Argument | Description |
|---|---|
| Workspace name. |
| Workspace path. |
| Client machine name. |
| Workspace owner. |
| Workspace GUID. |
| Workspace type: partial (gluon) or regular. |
| A workspace can be dynamic (plasticfs) or static. |
| Inserts a tab space. |
| Inserts a new line. |
Examples
cm getworkspacefrompath c:\myworkspace\code\file1.cpp --format="Workspace name: {wkname}"
cm gwp . --format="Name: {wkname} | Type: {type}, {dynamic}"