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