SECDEV_LIMITED=os.environ.get('SECDEV_LIMITED')
SECDEV_MESSAGE_TEMPLATES=os.environ.get('SECDEV_MESSAGE_TEMPLATES')
-BOX_EPICS=os.environ.get('BOX_EPICS')
+EPICS=os.environ.get('URL_EPICS')
+MESSAGE_TEMPLATES=os.environ.get('URL_MESSAGE_TEMPLATES')
+OLLAMA=os.environ.get('OLLAMA')
# Helper functions for a consistent experience
def code(c, path):
- c.run(f"codium {path}", asynchronous=True)
+ # c.run(f"codium {path}", asynchronous=True)
+ c.run(f"vi {path}", pty=True)
def folder(c, path):
'''Submit time off'''
browse(c, "https://my.techservices.illinois.edu/vacation/submitdays.asp")
browse(c, "https://outlook.office.com/calendar/view/week")
+ print('Ctrl+G to repeat a search in FF')
@task(vasl)
'''Reconcile time off between reporting systems'''
browse(c, "https://outlook.office.com/calendar/view/month")
code(c, f"{HOME}/src/Learn_RobotFramework_IllinoisPTR")
+ browse(c, "http://go.illinois.edu/techservtimeentry")
-@task(journal)
+@task()
def daily(c):
'''Open daily reminders file for this month'''
code(c, f'{JOURNAL}/{MONTH}-daily.md')
'''Show in progress items on the Kan-Ban board'''
browse(c, 'https://github.com/orgs/techservicesillinois/projects/10/views/11')
+@task
+def epics(c):
+ browse(c, EPICS)
+
-@task(daily, in_progress)
+@task(daily, in_progress, epics)
def status(c):
'''Check on status of priorities'''
- browse(c, BOX_EPICS)
dash(c)
pass
code(c, f'{JOURNAL}/bookmarks.md')
+@task
+def message_templates(c):
+ browse(c, MESSAGE_TEMPLATES)
+
+@task
+def ollama(c):
+ print(f'ssh -t {OLLAMA} "ollama run glm-4.7-flash"')
+