Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mshafir/multilaunch
Command line utility for launching multiple processes
https://github.com/mshafir/multilaunch
Last synced: 12 days ago
JSON representation
Command line utility for launching multiple processes
- Host: GitHub
- URL: https://github.com/mshafir/multilaunch
- Owner: mshafir
- License: mit
- Created: 2021-11-09T21:28:48.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-11T16:07:01.000Z (about 3 years ago)
- Last Synced: 2024-12-08T04:34:07.185Z (about 1 month ago)
- Language: TypeScript
- Size: 5.34 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Multilaunch
This is a utility for launching multiple processes and toggling between them to view their logs.
![Screencast](screencast.gif)
### Usage:
```
npx multilaunch config.json
```Example config:
```json5
[
{
// name for the command in the sidebar
"name": "Start Backend",
// the shell command to run
"command": "rush start-backend",
// the cwd to run from
"cwd": "./backend",
// if applicable, a string to look for to indicate the process has started up
"startedWhen": "Server ready at",
// a section for grouping commands under a section heading, commands still need to be consecutive
// the section is rendered when it is different from the previous command's section
"section": "Backend"
},
{
"name": "Start Frontend",
"command": "rush start-frontend",
"cwd": "./frontend",
"startedWhen": "Compiled successfully!",
"section": "Frontend"
}
]
```When started, usage is fairly self-explanatory:
- Up/Down to navigate
- Enter to start/restart a process
- Ctrl+C to stop a process
- D to dump the current log to disk
- Esc to quit multilaunch (and stop underlying processes)
- `[`/`]` to scroll/up and down in the log (shift for faster scrolling)
- Space to go back to the bottom of the logMouse scroll moves the log up and down, but you mean need to tweak terminal settings for this.
Cmder - under Keys & Macro > Mouse > Send mouse events to console
iTerm2 - Profiles > Terminal > Uncheck 'Save lines to scrollback in alternate screen mode'