合并运行多个进程,并在单个终端中显示其实时组合输出

合并运行多个进程,并在单个终端中显示其实时组合输出

Go 命令行/控制台

访问GitHub主页

共32Star

详细介绍

merge

merge is a simple command line tool that combines the real-time output of multiple processes together in a single terminal. merge saves you from having to open a new terminal tab/tmux pane for each long-running service you need running in the background (for example a local webpack, HTTP, and database server in order to develop a web application).

Example usage

merge './manage.py runserver' 'webpack --watch' 'redis-server --port 1337'

Demonstration

Demonstration GIF

Getting started

  1. Install Go if you don't already have it
  2. After cloning the repository, run go build
  3. Use ./merge (you'll probably want to symlink this into your $PATH)
推荐源码