mirror of
https://github.com/tildeclub/makeuser.git
synced 2026-10-25 22:45:38 +00:00
Add beginnings of makeuser script
This commit is contained in:
1 parent
c8779fbe5f
commit
e05705d6c9
1 file changed
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/python3
|
||||
|
||||
import os,argparse
|
||||
|
||||
parser = argparse.ArgumentParser(prog="makeuser",description="A user adding script.")
|
||||
parser.add_argument("username",help="Username of user.")
|
||||
parser.add_argument("email",help="Email of user.")
|
||||
parser.add_argument("key",help="The user's SSH pubkey.")
|
||||
args = parser.parse_args()
|
||||
|
||||
print(args.username,args.email,args.key)
|
||||
Reference in new issue
Block a user