Skip to content

Commit

Permalink
change load point to arelle.pyw so that Windows .exe file has name ar…
Browse files Browse the repository at this point in the history
…elle.exe

and allow command line operation (if any parameters specified) or default
to GUI operation (if no parameters).  Not Mac tested yet.
  • Loading branch information
hefischer committed Jun 22, 2011
1 parent 6c4922b commit 21708f1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions arelle.pyw
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
'''
Created on Feb 19, 2011
Use this module to start Arelle in windowing interactive UI or command line modes
If no arguments, start in GUI mode
If any argument, start in command line mode
@author: Mark V Systems Limited
(c) Copyright 2011 Mark V Systems Limited, All rights reserved.
'''
import sys
from arelle import CntlrWinMain, CntlrCmdLine

if len(sys.argv) == 1: # no command line arguments
CntlrWinMain.main()
else:
CntlrCmdLine.main()

0 comments on commit 21708f1

Please sign in to comment.