Sha256: 2b2bd43b68b56227dd517e24b699e3616015b70ca36b980c3a0fc2bb7b1f4ddf

Contents?: true

Size: 598 Bytes

Versions: 49

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

49 entries across 49 versions & 1 rubygems

Version Path
neetob-0.5.29 exe/neetob
neetob-0.5.28 exe/neetob
neetob-0.5.27 exe/neetob
neetob-0.5.26 exe/neetob
neetob-0.5.25 exe/neetob
neetob-0.5.24 exe/neetob
neetob-0.5.23 exe/neetob
neetob-0.5.22 exe/neetob
neetob-0.5.21 exe/neetob
neetob-0.5.20 exe/neetob
neetob-0.5.19 exe/neetob
neetob-0.5.18 exe/neetob
neetob-0.5.17 exe/neetob
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