Skip to content

Commit 4e83201

Browse files
committed
moo
1 parent 02973ee commit 4e83201

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.salesforcerc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff 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'
175175
alias tstatus='deploy_status AndrewDev'
176176
alias 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+

0 commit comments

Comments
 (0)