struct StatusPage::ProgramInfo
Included Modules
Defined in:
status_page/program_info.cr
Constant Summary
-
ARGS =
ARGV
-
BUILD_HOST =
{{ (`hostname`).stringify }}
-
BUILT_BY =
{{ env("USER") }}
-
BUILT_ON =
Time.unix({{ (`date +%s`).strip + "_i64" }})
-
COMMIT =
{{ (`sh -c '[ -e .git/HEAD ] && head -c 7 .git/HEAD' || echo 'unknown'`).stringify }}
-
HOST_OS =
self.host_os
-
RUNNING_AS =
(`whoami`).strip
-
STARTED_AT =
Time.utc
Constructors
Class Method Summary
Instance Method Summary
Constructor Detail
Class Method Detail
Instance Method Detail