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

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

SAP Developers via YouTube Direct link

Piping the role collection list into fzf

7 of 12

7 of 12

Piping the role collection list into fzf

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

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

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Welcome, introduction, and Devtoberfest related news
  2. 2 JSON format output from btp CLI is more reliable and predictable
  3. 3 A brief exploration of my btp CLI related functions and scripts
  4. 4 Picking some data from the btp CLI to play with
  5. 5 Creating a new script file listroles
  6. 6 Exploring the role collections JSON with the jqte JQ playground script
  7. 7 Piping the role collection list into fzf
  8. 8 Short digression into trailing spaces, asynchronous fixers, and escaped newlines
  9. 9 Looking at an alternative way to select a role collection
  10. 10 Reflecting on how easy it was to build a script around the btp CLI to create something useful
  11. 11 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
  12. 12 Finishing with a digression on the use of xargs with functions no! and scripts yes!

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.