module Which
Overview
A simple Crystal library for locating the absolute path of a file along the $PATH environment variable's various paths.
Extended Modules
Defined in:
which.crConstant Summary
-
PATH =
(PATHTEXT.split(':')).map(&->Path.new(String))
-
Array(Path) representing the paths found in the $PATH environment variable
-
PATHTEXT =
ENV["PATH"]