Wraps multi-step shell sequences into a single named command. Use it to chain multiple steps together into one. Steps are like:
- command: "shell command to run"
- code.py: "Python code snippet to excute"
- send: "text to send to the process"
- press_key: "key to press"
- wait: "seconds to wait"Unix (Linux/macOS/WSL):
curl -fsSL https://github.com/omnious0o0/commands-wrapper/main/.commands-wrapper/install.sh | shWindows (PowerShell):
irm https://github.com/omnious0o0/commands-wrapper/main/.commands-wrapper/install.ps1 | iexRun interactive TUI using:
cw # or commands-wrapperThis allows you to view all your "wraps", modify them or add new ones.
If you're an AI agent, configure directly like this:
commands-wrapper add --yaml <<EOF
command-name:
description: "..."
steps:
- command: "..."
EOFSee
YAML formatbelow
wrap-name: # The name you'll type to run this wrap
description: "What this command does"
steps:
- command: "shell command to run"
- code.py: "Python code snippet to excute" # only python
- send: "text to send to the process"
- press_key: "key to press"
- wait: "seconds to wait"
... # add as much as you wantcommands-wrapper list commands-wrapper remove "command-name" # seppirate by comma for multiple at oncecw <command-name>
commands-wrapper <command-name>commands-wrapper update # or updyou can also rerun the install command
commands-wrapper --uninstallIf you found this project useful, please consider starring the repo and dropping me a follow for more stuff like this :) It takes less than a minute and helps a lot ❤️
If you find a bug or unexpected behavior, please report it!
RECOMMENDED: Check out commands-wrapper you and your agent will love it!
If you want to show extra love, consider buying me a coffee! ☕
And more on omnious!