[sysadmin-bin] Add the snippets command to argparse
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Add the snippets command to argparse
- Date: Mon, 29 Nov 2021 12:24:01 +0000 (UTC)
commit 3fb5695f1edf00bb7ffa2af1639e0de1c6196117
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Nov 29 13:23:38 2021 +0100
Add the snippets command to argparse
gitlab/inactive-gitlab-users.py | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/gitlab/inactive-gitlab-users.py b/gitlab/inactive-gitlab-users.py
index 8a7f01f..c388ca5 100755
--- a/gitlab/inactive-gitlab-users.py
+++ b/gitlab/inactive-gitlab-users.py
@@ -290,6 +290,11 @@ if __name__ == "__main__":
)
delete_from_file.add_argument("filename", help="path to json file")
+ snippets = subparsers.add_parser(
+ "snippets",
+ help="remove users who have no activity other than posting snippets"
+ )
+
args = parser.parse_args()
if args.command == "get-inactive":
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]