def folder(c, path):
# c.run(f'dolphin {path}', asynchronous=True)
- # c.run(f"nemo {path}")
- c.run(f'konsole --workdir {path}',asynchronous=True)
+ c.run(f"nemo {path}", asynchronous=True)
+ # c.run(f'konsole --workdir {path}',asynchronous=True)
@task
for subject, row in today.groupby('subject'):
print()
print()
- print(f'### {row["subject"].values[0]}')
+ subject = row['subject'].values[0]
+ minutes = int(row['minutes'].values[0])
+ print(f'### {subject} - {minutes} minutes')
print()
for task in row['task'].values:
print()
# Sometimes a float.
if hasattr(tip, 'strip'):
print()
- print(f'**When done**: {tip}.strip()')
+ print(f'**When done**: {tip.strip()}')
@task
def files(c):
- c.run('dolphin .')
+ folder(c, '.')
@task
@task
def checklist(c):
print('- [ ] `fresh-week` to clean up old files.')
+ print('- [ ] update `Assignments/motd.txt` with an encouraging message for the week.')
print('- [ ] start libreoffice and open `assignements.ods`')
print('- [ ] copy a previous sheet to be the new first sheet, and update the date Monday date.')
print('- [ ] `invoke missing YYYY.MM.DD` the .ods file.')
print('- [ ] `invoke make-all YYYY.MM.DD` to generate PDF files')
print('- [ ] review the PDF files and recreate if needed.')
+ print('- [ ] share the PDF files in the family chat thrad.')
+