-
-
Notifications
You must be signed in to change notification settings - Fork 37
Pass Argument to uba.py
You can run uba.py from a terminal app.
You can also pass an argument to uba.py when running it.
uba.py SPEAK:::God is love
uba.py BIBLE:::KJV:::John 3:16
uba.py BIBLE:::KJV:::John 3:16 Rm 5:8
You can also pass a python script file path to uba.py, which will be executed on startup.
uba.py test.py
uba.py myStartupScript.py
Remarks: To startup with a python script, there is another option: https://github.com/eliranwong/UniqueBible/wiki/Custom-Python-Script
If you use standard UBA bible verse parser and your argument contains mixed text rather than a standard UBA command, uba.py will parse it and extract all bible references from it, if any, e.g.
uba.py My favourite verses are John 3:16 and Rm 5:8
In the example above, standard parser will extract bible references John 3:16 and Rm 5:8, which are then opened on startup.