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: 2024-04-06 08:24:49 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