module

LuckyEnv

Constants

VERSION = {{ (`shards version \"/tmp/tmp.aoeLhI/src/src\"`).chomp.stringify }}

Class methods

development?
Source
environment
Source
load(file_path : String) : Hash(String, String)

Parses the file_path, and loads the results in to ENV raises LuckyEnv::MissingFileError if the file is missing

Source
load?(file_path : String) : Hash(String, String) | Nil

Returns nil if the file is missing

Source
production?
Source
task?
Source
test?
Source

Macros

add_env(name)
Source

Nested types