Factory Bridge CLI Tools Reference
Comprehensive guide to the CLI tools available through Factory Bridge and how to use them effectively
Factory Bridge provides several powerful CLI tools that allow you to interact with your local environment directly from Factory. This reference guide covers each tool in detail, including usage examples and parameters.
Available CLI Tools
When you connect Factory to your local machine via Factory Bridge, you’ll have access to the following shell tools in Droid Mode:
Execute Process
Run commands and scripts on your local machine
Kill Process
Terminate running processes
Pipe Process Input
Send input to running processes
Overview
Factory Bridge connects securely to your local machine, giving you access to powerful command-line capabilities directly within Factory. These tools allow you to execute commands, manage processes, and interact with running applications—all while maintaining your familiar workflow.
Available CLI Tools
When connected via Factory Bridge, you’ll have access to these essential command-line tools:
Execute Commands
Run commands and scripts directly from Factory
Manage Processes
Control running processes with ease
Interactive Input
Send input to running applications
Running Commands
Execute any command you would normally run in your terminal directly from Factory.
How It Works
- Connect Factory Bridge to your local machine
- Ask Factory to run a command
- View the results directly in your conversation
Examples
Managing Processes
Easily control processes that you’ve started through Factory.
How It Works
- Start a process using Factory
- If needed, ask Factory to terminate the process
- Factory will safely shut down the process for you
Interactive Applications
Interact with command-line applications that require user input.
How It Works
- Start an interactive process through Factory
- Send input as needed, including confirmation responses, text entries, and commands
- Factory will relay your input to the application and display the results
Examples
Best Practices
- Specify complete file paths when possible
- Use quotes for commands containing spaces or special characters
- Consider security implications before running sensitive commands
- Always verify process information before termination
Troubleshooting
Security Considerations
When using CLI tools through Factory Bridge, keep these security considerations in mind:
- All commands execute with your user permissions on your local machine
- Avoid running commands that could expose sensitive information
- Be cautious with commands that make system changes
- Consider using dedicated environments for sensitive operations
Learn More About Factory Bridge
Return to the main Factory Bridge documentation for installation and general usage information