]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - files/ts/tasks.py
Add Journalctl shortcut
[dotfiles.git] / files / ts / tasks.py
index 1a75292e8339111dc065a23e44d77c3c9a9bcd6a..e7990e7bbb93b7e22586c7209ae79475926ac9df 100644 (file)
@@ -31,7 +31,8 @@ def browse(c, url):
 
 
 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):
@@ -69,7 +70,7 @@ def timesheets(c):
     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')
@@ -81,11 +82,14 @@ 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
+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, EPICS)
     dash(c)
     pass