Skip to content

Instantly share code, notes, and snippets.

View theyorubayesian's full-sized avatar

Akintunde Oladipo theyorubayesian

View GitHub Profile
@theyorubayesian
theyorubayesian / args_script_template.sh
Created June 26, 2023 03:05 — forked from rragundez/args_script_template.sh
Template of bash script with mandatory and optional arguments
#!/bin/bash
set -e
usage="$(basename "$0") [-h] [-i PROJECT] [-v VM] [-p PYTHON] [-d NOTEBOOKS]
Make a user provide SSH key and jupyter notebooks (in roles/bootstrap/files/notebooks) to each user listed in var/common.yml
where:
-h show this help text
-i google cloud project id
-v name of instance/virtual machine
-p python path