Sha256: 15317efc4a1a2193d4902795546525387947cd8fab4404d5b9ca8cfa1b924f37

Contents?: true

Size: 445 Bytes

Versions: 3

Compression:

Stored size: 445 Bytes

Contents

#!/bin/env/ruby

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

begin
  argv = ARGV.dup
  args = Observed::Application::Oneshot.parse_argv!(argv)
  Observed::Application::Oneshot.create(args).run *argv
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

3 entries across 3 versions & 1 rubygems

Version Path
observed-0.2.0 exe/observed-oneshot
observed-0.2.0.rc2 exe/observed-oneshot
observed-0.2.0.rc1 exe/observed-oneshot