2.0.4 • Published 11 months ago

@heroku-cli/color v2.0.4

Weekly downloads
72,657
License
ISC
Repository
github
Last release
11 months ago

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}!`);
@everything-registry/sub-chunk-393@crazyantlabs/heroku-cli-plugin-cron@coralproject/coral-cli@anycli/not-found@anycli/not-found-plugin@anycli/plugins@anycli/plugins-plugin@anycli/plugin-legacy@anycli/plugin-not-found@anycli/plugin-plugins@cli-engine/util@cli-engine/engine@heroku-cli/plugin-auth@heroku-cli/plugin-build@heroku-cli/plugin-buildpack-registry@heroku-cli/plugin-buildpacks@heroku-cli/plugin-certs-v5@heroku-cli/plugin-ci@heroku-cli/plugin-config@heroku-cli/command@heroku-cli/config-edit@heroku-cli/heroku-builds@heroku-cli/plugin-addons-admin@heroku-cli/plugin-api@heroku-cli/plugin-apps@heroku/heroku-cli-util@heroku-cli/plugin-ps@heroku-cli/plugin-run@heroku-cli/plugin-run-v5@heroku-cli/plugin-status@heroku-cli/plugin-trusted-endpoints@heroku-cli/plugin-webhooks@heroku-cli/plugin-integration@heroku-cli/plugin-mtls@heroku-cli/plugin-oauth@heroku-cli/plugin-pg-privatelink@heroku-cli/plugin-pipelines@heroku-cli/plugin-data@heroku-cli/plugin-data-connectors@heroku-cli/plugin-data-maintenance@heroku-cli/plugin-data-privatelink@heroku-cli/plugin-enterprise@heroku-cli/plugin-events@heroku-cli/plugin-free@heroku-cli/plugin-generator@heroku-cli/plugin-git@heroku/functions-core@hyperoslo/heroku-billing@dxcli/not-found@dxcli/plugins@salesforce/plugin-evergreen@salesforce/plugin-evergreen-build@salesforce/plugin-functions@salesforce/evergreen-baseplugin-buildpack-registryinference-activityheroku-api-pluginheroku-cli-buildpacksheroku-cli-utilheroku-cronherokuheroku-plugin-psqlheroku-cli-plugin-generatorheroku-clihbeltheroku-usage-plugin
2.0.3

1 year ago

2.0.2

1 year ago

2.0.4

11 months ago

2.0.1

1 year ago

2.0.0

1 year ago

1.1.16

3 years ago

1.1.15

3 years ago

1.1.14

7 years ago

1.1.13

7 years ago

1.1.12

7 years ago

1.1.11

7 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

8 years ago

1.0.3

8 years ago