Skip to content
/ has Public

Modern replacement for the Unix "test" tool

Notifications You must be signed in to change notification settings

kevgo/has

Repository files navigation

has

CI

has is the programmer's version of the Unix test tool. It allows querying a wider variety of properties from the local computer than just the file system. Examples are the configuration of the codebases in the local folder as well as the status and configuration of source code management and build systems for them. The general usage is:

has [no] <condition>

has indicates the result of the check through its exit code: 0 means success, any non-zero exit code indicates the given condition is not met. The optional no argument inverts the condition, i.e. checks for absence of the condition.

conditions