File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ lbl() {
2020 # shellcheck disable=SC2181
2121 if [ $? -ne 0 ];
2222 then
23- echo " Error!"
24- echo " ${result} "
23+ >&2 echo " Error!"
24+ >&2 echo " ${result} "
2525 else
26- echo " All labels on ${1} matching '${2} ' (case insensitive):"
26+ >&2 echo " All labels on ${1} matching '${2} ' (case insensitive):"
2727 echo " ${result} " | jq -r ' .result[] | select(.fullName|test("' " ${2} " ' "; "i")) | .fullName' | while read -r line ; do
2828 stmt " ${1} " " '${line} : ' + Label.${line} " quiet
2929 done
@@ -175,3 +175,8 @@ alias dstatus='deploy_status UAT'
175175alias tstatus=' deploy_status AndrewDev'
176176alias tflags=' trace_flags AndrewDev'
177177
178+ function lt() {
179+ >&2 echo " ${BOLD} Tailing ${COLOR_BLUE}${BOLD}${1} ${COLOR_RESET}${BOLD} logs...${COLOR_RESET} "
180+ sfdx force:apex:log:tail -u " $1 " | grep --color=always -E ' USER_DEBUG|ERROR'
181+ }
182+
You can’t perform that action at this time.
0 commit comments