Skip to content

Commit 894d71e

Browse files
committed
Add comments to scripts
1 parent 3a76b18 commit 894d71e

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

bin/shep_env

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ export PS4=$'+ \e[0;40;36m${BASH_SOURCE}:${FUNCNAME[0]:+${FUNCNAME[0]}}:${LINENO
55
${DEBUG:+set -x}
66
set -e
77

8+
#
9+
# There is a shortcut to target specific environment in case you know what
10+
# you need
11+
#
12+
# ```
13+
# SH_ID=205d4fca-66da-48c6-90ae-10a6f79610e3 SH_NS=aberezovsky shep_env
14+
# ```
15+
# By default scripts use tas-devex namespace, but you can easially point
16+
# to your personal namespace
17+
#
18+
819
export SH_NS=${SH_NS:-tas-devex} \
920
SH_ID=${SH_ID:---last-lease}
1021

bin/shep_select

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ export PS4=$'+ \e[0;40;36m${BASH_SOURCE}:${FUNCNAME[0]:+${FUNCNAME[0]}}:${LINENO
55
# env SHELLOPTS="${SHELLOPTS}:xtrace" shep_env
66
set -e
77

8+
#
9+
# By default scripts use tas-devex namespace, but you can easially point
10+
# to your personal namespace
11+
#
12+
# ```
13+
# SH_NS=aberezovsky shep_env
14+
# ```
15+
#
16+
# You can pass environment filter options after `s` or `shep_select`
17+
# command
18+
# ```
19+
# shep_select APPSMAN-148
20+
# ```
21+
#
22+
823
${DEBUG:+set -x}
924

1025
export SH_NS="${SH_NS:-tas-devex}"

0 commit comments

Comments
 (0)