henderjon/is_cli

adds a global constant for CLI environments

Installs: 13

Dependents: 4

Suggesters: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

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