#!/bin/env fish begin function installSW end function configureSW end function runInstaller -a action if [ -z "$action" ] || [ "$action" = "install" ] installSW else [ "$action" = "configure" ] configureSW end end end