annotate tasks.py @ 7:b46679798c51

mv esp code to this repo. still trying to get correct refreshes
author drewp@bigasterisk.com
date Sun, 10 Mar 2024 15:03:53 -0700
parents
children 47795c3121f1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
b46679798c51 mv esp code to this repo. still trying to get correct refreshes
drewp@bigasterisk.com
parents:
diff changeset
1 from invoke import task
b46679798c51 mv esp code to this repo. still trying to get correct refreshes
drewp@bigasterisk.com
parents:
diff changeset
2
b46679798c51 mv esp code to this repo. still trying to get correct refreshes
drewp@bigasterisk.com
parents:
diff changeset
3
b46679798c51 mv esp code to this repo. still trying to get correct refreshes
drewp@bigasterisk.com
parents:
diff changeset
4 @task()
b46679798c51 mv esp code to this repo. still trying to get correct refreshes
drewp@bigasterisk.com
parents:
diff changeset
5 def run(ctx, device="OTA"):
b46679798c51 mv esp code to this repo. still trying to get correct refreshes
drewp@bigasterisk.com
parents:
diff changeset
6 ctx.run(
b46679798c51 mv esp code to this repo. still trying to get correct refreshes
drewp@bigasterisk.com
parents:
diff changeset
7 f'pdm run esphome run esp/do-squib-touch-lcd.yaml --device {device}')