Skip to content

jorgefuertes/executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Executor

Run commands in a fancy way.

About executor

This is a small program just made to run any shell commands with visual feedback, timing and some other features, giving it a better and professional look.

This is not intended to be an alternative to make or task, this is just a complement. When your make output is too much to understand, executor helps you to see, in a single look, if everything goes ok.

Output shading

Executor hides the standard and error output, displaying it only on error or as instructed via command line flags.

Not interactive mode

Automatic detection of terminal type, acts as a simple log without colors or spinners when the output is not a terminal or the flag --no-color is activated.

Demo

Demo

Installation

MacOS-X (homebrew)

brew tap jorgefuertes/executor
brew install executor

Linux and others (curl)

curl -Lo - https://raw.githubusercontent.com/jorgefuertes/executor/refs/heads/main/scripts/install.sh | sh

Quick usage

Getting help

executor --help

Command run

executor run --desc "Just a greeting" -c "sleep 3; echo 'Hello World!'"

Showing the output

executor run -so --desc "Just a greeting" -c "sleep 3; echo 'Hello World!'"

Run modes

You can use executor, at the moment, to:

  • Run a command or a script (run).
  • Check for the existence of an executable (which).
  • Check if a port is open (port).
  • Check if a web page is responding successfully (web).

Check the included help --help for more info.

Authors