Replies: 2 comments
|
You can do this with However, putting that in front of every line would be pretty annoying. I can potentially see the value in a setting, or maybe a command line flag, which steps through every command and waits for user confirmation before running recipes lines. But I'm not sure how much use it would get, so I'd want to see multiple users requesting it. |
0 replies
You can use # Test Runnable Documentation
just_run_doc: _just_run_doc1 _just_run_doc2 _just_run_doc3
[confirm("Say hello world first")]
_just_run_doc1:
echo hello world
[confirm("pet the dog")]
_just_run_doc2:
[confirm("reboot the computer")]
_just_run_doc3:
echo reboot -f |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
https://blog.danslimmon.com/2019/07/15/do-nothing-scripting-the-key-to-gradual-automation/
Not sure how the syntax would work. But the idea is you would have a just command that has multiple steps... where you press 'y' to move to the next step. Then you can add automation steps in between as you figure things out...
Maybe?
All reactions