Cogo is a powerful command-line tool that simplifies the management of terminal commands by running them as a daemon process in the background. It allows you to execute commands in a "shoot and forget" style, enabling you to send commands without maintaining multiple terminal windows open. This tool is especially useful for managing long-running tasks and reviewing their output at your convenience.
Clone the repository and build the executable:
git clone https://github.com/royiro10/cogo.git
cd cogo
go build -o cogo
try building it with make, there will be some utilities for those needind it there.
To start the Cogo daemon:
./cogo start
Sending a command to the daemon:
./cogo run "your-command-here"
To view running commands:
./cogo status
To retrieve the output of a specific command:
./cogo output <command-id>
To stop the daemon:
./cogo stop
You can configure Cogo by modifying the config.yaml
file located in the root directory. Available configurations include log file paths, maximum number of concurrent commands, and more.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feat/amazing-feature
)Distributed under the MIT License. See LICENSE
for more information.