Jump to content

Command line options to 'listworkspaces'


mike

Recommended Posts

I'm working on a small project to automate some SCM procedures and I have the need to programmatically list the workspaces. Currently I grab the output from 'cm lwk' and parse to grab the workspace name, machine, and path. Although not in the 'cm help lwk' documentation, it seems that lwk supports the --format=X argument. Unfortunately, I can't figure out what the tags are for the format argument.

For example:

> cm listworkspaces --format={name}
> Error: Input string was not in a correct format.

Are the format tags for workspaces documented anywhere?

Thanks!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...