henderjon/is_cli

adds a global constant for CLI environments

v1.0.1 2014-08-11 18:52 UTC

This package is auto-updated.

Last update: 2020-09-06 00:12:27 UTC


README

Defines a constant for checking if the current process is being run via CLI.

usage

if(IS_CLI){ /* noop */ } or if(is_cli()){ /* noop */ }

Latest Stable Version Build Status