Sha256: 2b2bd43b68b56227dd517e24b699e3616015b70ca36b980c3a0fc2bb7b1f4ddf

Contents?: true

Size: 598 Bytes

Versions: 36

Compression:

Stored size: 598 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "dotenv"

MIN_RUBY_VERSION = File.read(File.expand_path("../.ruby-version", __dir__)).strip

if RUBY_VERSION < MIN_RUBY_VERSION
  raise RuntimeError, "neetob requires Ruby version of #{MIN_RUBY_VERSION} or higher"
end

Dotenv.load(
  File.expand_path("../.env", __dir__)
)

base_path = File.expand_path("../lib", __dir__)

if File.exist?(base_path)
  require_relative "../lib/neetob"
else
  require "neetob"
end

args = ARGV

begin
  Neetob::CLI.start(args, debug: true)
rescue Exception => e
  Neetob::ExceptionHandler.new(e).process
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
neetob-0.5.16 exe/neetob
neetob-0.5.15 exe/neetob
neetob-0.5.14 exe/neetob
neetob-0.5.13 exe/neetob
neetob-0.5.12 exe/neetob
neetob-0.5.11 exe/neetob
neetob-0.5.10 exe/neetob
neetob-0.5.9 exe/neetob
neetob-0.5.8 exe/neetob
neetob-0.5.7 exe/neetob
neetob-0.5.6 exe/neetob
neetob-0.5.5 exe/neetob
neetob-0.5.4 exe/neetob
neetob-0.5.3 exe/neetob
neetob-0.5.2 exe/neetob
neetob-0.5.1 exe/neetob
neetob-0.5.0 exe/neetob
neetob-0.4.37 exe/neetob
neetob-0.4.36 exe/neetob
neetob-0.4.35 exe/neetob