Sha256: 0edc7c385df73c2fdc2a9309672927fd1e9e1ea3aa5e56b280c46d9128b82d3e

Contents?: true

Size: 592 Bytes

Versions: 6

Compression:

Stored size: 592 Bytes

Contents

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

require "dotenv"
require "bundler/setup"

MIN_RUBY_VERSION = File.read(".ruby-version").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

6 entries across 6 versions & 1 rubygems

Version Path
neetob-0.2.6 exe/neetob
neetob-0.2.5 exe/neetob
neetob-0.2.4 exe/neetob
neetob-0.2.3 exe/neetob
neetob-0.2.2 exe/neetob
neetob-0.2.1 exe/neetob