diff --git a/src/fenrir-package/commands/time.py b/src/fenrir-package/commands/time.py new file mode 100644 index 00000000..1cbfead8 --- /dev/null +++ b/src/fenrir-package/commands/time.py @@ -0,0 +1,18 @@ +#!/bin/python + +class command(): + def __init__(self): + pass + def run(self, environment): + try: + #Need to load time string from config file. + except Exception as e: + # Sane default + timeString = '%H:%M;%P' + + timeString = datetime.datetime.strftime(datetime.datetime.now(), '%H:%M:%P') + return environment + def setCallback(self, callback): + pass + def shutdown(self): + pass