]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add group check helper
authorEdward Delaporte <edward@delaporte.us>
Tue, 9 Jun 2026 03:58:44 +0000 (22:58 -0500)
committerEdward Delaporte <edward@delaporte.us>
Tue, 9 Jun 2026 03:58:44 +0000 (22:58 -0500)
invoke/esptool/tasks.py

index 590d70028d53952191d592322a94c8f74df5da3e..2a807670972e9e83464f64475df59ee058d7ba4c 100644 (file)
@@ -16,9 +16,17 @@ def help(c):
     - On success, the usual screen content still shows up
     > Tip: Be sure to use a cable that can carry data, not just power.
 
     - On success, the usual screen content still shows up
     > Tip: Be sure to use a cable that can carry data, not just power.
 
+    Consider burnin
+    https://github.com/echo-lalia/MicroHydra
+
     '''
     print(help.__doc__)
 
     '''
     print(help.__doc__)
 
+@task
+def groups(c):
+    result = c.run(f'groups {os.getlogin()}')
+    assert 'dialout' in result.stdout
+    print('ok')
 
 @task
 def usbdiff(c):
 
 @task
 def usbdiff(c):