In the project I’m currently working on, we use Heroku as infrasture provider. Heroku has its own command line operations to execute tasks like db backups, managing addons, etc.
Last March, Herokudeprecated its PG Backups addon, so the CLI syntax changed. The project I’m working on is a Rails project, so by default we already use Rake to run tasks like database migrations. Thus, instead of learning the new Heroku syntax, I’ve decide to write a couple of Rake tasks to wrap the new Heroku commands.
Next time Heroku updates its command line syntax, I’ll only need to update the commands in my Rake tasks and I won’t have to learn the nex syntax.