X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/57f650073afc9f8fb2c1bb9e970661c038cad316..ffbbd4efd0dded5e76883c872eb5f930a0fb99ee:/files/ts/tasks.py diff --git a/files/ts/tasks.py b/files/ts/tasks.py index 7818213..e35b5e1 100644 --- a/files/ts/tasks.py +++ b/files/ts/tasks.py @@ -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') +