Opinionated Bash Scripts
These are scripts that I use for my projects 🌈.
They are opinionated and may not be useful for you, but feel free to use them as you wish, even if it's just for inspiration. 🎋
Usage directly from GitHub
echo "------------[LOAD DEPENDENCIES]-----------"
curl https://raw.githubusercontent.com/UlisesGascon/opinionated-bash-scripts/main/scripts/git.sh --output git_utils.sh
source git_utils.sh
echo "------------------------------------------"
echo "-------------[CREATE A FOLDER]------------"
mkdir test
cd test
echo "------------------------------------------"
echo "------------[CLONE THE PROJECT]-----------"
git_clone_public_project https://github.com/UlisesGascon/opinionated-bash-scripts
git_checkout_branch main opinionated-bash-scripts
echo "------------------------------------------"
echo "----------------[CLEAN UP]----------------"
echo "You can safely remove the stuff. RUN:"
echo "cd .. && rm -rf test && rm git_utils.sh"
echo "------------------------------------------"The output should be something like this:
Note: You can replace curl by copying the script and pasting it in your terminal.
Usage as Docker image
You can use UlisesGascon/development-toolkit. In this image you will find all the scripts ready to be used. Documentation
Development
Requirements
Commands
Test
make testLint
make lintContributing 🚂
Feel free to open an issue if you have any questions or suggestions but please note that I may not be able to help you with your specific use case.
