]> apps.delaporte.us Git - dotfiles.git/blob - files/pc/tasks.py
Move
[dotfiles.git] / files / pc / tasks.py
1 # This file is meant to sit in ~ for use from all shells.
2 from invoke import task
3
4 import datetime
5 import os
6
7 HOME = os.path.expanduser('~')
8
9 @task
10 def debug(c):
11 result = c.run('which minetest')
12 print(result.ok)
13
14 PAYROLL = f"{HOME}/Nanny.Payroll"
15
16 @task
17 def payroll(c):
18
19 # For copying the latest file in
20 c.run(f"files {HOME}/pixel7adocuments")
21 c.run(f"files {HOME}/Nanny.Payroll/data/payroll_inbox")
22
23 # For running the payroll scripts
24 c.run(f"cd {PAYROLL};{HOME}/envs/jupyter/bin/jupyter lab")
25