#!/usr/bin/env zsh source ~/dotfiles/bin/helpers/functions.sh status() { ~/dotfiles/bin/actions/status.sh $@ } update() { ~/dotfiles/bin/actions/update.sh $@ } help() { ~/dotfiles/bin/actions/help.sh $@ } exports() { ~/dotfiles/bin/actions/export.sh $@ } # switch case for parameters case $1 in "update") logo update $@ ;; "status") logo continue status $@ ;; "export") logo exports $@ ;; "help"|"--help"|"") help $@ ;; term) ~/dotfiles/bin/actions/term.sh $@ ;; *) printfe "%s\n" "red" "Unknown command $1" help $@ ;; esac