Terminal Integration
Last updated
Was this helpful?
Last updated
Was this helpful?
The terminal integration feature is instrumental in streamlining the connection between your local terminal environment and our server. It involves running a script that establishes a secure link, ensuring that all subsequent terminal commands are executed and stored efficiently in our database.
Click on the Download Terminal Button to download a bash script specific to the session that you are working on.
Once the script is downloaded, run it to download the PineWheel Python Shell Wrapper.
Run the 'pinewheel_terminal.py' file to connect to your session.The python script automatically detects your default shell and creates a wrapper around it that sends the data to your PineWheel session.
To select a shell manually, you can pass the path to the shell to the --shell
options of the python script like so:
python3 pinewheel_terminal.py --shell /path/to/shell
Currently, the PineWheel Shell Wrapper supports bash, zsh, fish and sh.
Integration Confirmation: Upon successful execution of the script, your terminal will be connected to our server. A confirmation message will be displayed, indicating the successful integration.
Storing Terminal Commands: From this point forward, all commands executed in your terminal will automatically stored in our database for your convenience and future reference as also the generation of real-time AI based inferences.