executor

command module
v1.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL