]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - files/ts/tasks.py
Organizing
[dotfiles.git] / files / ts / tasks.py
index 7818213a6c8c2f5fd25282819889f5aa3a0aed4c..e35b5e1d2434bae90c4a050fc148661552f0a496 100644 (file)
@@ -24,7 +24,7 @@ def journal(c):
 
 
 def browse(c, url):
-    c.run(f"firefox {url}")
+    c.run(f"firefox {url}", asynchronous=True)
 
 
 def code(c, path):
@@ -42,6 +42,11 @@ def debug(c):
     print(result.ok)
 
 
+@task()
+def dash(c):
+    c.run('wtfutil')
+
+
 @task
 def vasl(c):
     '''Submit time off'''
@@ -61,11 +66,18 @@ def daily(c):
     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
@@ -98,3 +110,4 @@ def wins(c):
     code(c, f'{JOURNAL}/{YEAR}-Wins.md')
 
 
+