Jump to content

Attributes: is there a way to list attribute values in CLI?


Spectrum

Recommended Posts

In the CLI, is there a way to display what custom attributes are assigned to a branch object, and what their values are?  I can use "cm find" to locate a particular branch, but there doesn't appear to be any output options on the command to list the attributes or values set on that branch.  The --format option does not include attributes as possible output.  The --xml option looks like it could handle attributes, but does not list them.  Is there a way?  Or should this be a feature request?

Link to comment
Share on other sites

I found an example in the cm find guide that specifically addresses this:

https://www.plasticscm.com/documentation/cmfind/plastic-scm-version-control-query-system-guide.shtml#Getallattributes.

I see now that the philosophy in find queries for getting variable information about an object is to specify what type of info you seek about an object rather than the type of object you seek info for.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...