Skip to content

cryptiddddd/wormboy-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wormboy3's utility bash scripts & more!!

signature bash license

this repository is a collection of bash script helpers that i use regularly. it also may document my knowledge of the language and evolving understanding of best use practices.

by no means are these utility scripts complete or even generalized appropriately to more use cases than my own personal play.

directory

installation

execute the install.sh script with sudo permissions -- this compiles all bash files in the utility folder and throws it into your /usr/local/lib/ directory. for now.

what's in the repo

templates

to start off, i have one simple template for creating new cli scripts. this makes it easier as you get into bash-scripting. at least for me, it contains my preferred method of argument parsing for the time being.

note that there is no consideration for stdin or stdout.

utilities

these utility scripts are not meant to be utilized directly by a user, but to provide helper functions for other developers. for instance, pretty-print.sh provides colorful, mutable, levelled-logging. this is great use to me everywhere, as it provides consistent output across multiple clis.

utility functions are all in-progress.

utility tests

these tests exist simply for verifying and developing utilities and their use cases.

note: when installed, all scripts are concatenated together, eliminating the need to import various inter-dependencies in this library. however, when testing, importing all dependencies in the single test script is required.

example: when testing alerts.sh, you must also source random.sh, as i use a randomizing function in the worm-alert function.


TODOS

  • pretty-print
    • add logging redirection so as to avoid stdout ??
    • add level-based log-muting
  • list dependencies

About

personal collection of bash scripting assists

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages