module Docr

Defined in:

commands/base.cr
docr.cr
renderer.cr

Constant Summary

BUILD_DATE = {% if flag?(:win32) %} {{ (`powershell.exe -NoProfile Get-Date -Format \"yyyy-MM-dd\"`).stringify.chomp }} {% else %} {{ (`date +%F`).stringify.chomp }} {% end %}
BUILD_HASH = {{ (`git rev-parse HEAD`).stringify[0...8] }}
LIBRARY_DIR = {% if flag?(:win32) %} Path[ENV["APPDATA"], "docr"] {% else %} Path[ENV["XDG_DATA_HOME"]? || Path.home / ".local" / "share" / "docr"] {% end %}
VERSION = "1.0.0-alpha"