Sha256: 4500eea1382f290fd31985dadf6382d166a367dd0aa74ec388ac86fac6e07463

Contents?: true

Size: 622 Bytes

Versions: 19

Compression:

Stored size: 622 Bytes

Contents

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

require "dotenv"
require "bundler/setup"

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

19 entries across 19 versions & 1 rubygems

Version Path
neetob-0.4.14 exe/neetob
neetob-0.4.13 exe/neetob
neetob-0.4.12 exe/neetob
neetob-0.4.11 exe/neetob
neetob-0.4.10 exe/neetob
neetob-0.4.9 exe/neetob
neetob-0.4.8 exe/neetob
neetob-0.4.7 exe/neetob
neetob-0.4.6 exe/neetob
neetob-0.4.5 exe/neetob
neetob-0.4.4 exe/neetob
neetob-0.4.3 exe/neetob
neetob-0.4.2 exe/neetob
neetob-0.4.1 exe/neetob
neetob-0.4.0 exe/neetob
neetob-0.3.2 exe/neetob
neetob-0.3.1 exe/neetob
neetob-0.3.0 exe/neetob
neetob-0.2.7 exe/neetob