henderjon/is_cli

adds a global constant for CLI environments

v1.0.1 2014-08-11 18:52 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