Cli Exec
Executes shell commands with structured output, enabling command execution with detailed results.
About
Cli Exec empowers users to execute shell commands directly, providing structured output for seamless integration and analysis. It offers tools for both raw command execution and executing multiple commands within a specific working directory. With features like detailed results, timeout control, and error handling, Cli Exec simplifies command execution and provides comprehensive feedback for each operation.
Key Features
- Executes raw CLI commands with structured output, including stdout, stderr, and exit code.
- Supports single commands, chained commands, or an array of commands within a specified working directory.
- Provides detailed results for each command, including success/failure status, exit code, and execution duration.
- Strips ANSI codes from stdout and stderr for cleaner output.
- Includes comprehensive error handling and input validation.
Use Cases
- Automating build processes by executing commands in a project directory.
- Running system diagnostics and collecting output for analysis.
- Integrating command-line tools into larger workflows with structured data.