Command Line Arguments

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

Options


Advertisement why?


Example


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

    python3 demoApp.py -d -l ENGLISH

Disabling

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")
app.go()