Sha256: 6cde6dac91e9157ad4350874139516ab57c56bbd0c3c4436c019934bbde35be8

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require_relative '../lib/hodor/cli'

$thor_runner = true
$hodor_runner = true

begin
  Hodor::Cli::Runner.start(ARGV)
rescue Hodor::Cli::CommandNotFound => ex
  namespace = ARGV.shift
  begin
    Kernel.exec("hodor-#{namespace} #{ARGV.join(' ')}")
  rescue => ex
    puts "HODOR! '#{namespace}' is unknown.\nNOTE: If this is a Hodor plugin, then perhaps you need to install the gem 'hodor-#{namespace}'..."
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hodor-1.0.2 bin/hodor