Overview
Syllabus
Welcome and introduction
Logging in to our Hands-on SAP Dev account and examining btpgo
Looking at the tmux status configuration and how btpctx feeds the status
Examining the detail of btp get accounts/global-account
Different ways of grabbing a property value from the output subdomain
Reflecting on the trend of JSON output for commands that produce rich content
Our first use of --format json
Starting to use jq for the JSON data
Introducing fx to navigate JSON structures
Useless use of cat award!
Comparing the detailed global-account output of JSON vs non-JSON
Understanding the output for btp get accounts/global-account --show-hierarchy
Re-examining the bgu function and the btpguid script
Recognizing that we need to use GUIDs often
Using bgu to target subaccounts or directories
Referring to the Google Shell Scripting Guidelines, shellcheck and shfmt via https://qmacro.org/2020/10/05/improving-my-shell-scripting/
Using bash -x to look at what's going on in detail and digging into the btpguid main function
A brief look at jqte - a tmux-powered jq explorer
Taught by
SAP Developers