Sha256: 13eaed2e5c0755cb44b3e34ae1764569fcb20a6525d99b893b20b3612111d038

Contents?: true

Size: 251 Bytes

Versions: 8

Compression:

Stored size: 251 Bytes

Contents

#!/usr/bin/env ruby

require 'larva'

def error_exit(error)
  $stderr.puts "!! Error: #{error}"
  exit
end

error_exit("Please provide a valid command. Valid commands: spawn") unless ARGV[0] == "spawn"
Larva::DaemonCreator.create(ENV["PWD"], ARGV[1])

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
larva-1.3.0 bin/larva
larva-1.2.0 bin/larva
larva-1.1.3 bin/larva
larva-1.1.2 bin/larva
larva-1.1.1 bin/larva
larva-1.1.0 bin/larva
larva-1.0.1 bin/larva
larva-1.0.0 bin/larva