diff options
author | Malf Furious <m@lfurio.us> | 2017-09-13 22:48:26 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2017-09-13 22:48:26 -0400 |
commit | be5ecf8e81e1457e8532558948a7d380bfaab3c4 (patch) | |
tree | 379ee5a847ec97a32813117d6e2004739c4b1d49 /main.sh | |
parent | b4acf0ac3704124bbb76528beea5656c0239d1cb (diff) | |
download | systrunk-be5ecf8e81e1457e8532558948a7d380bfaab3c4.tar.gz systrunk-be5ecf8e81e1457e8532558948a7d380bfaab3c4.zip |
Add clone op
Diffstat (limited to 'main.sh')
-rw-r--r-- | main.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |