﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	parents
5452	Slow gmg command	Elinvention		"On my tiny home server, the gmg command takes ages just to show the usage message. I think the first thing it should do is parsing the command line and possibly throw errors immediately. Only after that import all other required modules.

 % time ./bin/gmg 
usage: gmg [-h] [-cf CONF_FILE]
           
           {batchaddmedia,shell,adduser,assetlink,makeadmin,reprocess,serve,deleteuser,addmedia,dbupdate,deletemedia,changepw,alembic}
           ...
gmg: error: too few arguments
./bin/gmg  6,30s user 2,89s system 86% cpu 10,612 total

6,30 seconds just to list possible commands!!! I'd say it's a bit unresponsive."	enhancement	closed	minor		programming	no-action	medium		
