Sha256: 6e0f0dc14e3e05130adfaddfaf72c4bcb763e81f0e8cbfd83a6d37ab02285f07

Contents?: true

Size: 930 Bytes

Versions: 4

Compression:

Stored size: 930 Bytes

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:add', 'stub of heroku addons:add'
  define_method 'addons:add' do |*addon|
    puts "running heroku addons:add #{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 'create', 'stub of heroku create'
  def create(app)
    puts "running heroku create #{app}"
  end
end

Heroku.start

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pah-0.0.20 features/support/bin/heroku
pah-0.0.19 features/support/bin/heroku
pah-0.0.17 features/support/bin/heroku
pah-0.0.16 features/support/bin/heroku