Last updated
Was this helpful?
Last updated
Was this helpful?
The Terminal Tool enables DinoAI to suggest and execute terminal commands, helping you with Git operations, dbt runs, and other command-line tasks directly from your DinoAI interface.
Open DinoAI and describe what you're trying to accomplish
DinoAI suggests a terminal command based on your goal
Review the suggested command carefully
Approve the command execution if it looks correct
DinoAI runs the command in your terminal and analyzes the output
If errors occur, DinoAI suggests fixes based on the error messages
Prompt: "I need to create a branch to fix the issue described in JIRA-123"
Result: DinoAI suggests and runs the Git command to create a properly named branch (e.g., git checkout -b fix/JIRA-123-description)
Prompt: "Can you fix the failing model in our production pipeline?"
Result: DinoAI identifies the failing model, suggests edits, runs 'dbt run' to test the fix, and helps resolve any compilation or runtime errors
Prompt: "I've fixed the issue, can you commit and push my changes?"
Result: DinoAI creates a descriptive commit message, commits the changes, and pushes to the remote repository
Always review suggested commands before execution. While DinoAI is designed to be helpful, you should verify that the commands won't have unintended consequences.
One of the most powerful features of the Terminal Tool is its ability to understand and resolve errors:
When a command fails, DinoAI analyzes the error output
DinoAI suggests fixes based on the specific error message
After applying fixes, DinoAI can re-run the command to verify the solution
The Terminal Tool works seamlessly with other DinoAI tools:
Jira Tool: Execute workflows based on Jira ticket requirements
File System Tool: Make changes to files and then commit them with proper Git commands
Warehouse Tool: Run dbt commands to test models created based on warehouse metadata
Be specific about your goals - Tell DinoAI what you're trying to accomplish, not just what command you want to run
Review before executing - Always check suggested commands before approving them
Use for workflows - The Terminal Tool is most powerful when automating multi-step workflows
Leverage for debugging - Let DinoAI help identify issues in command outputs and suggest fixes
Execute Git Commands
Create branches, commit changes, and manage Git workflows
Run dbt Operations
Execute dbt commands to build, test, and verify models
Debug Errors
Analyze command outputs to identify and fix issues