Skip to content

Instantly share code, notes, and snippets.

View angelovangel's full-sized avatar
:electron:
nextflow, R, shiny, shell

Angel Angelov angelovangel

:electron:
nextflow, R, shiny, shell
  • Germany
View GitHub Profile
@angelovangel
angelovangel / args_script_template.sh
Created September 12, 2023 13:34 — 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