Sha256: 136d521f3bd38ab2a52633fd79fe037a3b28307ca36b1505dd05e7d1c6795130

Contents?: true

Size: 348 Bytes

Versions: 2

Compression:

Stored size: 348 Bytes

Contents

# frozen_string_literal: true

require 'arisu'
require 'dotenv/cli'

module Arisu
  class CLI < Dotenv::CLI
    def run
      if @overload
        Arisu.overload!(*@filenames)
      else
        Arisu.load!(*@filenames)
      end
    rescue Errno::ENOENT => e
      abort e.message
    else
      exec(*@argv) unless @argv.empty?
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
arisu-1.0.1 lib/arisu/cli.rb
arisu-1.0.0 lib/arisu/cli.rb