gob is a lightweight CLI tool designed for managing background processes. Ideal for AI coding agents, it allows commands to run independently in the background while providing tools to monitor their status and output. Strengthen productivity with simple execution and monitoring of long-running tasks.
gob is a lightweight command-line interface (CLI) tool designed for managing background processes efficiently. It enables users to execute commands as detached background tasks, monitor their status, and track output seamlessly.
The tool can be utilized to start and oversee jobs using simple commands. Here’s an overview of its basic usage:
# Start a background job
gob start sleep 300
# List all jobs
gob list
# View standard output of a job
gob stdout 1234567890
# Stop a running job
gob stop 1234567890
# Clean up all stopped jobs
gob cleanup
To use gob with coding tools like Claude Code, it can be included in the global settings file to manage long-running processes effectively. For instance:
# Available CLI Tools
- `gob` - Background process manager
# Usage Expectations
- Utilize `gob` to initiate and monitor background tasks, such as servers and scripts.
gob start [args...]
- **List Jobs**: Display all running and stopped jobs along with their statuses:
```bash
gob list
gob stop <job_id> [--force]
- **Output Management**: View the stdout or stderr outputs of jobs and follow them in real-time:
```bash
gob stdout <job_id>
gob stderr <job_id>
The tool supports sending custom signals to jobs, making it versatile for various operational needs.
gob simplifies the task of managing background processes for developers and AI coding agents alike, providing a robust solution that integrates easily into various workflows.
No comments yet.
Sign in to be the first to comment.