Darksider3
cdc72a30f4
Factor out REG_FILE
5 years ago
Darksider3
77efb4b339
delete cfgparse again and get it going as it where before
5 years ago
Darksider3
8c3ac4060f
Split CFG.py to private/lib/cfgparse.py
5 years ago
Darksider3
192e70e4a2
Seperate out even more, own dir for UIs
...
default UI is now in private/lib/uis/default.py
5 years ago
Darksider3
5c6ecaf627
Modularize CFG.py into CWD, default_cmd and cmd ui
5 years ago
Darksider3
b0856b558e
Move import related stuff to the Import.py script.
...
and delete occurences in Import It is much tidier to look at and
doesn't clutter the Script. Is even a whole seperate task
so it does make no sense to call it in Backup when i think about it.
5 years ago
Darksider3
2202af7826
Introduce imports, which comes with a new flag(--Import)
...
--Import depends on --file being present pointing to a valid CSV-file
that contains unique users with id's. When a user already exists
with his id, the script will fail.
It is also Backup.py-only which is reflected in the help message
5 years ago
Darksider3
43c7636920
Make PEP8 finally happy
5 years ago
Darksider3
a6d63fee42
PEP8: One Import per line... -.-
...
Add TODO statements and foremost return False on error. Missed that
5 years ago
Darksider3
4134e3cc2e
introduces -f/--file, which outputs or takes from a file(conditional to the current program)
5 years ago
Darksider3
6e86bf11bb
-a Flag: default false, do action on only approved users
5 years ago
Darksider3
3915843943
introducing the -u flag, which turns on the 'unapproved' mode.
...
Oh, and just testing it in ListUsers.py :)
5 years ago
Darksider3
96837cebe3
Externalize CFG-Handling into lib/CFG.py.
...
Never write this code again!
5 years ago