Skip to content

Instantly share code, notes, and snippets.

View dominikj111's full-sized avatar

Dominik dominikj111

View GitHub Profile
@dominikj111
dominikj111 / cli_params.sh
Last active January 19, 2024 07:22
A bit more generic way to process bash cli params.
#!/bin/bash
set -euo pipefail
script_name=$(basename "$0")
bgreen() {
printf "\e[1m\e[32m"
"$@"
printf "\e[0m"
version: '3.3'
services:
muracms:
build:
context: .
# context: https://github.com/blueriver/docker-muracms.git#:examples/commandbox-lucee5-mysql
image: blueriver/docker-muracms:7.1-commandbox-lucee5
depends_on: