]> apps.delaporte.us Git - dotfiles.git/blobdiff - invoke/esptool/tasks.py
Add group check helper
[dotfiles.git] / 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):