Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Manage Procfile-based applications

License

NotificationsYou must be signed in to change notification settings

pirj/toreman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toreman is a one’ish-line shell scriptforeman clone that is running processes in separatetmux panes.

With tmux, interleaved output, and interactive debugging are not a problem anymore.

It’s also possible to selectively stop/restart processes.

tiled

Usage

In a running tmux session, from a directory containingProcfile, runtoreman.It will parse yourProcfile and run each entry in a separate split.

Use C-b h/j to navigate between panes, and C-b z to toggle full-screen zoom.

It’s possible to specify a layout as a first argument totoreman, e.g.

toreman even-vertical
even vertical

Available layouts are:even-horizontal,even-vertical,main-horizontal,main-vertical,tiled (default).

Installation

If you’re on macOS and are usingHomebrew, it’s as easy as:

brew install pirj/homebrew-toreman/toreman

Otherwise, drop thetoreman binary somewhere on your$PATH, or add an alias in yourrc file:

alias toreman="grep --invert-match '#' < Procfile | sed -e 's/^[^:]*: //' | xargs -I {} tmux split-window -v \; send-keys '[ -s .env ] && source .env; {}' 'C-m' && tmux select-pane -t 1 \; send-keys 'C-d' \; select-layout${1:-tiled}"

Alternatives

Check outovermind if you prefer 1600 lines of Go over one line of shell script, or otherForeman ports.

Author

Phil Pirozhkov, software developer in law.

License

Toreman is licensed under MIT License.


[8]ページ先頭

©2009-2025 Movatter.jp