Skip to content

UlisesGascon/opinionated-bash-scripts

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
November 23, 2023 09:57
November 22, 2023 14:36
November 16, 2023 12:40
November 22, 2023 14:33

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:

bash terminal output

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 test

Lint

make lint

Contributing 🚂

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.

⚠️ If you want to contribute code, please open a pull request. I will review it as soon as I can, but take into account that this is a side project and it is very opinionated, so I may not accept your changes if they don't fit my use case.

About

Useful (and VERY OPINIONATED) Bash scripts that I use for my projects ☕️

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published