m4rc1no5/color-bash-prompt

Color your bash commands

Maintainers

Package info

github.com/m4rc1no5/ColorBashPrompt

pkg:composer/m4rc1no5/color-bash-prompt

Statistics

Installs: 556

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

dev-master 2015-12-11 08:02 UTC

This package is not auto-updated.

Last update: 2026-03-01 03:04:30 UTC


README

Total Downloads

Color your bash commands

Documentation

Table of contents

  1. Installation
  2. Examples

Installation

ColorBashPrompt is available at packagist.org, so you can use composer to download this library and all dependencies.

(add to require section in your composer.json file)

    {
        "require": {
            "m4rc1no5/color-bash-prompt": "@dev"
        }
    }

Examples

// create ColorBashPrompt
$cbp = new ColorBashPrompt();

//yellow text in console
echo $cbp->writeln("Yellow text", ColorBashPrompt::YELLOW);