Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Writing a Script Together With Bash, JQ, and the BTP CLI

SAP via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This hands-on course builds a Bash script around the SAP BTP CLI. It demonstrates processing role-collection JSON with jq, selecting entries with fzf, and composing Unix command-line tools.

Syllabus

Welcome, introduction, and Devtoberfest related news
JSON format output from btp CLI is more reliable and predictable
A brief exploration of my btp CLI related functions and scripts
Picking some data from the btp CLI to play with
Creating a new script file listroles
Exploring the role collections JSON with the jqte JQ playground script
Piping the role collection list into fzf
Short digression into trailing spaces, asynchronous fixers, and escaped newlines
Looking at an alternative way to select a role collection
Reflecting on how easy it was to build a script around the btp CLI to create something useful
Adding the role template app ID to the output too, in a Unix way, so that it can be easily parsed further down the pipeline
Finishing with a digression on the use of xargs with functions no! and scripts yes!

Taught by

SAP Developers

Reviews

Start your review of Writing a Script Together With Bash, JQ, and the BTP CLI

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.