Skip to content
monstruooo edited this page May 7, 2017 · 7 revisions

Bash+ is a set of functions written in Linux shell itself that integrates APIs of various providers into the command line of the shell. You can also say that bash+ is a method to command-line the API.

The goal of bash+ is to provide system admins/devops with an easy way to script operations vs different providers. Ideally, even a person with the most basic command of the Linux shell should be able to script operations.

Bash+ achieves its goal by:

  • Taking care of such tasks as managing authentication/authorization tokens and limit rates
  • Downloading and caching, when necessary, sites/accounts information
  • Providing built-in commands for most basic/common tasks
  • Providing tools that allow users to easily construct custom API requests by just copy-pasting relevant instructions from API manuals and without having to know the intricacies of accessing the given API

Bash+ can be seen as a revival of the original Unix/Linux philosophy of “Keep it simple - Keep it in a pipe”. That is, complex tasks should be carried out by a bunch of small simple commands organized in a pipe because there is beauty in simplicity.

Contrary to the common misconception, integrating APIs into the Linux shell is very easy. And bash+ already provides enough examples, conventions and common functions to make such an effort a breath. If every one of you writes a bash+ extension for an API you work with, the end result of our collective effort will be a super-shell that can do everything.

Clone this wiki locally