#!/usr/bin/env ruby # frozen_string_literal: true require "dotenv" require "bundler/setup" 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