Sha256: 5b79f8e0d463c6ac37dc8e27d263d70ef1a620cfc1451bd5c8ed06d5f659f615

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

#!/bin/env/ruby

require 'observed'
require 'observed/application/oneshot'

begin
  Observed::Application::Oneshot.from_argv(ARGV).run
rescue Observed::Application::Oneshot::InvalidArgumentError => e
  $stderr.puts 'Missing the path to a Observed config file'
  $stderr.puts 'Usage: observed-oneshot [-d|--debug] [-l LOG_FILE|--log_file LOG_FILE] <observed.rb>'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
observed-0.1.1 exe/observed-oneshot