dbosk / canvaslms

Command-line interface to Canvas LMS
https://pypi.org/project/canvaslms/
MIT License
4 stars 2 forks source link

Add `-u` option to `groups` to filter groups having a user as member #138

Open dbosk opened 9 months ago

dbosk commented 9 months ago

Right now we have the lsgroups script. But we could get that functionality by adding a -u parameter to the groups command, so that it only outputs the groups containing a certain user.

dbosk commented 9 months ago

This is what canvaslms users -c prgm23 -C Labb | grep "user" also does. However, it's rather slow without caching.