It's all about the answers!

Ask a question

How to display list of streams to specific project area using RTC command line


vikrant kamble (1322896) | asked Aug 24 '15, 7:12 a.m.
 Hi All, 
I want to display list of all streams specific to project area.
lscm list streams -r <repository> this command displays list of all streams in the repository.
lscm list streams -r <repository> -n name this command displays list of streams which contains pattern specified in name.
Can we display list of streams specific to particular project area.

Comments
vikrant kamble commented Aug 24 '15, 7:52 a.m.

I figured it out

lscm list streams -r <repository nick name> --projectarea <project area name>
This command fetches streams specific to project area.

Accepted answer


permanent link
Arun K Sriramaiah (3.2k13077) | answered Aug 24 '15, 7:48 a.m.
 Hi Vikrant,

You can use the project area option for reducing the scope of listing the stream search.

--projectarea <arg> The project area to query about

http://www-01.ibm.com/support/knowledgecenter/SSYMRC_6.0.0/com.ibm.team.scm.doc/topics/list_streams.html?lang=en

Regards,
Arun.
vikrant kamble selected this answer as the correct answer

Comments
vikrant kamble commented Aug 24 '15, 8:22 a.m.

 Thank You Arun


vikrant kamble commented Aug 25 '15, 3:11 a.m. | edited Aug 25 '15, 4:09 a.m.

 Hi Arun

I want to list components of specific stream
I referred link you posted in your answer.
http://www-01.ibm.com/support/knowledgecenter/SSYMRC_6.0.0/com.ibm.team.scm.doc/topics/list_components.html?lang=en this link tells us about listing components 
I could list all the component of repository using below command
lscm list components -r localhost
localhost in nickname of repository
I also listed components specific to project area using below command
lscm list components -r localhost --projectarea <project area name>
but i am unable to list components specific to stream of project area.
I am getting all confused in that [selector] part
Could you please help me out on this?
Thank you

Your answer


Register or to post your answer.