Sha256: 4dd9ad85a2cc9a984c9c0a6b7e025d006c0cb084a445bb3c6c49fc4dfb8000c0

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

#!/usr/bin/env ruby
# encoding: UTF-8
# frozen_string_literal: true

require 'locd'

# Setup logging *before* including {Locd::CLI} so that we can get
# trace/debug output from that setup if enabled via ENV vars
Locd::Logging.setup dest: $stderr, sync: true

# Logger for this file
logger = SemanticLogger[__FILE__]

require 'locd/cli'

begin
  Locd::CLI::Command::Main.start
rescue Exception => e
  if e.instance_of?(SystemExit)
    raise
  else
    logger.fatal e
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locd-0.1.3 exe/locd