WIP: src-cli users clean
Created by: DaedalusG
Plan
This is a project to bring a python utility script users_clean.py into the main project under src. Currently the CE team often provides this utility script to customers as a bandaid for cleaning up users for license seat reasons.
The script to be emulated: https://github.com/sourcegraph/customer-assets/blob/main/ce-tools/pysdk/cleanup_users.py Thanks @mike-r-mclaughlin !
Tracked issues
Working branch: https://github.com/sourcegraph/src-cli/tree/users-clean
-
👩 Customer issue Users need to be able to remove users in a single command based on usage, this will help to maintain seats for an accurate number of users -
🙆 Stretch goal -
specify hard removal and soft removal
-
send emails to removed users