Bulk add/remove members from groups
ceo groups addmember and
removemember commands only take one argument. This is painful when we need to bulk update membership of groups. Implement the following:
- Take an arbitrary number of arguments after the above commands, where each whitespace-separated argument is a username, except for the first which is the name of the group.
- Create a new command under
removeallthat takes a single argument, the name of the group, and removes all users from that group.
Why not integrate it into CEO with a simple for loop than have to use a bash script each time? UX :) Plus I have CEO commands aliased so this wouldn't work very well for me.
Deleting a branch is permanent. It CANNOT be undone. Continue?