Listing Items
The list command for items provides information about items in your design workspace.
Do not specify a path argument with the item
type. By default, the command uses the current working directory. If you
want to list the items in a different workspace, specify the workspace directory with
--dir option.
By default the output is one line per item containing the:
- Local path.
- Item name.
- Selector, which is the repository version.
- Revision, which is the item revision.
- Local state, which is any of the following:
- Fetched
- The item exists in the workspace.
- Failed
- An operation to add an item or replace the item with a specified version failed.
- Conflicted
- The item in the workspace conflicts with the latest version on the server. Resolve the conflict before you check in the workspace item version.
- Unsupported
- This item is connected to an external data source such as Subversion.
- Removed
- The item is expected in the workspace, but has been removed. You may see this when you remove an item with the OS delete command, or when a parent item could not be removed as part of a hierarchical remove, but a child item was removed; the parent item status is failed and the child status is removed.
- Cached
- The item is a link to an item cache.
When you use the --verbose option, it also includes the:
- Repository type. This includes, but is not limited to, SemiRepo, DesignSync, and Git. If the system does not recognize the repository, it uses the type Unsupported.
- Resource URL. You can use the resource URL when creating a workspace or adding an item to an existing workspace.
--csv option or a .json file using the
--json option.Tip:
To save the output to a file, use command
output redirect (> filename.csv) or (>
filename.json). |