github.com/dscottboggs/xdg.cr

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

6 stars
2 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  xdg:
    github: dscottboggs/xdg.cr
    version: ~> 1.3.0

Then run:

shards install

shard.yml

Crystal
>= 0.35.1, < 2.0.0
License
MIT
Author
Scott Boggs

Dependencies

This version declares no dependencies.

README

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