Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@heroku-cli/color

Package Overview
Dependencies
Maintainers
52
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heroku-cli/color

base CLI command for cli-engine

  • 2.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
70K
increased by10.72%
Maintainers
52
Weekly downloads
 
Created
Source

Heroku CLI Color

heroku-cli-color`` is a command-line interface (CLI) tool for Heroku, a cloud platform for building, deploying, and managing applications. The project provides custom color options for the Heroku CLI using the chalk module.

Installation

  1. Clone the repository: git clone https://github.com/heroku/heroku-cli-color.git
  2. Install dependencies: yarn install
  3. Build the project: yarn build

Usage

  1. See example below

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a new branch: git checkout -b my-branch-name
  3. Make your changes and commit them: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-branch-name
  5. Submit a pull request

Example

import { color } from './color';

console.log(color.attachment('This text is in cyan.'));
console.log(color.addon('This text is in yellow.'));
console.log(color.configVar('This text is in green.'));
console.log(color.release('This text is in blue and bold.'));
console.log(color.cmd('This text is in cyan and bold.'));
console.log(color.pipeline('This text is in green and bold.'));
console.log(color.app('This text is in magenta and prefixed with "⬢".'));
console.log(color.heroku('This text is in magenta.'));

const coloredText = color.app('My App');
console.log(`Welcome to ${coloredText}!`);

Keywords

FAQs

Package last updated on 01 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc