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-11-06 09:33:33 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