diff options
Diffstat (limited to 'tools/rename-project.sh')
| -rwxr-xr-x | tools/rename-project.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/rename-project.sh b/tools/rename-project.sh index 876432f..b0d6d0b 100755 --- a/tools/rename-project.sh +++ b/tools/rename-project.sh @@ -1,5 +1,19 @@ #!/bin/bash +if [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "-?" ]; then + cat <<EOF +./add-feature-template.sh <CurrentName> [NewName] + +CurrentName Optional parameter, specifies the current name of the project + Default value: ExamTemplate +Example: ./rename-project.sh CarShop +Example: ./rename-project.sh CarShop BookShop + +For more information: https://gitlab.com/Syndamia/it-kariera-exam-template#rename-project +EOF + exit +fi + if [ -z "$1" ]; then echo "No name supplied!" exit |
