Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command: List Yammer groups #1185

Closed
plamber opened this issue Nov 5, 2019 · 3 comments
Closed

New command: List Yammer groups #1185

plamber opened this issue Nov 5, 2019 · 3 comments

Comments

@plamber
Copy link
Contributor

plamber commented Nov 5, 2019

Usage

yammer group list [options]

Description

Returns the list of groups in a Yammer network or the groups for a specific user.

Options

Option Description
--userId [userId] Returns the groups for a specific user
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Additional Information

Without parameters, you can enumerate all Yammer groups you see in the network. If you specify the ID of the user you can list the groups owned by a specific user (https://developer.yammer.com/docs/groupsfor_useruser_idjson).

Just assign it to me

@garrytrinder
Copy link
Member

Thank you for proposing this new command @plamber 👍🏻

Could you add the short (e.g. -i) options to your proposed spec?

@plamber
Copy link
Contributor Author

plamber commented Nov 5, 2019

@garrytrinder not sure if it makes sense here. Adding a shortener for the userId in a group list command might confuse some users. I am worried that they use the group Id instead

@plamber plamber changed the title New command: Get Yammer groups New command: List Yammer groups Nov 5, 2019
@garrytrinder
Copy link
Member

Thanks @plamber thats a good point and something we should certainly consider, happy to leave as is.

I've made a slight amendment to the OP to merge the options table.

Thank you for your continued support to this project ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants