xdg

Constants representing the XDG config locations or their standard defaults if not set.

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      xdg:
        github: dscottboggs/xdg.cr
  2. Run shards install

Usage

require "xdg"

XDG.config_file "myapp/config.yml" do |config|
  myapp_config.to_yaml config
end