Command Line Arguments

appJar supports a number of command line arguments.
These are values that can be set when appJar is initially run.


Advertisement why?


The following example will start the app logging DEBUG messages, and using an ENGLISH language file:

    python3 -d -l ENGLISH


If you want to provide your own command line argument handling, then you will need to disable it in appJar, as appJar will show an error message if invalid arguments are found.

To do this, you can set the handleArgs flag to False in the appJar constructor:

from appJar import gui
app = gui(handleArgs=False) # disable argument handling
app.addLabel("l1", "No argument handling")