Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Bash Script Template

Use it however you like. Works on both Linux and macOS. Provides colored output and logging functions. A little opinionated and assumes you know how getopt(1) works.

Example

Help Command

./template.sh -h

Output:

template.sh  0.1.0
(c) author <author@example.test>

this is a sample script that demonstrates the template capabilities

general:
  license:      MIT
  last update:  2025-10-22
  note:         sample note

options:
  -h, --help     print help message and exit
  -v, --version  get script version

examples:
  ./template.sh

Version Command

./template.sh -v

Output:

0.1.0

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages