From be5ecf8e81e1457e8532558948a7d380bfaab3c4 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 13 Sep 2017 22:48:26 -0400 Subject: Add clone op --- main.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'main.sh') diff --git a/main.sh b/main.sh index 5593dd8..f5a2df7 100644 --- a/main.sh +++ b/main.sh @@ -21,6 +21,8 @@ function main systr_checkout "$@" elif [[ "$cmd" == "init" ]]; then systr_init "$@" + elif [[ "$cmd" == "clone" ]]; then + systr_clone "$@" else echo "Fatal: not in a worktree" >&2 exit 1 @@ -39,6 +41,8 @@ function main systr_status "$@" elif [[ "$cmd" == "init" ]]; then systr_init "$@" + elif [[ "$cmd" == "clone" ]]; then + systr_clone "$@" elif [[ "$cmd" == "checkout" ]]; then systr_checkout "$@" elif [[ "$cmd" == "commit" ]]; then -- cgit v1.2.3