Created omni-manager, omni-addit

This commit is contained in:
lwark
2025-01-03 12:37:03 -06:00
parent 482b641569
commit b55258f677
19 changed files with 502 additions and 77 deletions

22
src/scripts/hello.py Normal file
View File

@@ -0,0 +1,22 @@
"""
Test script for startup_scripts
"""
def hello(ctx) -> None:
"""
Args:
ctx (Settings): All scripts must take ctx as an argument to maintain interoperability.
Returns:
None: Scripts are currently unable to return results to the program.
"""
print("\n\nHello! Welcome to Robotics Submission Tracker.\n\n")
"""
For scripts to be run, they must be added to the _configitem.startup_scripts or _configitem.teardown_scripts
rows as a key: value (name: null) entry in the JSON.
ex: {"hello": null, "import_irida": null}
The program will overwrite null with the actual function upon startup.
"""