diff options
| -rw-r--r-- | help | 6 | ||||
| -rwxr-xr-x | rm | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -0,0 +1,6 @@ +#!/bin/sh + +echo "Available Commands:" +echo "init <name>: Initialize new Git repository with <name>" +echo "ls: list all repositories" +echo "rm <name>: Delete Git repository with <name>"
\ No newline at end of file @@ -21,7 +21,7 @@ if [ -d "$target" ]; then read -r confirm if [ "${confirm,,}" = "y" ]; then rm -rf "${base_dir:?}/${target:?}" \ - && echo "Deleted Git repository: ${target}" + && echo "Deleted Git repository ${target}" fi else echo "$target does not exist." |
