Module: WeatherSage::CLI::Env

Defined in:
lib/weather-sage/cli/env.rb,
lib/weather-sage/cli/env/vars.rb

Overview

Namespace for environment-related classes.

Defined Under Namespace

Classes: Cache, Context, Env, Log

Constant Summary collapse

VARS =

Environment variables.

Used by help command to print available environment variables.

[{
  name:     'LOG_LEVEL',
  text:     "Log level (fatal, error, warning, info, debug)",
  default:  'warn',
}, {
  name:     'LOG_PATH',
  text:     "Path to log file",
  default:  'standard error',
}, {
  name:     'CACHE_PATH',
  text:     "Path to HTTP cache store",
  default:  "~/.config/weather-sage/http-cache.pstore",
}].freeze