Skip to content

A CLI tool for running processes in the background

License

Notifications You must be signed in to change notification settings

DeeStarks/routnd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ROUTND

Routnd (pronounced "routine-dee") is a command line tool developed in Go, for running commands/processes in the background.

Why routnd?

I wanted to be able to run several processes with the ability to quickly stop and start them without having to open numerous terminals, and also to easily see the output of each process.

Installation

Homebrew

brew tap deestarks/routnd
brew install routnd

cURL

curl -s https://raw.githubusercontent.com/deestarks/routnd/master/scripts/install.sh | bash

Manually

Download the latest release from the releases page and extract the binary to a location in your PATH.

Usage

routnd [command] [flags]

Available Commands

  help        Help about any command
  list        List all running processes
  logs        Show logs for a process
  start       Start a process
  stop        Stop a process

Flags

  -h, --help   help for routnd

Use Cases

# Start a process
routnd start --name my-process --command "npm run dev"

# Start a process with a custom log file
routnd start --name my-process --command "npm run dev" --log-file /path/to/log/file.log

# Stop a process
routnd stop --name my-process

# List all running processes
routnd list

# Show logs for a process
routnd logs --name my-process

# Tail logs
routnd logs --name my-process --tail 20

# Tail logs and follow
routnd logs --name my-process --tail 20 --follow

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.