The bash module can be used to execute arbitrary bash commands in your agent’s runtime environment. The bash module is stateless, so if you need a stateful bash session, use the experiemental_bash module.
Example Usage
from blocks import bashemail = "user@example.com"bash(f"git config --global user.email {email}")
Arguments
string
required
The bash command to execute.
bool
If true, suppresses exceptions raised by the command.