Skip to content

kirtfitzpatrick/chap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chap

Colorful scripting methods and other helpful things.

Part of the bash package manager project bpkg.

  • Display messages and commands to the user color coded to various levels of importance.
  • Auto echo the command to be executed for quick manual debugging when needed.
  • Confirm command with skip, auto-confirm, and execution time features
  • Evaluate commands with truncated output so you can get a brief idea of what a command is doing without having to dump a wall of text.
  • Automatically checks for links and displays their target along side them
  • A basic header

Requirements

  • bash 4 or greater
  • string case functions require Node.js since they use lodash under the hood

Install

Available as a bpkg

bpkg install [-g] kirtfitzpatrick/chap

Usage

Help message

Demo

Demo script

About

Colorful scripting methods and other helpful tools

Resources

Stars

Watchers

Forks

Packages

No packages published