From 23fc39bd3d610bffd8e33b1f8415fb2546ec442f Mon Sep 17 00:00:00 2001 From: Kristoffer Ahl Date: Wed, 29 Aug 2018 16:29:46 +0200 Subject: [PATCH] - Cleaned up interactive example command. --- examples/commands/interactive.sh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/examples/commands/interactive.sh b/examples/commands/interactive.sh index 0b0e68b..eb410ac 100644 --- a/examples/commands/interactive.sh +++ b/examples/commands/interactive.sh @@ -1,28 +1,8 @@ #!/usr/bin/env bash -up:packages () { - echo "up:packages ($*)" -} - -up:modules () { - echo "up:modules ($*)" -} - interactive () { echo "interactive ($*)" echo -n "Enter your name: " read -r name echo "Thanks ${name:?}!" } - -down:packages () { - echo "down:packages ($*)" -} - -down:modules () { - echo "down:modules ($*)" -} - -down () { - echo "up ($*)" -}