Sha256: 357fb1aa6898f827cb898f75191ac489a1839f49963de1e1e44568696c7b5633

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 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 '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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pah-0.0.28 features/support/bin/heroku
pah-0.0.27 features/support/bin/heroku
pah-0.0.26 features/support/bin/heroku