Skip to content

walksanatora/bash_bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bash Bundler

a simple bash script that merges other bash scripts into one with sub commands

Usage

./bundle --folder=<target> --dest=<destination>
EX: ./bundle --folder=example/ --dest=example.sh
(note: dest can be ommited and it will default to <folder name>.sh)

Known Bugs

files must end with a blank line lest a line be cut off from the bottom

Features

  1. merge mutiple bash scripts into a mass of case statments
  2. include sourced files (by copy pasting them effectively)
    A. allow sourced files to source other files B. enforce a source deph limit to prevent infinite loops
  3. skip files prefixed with a _ so they cannot be directly executed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages