Sha256: 04085f28e28202dd56ca1d189c93fbb85aefd36910d9e9e2bf380f4153c5b0c0

Contents?: true

Size: 1.07 KB

Versions: 3

Compression:

Stored size: 1.07 KB

Contents

#!/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 'sharing:add', 'stub of heroku sharing:add'
  define_method 'sharing:add' do |*domain|
    puts "running heroku sharing: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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pah-0.0.25 features/support/bin/heroku
pah-0.0.24 features/support/bin/heroku
pah-0.0.23 features/support/bin/heroku