Skip to content

Instantly share code, notes, and snippets.

View BhanuKiranChaluvadi's full-sized avatar

BhanuKiranChaluvadi

View GitHub Profile
@BhanuKiranChaluvadi
BhanuKiranChaluvadi / myscript
Created February 25, 2021 10:14 — forked from neatshell/myscript
simple bash template that handles mandatory and optional arguments
#!/bin/bash
script="myscript"
#Declare the number of mandatory args
margs=2
# Common functions - BEGIN
function example {
echo -e "example: $script -m0 VAL -m1 VAL -o1 -o2 VAL"
}