#!/usr/bin/env ruby require 'thor' class Heroku < Thor desc 'auth:login', 'stub of heroku auth:login' define_method 'auth:login' do puts 'running heroku auth:login' end desc 'config:set', 'stub of heroku config:set' define_method 'config:set' do |*config| puts "running heroku config:set #{config.join(' ')}" end desc 'addons:create', 'stub of heroku addons:create' define_method 'addons:create' do |*addon| puts "running heroku addons:create #{addon.join(' ')}" end desc 'domains:add', 'stub of heroku domains:add' define_method 'domains:add' do |*domain| puts "running heroku domains:add #{domain.join(' ')}" end desc 'access:add', 'stub of heroku access:add' define_method 'access:add' do |*domain| puts "running heroku access:add #{domain.join(' ')}" end desc 'pg:backups', 'stub of heroku pg:backups' define_method 'pg:backups' do |*args| puts "running heroku pg:backups #{args.join(' ')}" end desc 'create', 'stub of heroku create' def create(app) puts "running heroku create #{app}" end end Heroku.start