def browse(c, url):
- c.run(f"firefox {url}")
+ c.run(f"firefox {url}", asynchronous=True)
def code(c, path):
print(result.ok)
+@task()
+def dash(c):
+ c.run('wtfutil')
+
+
@task
def vasl(c):
'''Submit time off'''
- c.run(f"firefox https://my.techservices.illinois.edu/vacation/submitdays.asp")
+ browse(c, "https://my.techservices.illinois.edu/vacation/submitdays.asp")
browse(c, "https://outlook.office.com/calendar/view/week")
code(c, f'{JOURNAL}/{MONTH}-daily.md')
-@task(daily)
+
+@task()
+def in_progress(c):
+ '''Show in progress items on the Kan-Ban board'''
+ browse(c, 'https://github.com/orgs/techservicesillinois/projects/10/views/11')
+
+
+@task(daily, in_progress, dash)
def status(c):
'''Check on status of priorities'''
+ pass
- browse(c, 'https://github.com/orgs/techservicesillinois/projects/10/views/11')
@task
browse(c, f'{SECDEV_LIMITED}')
-
@task(journal)
+def data(c):
+ '''For recording engagements'''
+ c.run(f'soffice {JOURNAL}/Data/engagements.ods')
+ # TODO: Launch Jupyter container on this folder as well
+
+@task
+def gather-data(c):
+ raise NotImplementedError()
+ # TODO: Add GH command to gather latest data files.
+
+
+@task(data)
def wins(c):
'''For recording team wins'''
code(c, f'{JOURNAL}/{YEAR}-Wins.md')
+@task
+def co_authors(c):
+ browse(c, 'https://github.com/orgs/techservicesillinois/projects/10?pane=info')