module EnvLint

Constants

VERSION

Public Class Methods

verify_args(env_definition_file, args) click to toggle source
# File lib/env_lint.rb, line 20
def self.verify_args(env_definition_file, args)
  DotEnvFile.from_file(env_definition_file)
    .verify_no_unknown(EnvKeyParser.new.parse_args(args))
end
verify_export_output(env_definition_file, export_output) click to toggle source
# File lib/env_lint.rb, line 15
def self.verify_export_output(env_definition_file, export_output)
  DotEnvFile.from_file(env_definition_file)
    .verify_no_missing(EnvKeyParser.new.parse_export_output(export_output))
end
verify_hash(env_definition_file, env) click to toggle source
# File lib/env_lint.rb, line 11
def self.verify_hash(env_definition_file, env)
  DotEnvFile.from_file(env_definition_file).verify_no_missing(env.keys)
end