zenflow / composite-service

Compose multiple services into one
MIT License
7 stars 1 forks source link

Interactive mode when `process.stdin.isTTY` #10

Open zenflow opened 4 years ago

zenflow commented 4 years ago

Interactive mode could be used to receive commands from keyboard input, such as:

  1. Select service to direct keyboard input into
  2. Restart a certain service on-the-fly
  3. Stop a certain service's dependents, restart the certain service, start the certain service's dependents again

If there will be some kind of interactive UI in the terminal, it would also be nice to have a "dashboard line" displayed below the log tail and above the command prompt, which indicates the status of each service (e.g. starting, stopping, crashed)

This ink package looks pretty neato! Uses React, and this build system already compiles jsx.