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