summaryrefslogtreecommitdiffstats
path: root/main.sh
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-09-13 22:48:26 -0400
committerMalf Furious <m@lfurio.us>2017-09-13 22:48:26 -0400
commitbe5ecf8e81e1457e8532558948a7d380bfaab3c4 (patch)
tree379ee5a847ec97a32813117d6e2004739c4b1d49 /main.sh
parentb4acf0ac3704124bbb76528beea5656c0239d1cb (diff)
downloadsystrunk-be5ecf8e81e1457e8532558948a7d380bfaab3c4.tar.gz
systrunk-be5ecf8e81e1457e8532558948a7d380bfaab3c4.zip
Add clone op
Diffstat (limited to 'main.sh')
-rw-r--r--main.sh4
1 files changed, 4 insertions, 0 deletions
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