Jump to content

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


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 post
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 post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...