Experimental --server mode

svn: r12858
This commit is contained in:
Doug Blank
2009-08-02 03:31:39 +00:00
parent 3be34486b9
commit a717faf4d6
6 changed files with 614 additions and 5 deletions

View File

@ -168,10 +168,13 @@ def run():
#A GUI is needed, set it up
from gui.grampsgui import startgtkloop
startgtkloop(error, argpars)
elif argpars.server is not None:
# Server, no CLI
from cli.server import start_server
start_server(error, argpars)
else:
#CLI use of GRAMPS
argpars.print_help()
from cli.grampscli import startcli
startcli(error, argpars)