#!/bin/bash _help() { cat < /dev/null if [ ! -z $full ];then cargo test $release_opt fi } while getopts ":fhtTbr" arg; do case ${arg} in f) full=true;; h) echo help command;; t) testing;; T) testing --release;; b) cargo build;; r) cargo build --release;; *) _help;; esac done