diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-05-13 16:11:34 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-05-13 16:11:34 +0300 |
| commit | ba527cf1132b834c9ed43a7bb7ecda11029e0f9c (patch) | |
| tree | 10b76f02c8e9eca2fa5b9870183f16492cd0094e /tools/rename-namespaces.sh | |
| parent | 1ee32d5729eb998965436111a70a4e62c90746bf (diff) | |
| download | it-kariera-exam-template-ba527cf1132b834c9ed43a7bb7ecda11029e0f9c.tar it-kariera-exam-template-ba527cf1132b834c9ed43a7bb7ecda11029e0f9c.tar.gz it-kariera-exam-template-ba527cf1132b834c9ed43a7bb7ecda11029e0f9c.zip | |
Added help menus to all tools (scripts)
Diffstat (limited to 'tools/rename-namespaces.sh')
| -rwxr-xr-x | tools/rename-namespaces.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/rename-namespaces.sh b/tools/rename-namespaces.sh index 543cbe8..b500311 100755 --- a/tools/rename-namespaces.sh +++ b/tools/rename-namespaces.sh @@ -1,5 +1,21 @@ #!/bin/bash +if [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "-?" ]; then + cat <<EOF +./rename-namespaces.sh <CurrentName|-r> [FeatureName] + +CurrentName An optional paramter, specifies the current start name of all namespaces. + Default value: ExamTemplate +-r An optional paramter, removes the specified start name of all namespaces. + +Example: ./rename-namespaces.sh MyShop CarShop +Example: ./rename-namespaces.sh -r CarShop + +For more information: https://gitlab.com/Syndamia/it-kariera-exam-template#rename-namespaces +EOF + exit +fi + if [ -z "$1" ]; then echo "No name supplied!" exit |
