dbosk / canvaslms

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

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

Open dbosk opened 5 months ago

dbosk commented 5 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 5 months ago

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