Sha256: 8307f254622fa0641b2687975ac90c47f8f0de0ae8027fa1d1af003bb7983d65

Contents?: true

Size: 488 Bytes

Versions: 4

Compression:

Stored size: 488 Bytes

Contents

#!/usr/bin/env ruby
lib_path = File.dirname(__FILE__) + "/../lib"
$:.unshift lib_path

require 'optparse'
require 'rubygems'
require 'hyde'

# This will load the extensions
begin
  $project = Hyde::Project.new

rescue Hyde::IncompatibleError => e
  $stderr << e.message << "\n"
  exit

rescue Hyde::NoRootError; end

if ARGV.size == 0
  Hyde::CLICommands::Help.run
  exit
end

# Can error
controller = Hyde::CLICommands.get_controller ARGV[0]
params = ARGV[1..-1]
controller.run(*params)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hydeweb-0.0.8.pre2 bin/hyde
hydeweb-0.0.8.pre1 bin/hyde
hydeweb-0.0.7 bin/hyde
hydeweb-0.0.5 bin/hyde